Class GenericEditor.ItemInfo
Describes object property/field information for custom editors pipeline.
Inheritance
Implements
Namespace: FlaxEditor.CustomEditors.Editors
Assembly: FlaxEngine.CSharp.dll
Syntax
public class ItemInfo : Object, IComparable
Constructors
ItemInfo(ScriptMemberInfo)
Initializes a new instance of the GenericEditor.ItemInfo class.
Declaration
public ItemInfo(ScriptMemberInfo info)
Parameters
FlaxEditor.Scripting.ScriptMemberInfo
info
The reflection information. |
ItemInfo(ScriptMemberInfo, Object[])
Initializes a new instance of the GenericEditor.ItemInfo class.
Declaration
public ItemInfo(ScriptMemberInfo info, object[] attributes)
Parameters
FlaxEditor.Scripting.ScriptMemberInfo
info
The reflection information. |
System.Object[]
attributes
The attributes. |
Fields
CustomEditor
The custom editor attribute.
Declaration
public CustomEditorAttribute CustomEditor
Field Value
CustomEditorAttribute
|
CustomEditorAlias
The custom editor alias attribute.
Declaration
public CustomEditorAliasAttribute CustomEditorAlias
Field Value
CustomEditorAliasAttribute
|
Display
The display attribute.
Declaration
public EditorDisplayAttribute Display
Field Value
EditorDisplayAttribute
|
ExpandGroups
The expand groups flag.
Declaration
public bool ExpandGroups
Field Value
System.Boolean
|
Header
Info
The member information from reflection.
Declaration
public ScriptMemberInfo Info
Field Value
FlaxEditor.Scripting.ScriptMemberInfo
|
IsReadOnly
The read-only attribute usage flag.
Declaration
public bool IsReadOnly
Field Value
System.Boolean
|
Order
Space
TooltipText
Gets the tooltip text (may be null if not provided).
Declaration
public string TooltipText
Field Value
System.String
|
VisibleIfs
The visible if attributes.
Declaration
public VisibleIfAttribute[] VisibleIfs
Field Value
VisibleIfAttribute[]
|
Properties
DisplayName
Gets the display name.
Declaration
public string DisplayName { get; }
Property Value
System.String
|
OverrideEditor
Gets the overridden custom editor for item editing.
Declaration
public CustomEditor OverrideEditor { get; }
Property Value
FlaxEditor.CustomEditors.CustomEditor
|
Methods
CanMerge(GenericEditor.ItemInfo, GenericEditor.ItemInfo)
Determines whether can merge two item infos to present them at once.
Declaration
public static bool CanMerge(GenericEditor.ItemInfo a, GenericEditor.ItemInfo b)
Parameters
GenericEditor.ItemInfo
a
The a. |
GenericEditor.ItemInfo
b
The b. |
Returns
System.Boolean
|
CompareTo(Object)
Declaration
public int CompareTo(object obj)
Parameters
System.Object
obj
|
Returns
System.Int32
|
GetValues(ValueContainer)
Gets the values.
Declaration
public ValueContainer GetValues(ValueContainer instanceValues)
Parameters
FlaxEditor.CustomEditors.ValueContainer
instanceValues
The instance values. |
Returns
FlaxEditor.CustomEditors.ValueContainer
The values container. |
ToString()
Declaration
public override string ToString()
Returns
System.String
|