Class ListValueContainer
Custom FlaxEditor.CustomEditors.ValueContainer for System.Collections.IList (used for System.Array and System.Collections.Generic.List<>.
Inheritance
System.Object
FlaxEditor.CustomEditors.ValueContainer
ListValueContainer
Namespace: FlaxEditor.CustomEditors
Assembly: FlaxEngine.CSharp.dll
Syntax
public class ListValueContainer : ValueContainer
Constructors
ListValueContainer(ScriptType, Int32)
Initializes a new instance of the ListValueContainer class.
Declaration
public ListValueContainer(ScriptType elementType, int index)
Parameters
FlaxEditor.Scripting.ScriptType
elementType
Type of the collection elements. |
System.Int32
index
The index. |
ListValueContainer(ScriptType, Int32, ValueContainer, Object[])
Initializes a new instance of the ListValueContainer class.
Declaration
public ListValueContainer(ScriptType elementType, int index, ValueContainer values, object[] attributes = null)
Parameters
FlaxEditor.Scripting.ScriptType
elementType
Type of the collection elements. |
System.Int32
index
The index. |
FlaxEditor.CustomEditors.ValueContainer
values
The collection values. |
System.Object[]
attributes
The collection property attributes to inherit. |
Fields
Index
The index in the collection.
Declaration
public readonly int Index
Field Value
System.Int32
|
Methods
GetAttributes()
Declaration
public override object[] GetAttributes()
Returns
System.Object[]
|
Overrides
FlaxEditor.CustomEditors.ValueContainer.GetAttributes()
Refresh(ValueContainer)
Declaration
public override void Refresh(ValueContainer instanceValues)
Parameters
FlaxEditor.CustomEditors.ValueContainer
instanceValues
|
Overrides
FlaxEditor.CustomEditors.ValueContainer.Refresh(FlaxEditor.CustomEditors.ValueContainer)
RefreshReferenceValue(Object)
Declaration
public override void RefreshReferenceValue(object instanceValue)
Parameters
System.Object
instanceValue
|
Overrides
FlaxEditor.CustomEditors.ValueContainer.RefreshReferenceValue(System.Object)
Set(ValueContainer)
Declaration
public override void Set(ValueContainer instanceValues)
Parameters
FlaxEditor.CustomEditors.ValueContainer
instanceValues
|
Overrides
FlaxEditor.CustomEditors.ValueContainer.Set(FlaxEditor.CustomEditors.ValueContainer)
Set(ValueContainer, ValueContainer)
Declaration
public override void Set(ValueContainer instanceValues, ValueContainer values)
Parameters
FlaxEditor.CustomEditors.ValueContainer
instanceValues
|
FlaxEditor.CustomEditors.ValueContainer
values
|
Overrides
FlaxEditor.CustomEditors.ValueContainer.Set(FlaxEditor.CustomEditors.ValueContainer, FlaxEditor.CustomEditors.ValueContainer)
Set(ValueContainer, Object)
Declaration
public override void Set(ValueContainer instanceValues, object value)
Parameters
FlaxEditor.CustomEditors.ValueContainer
instanceValues
|
System.Object
value
|
Overrides
FlaxEditor.CustomEditors.ValueContainer.Set(FlaxEditor.CustomEditors.ValueContainer, System.Object)
Extension Methods
See Also
FlaxEditor.CustomEditors.ValueContainer