Summary
[Editor-Only] A
Animancer.Editor.PropertyAccessor
for a specific element index in a collection.- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Base Types
-
- Object
- PropertyAccessor
graph BT
Type-->Base0["PropertyAccessor"]
click Base0 "/animancer/api/Animancer.Editor/PropertyAccessor"
Base0-->Base1["Object"]
Type["CollectionPropertyAccessor"]
class Type type-node
Syntax
public class CollectionPropertyAccessor : PropertyAccessor
Fields
Name | Constant Value | Summary |
---|---|---|
ElementIndex |
The index of the array element this accessor targets.
|
|
Field |
The field wrapped by this accessor.
Inherited from PropertyAccessor
|
|
FieldElementType |
The type of the wrapped
Animancer.Editor.PropertyAccessor.Field .
Or if it's a collection, this is the type of items in the collection.
Inherited from PropertyAccessor
|
|
IsDynamic |
Does the
Animancer.Editor.PropertyAccessor.Field in this accessor or any Animancer.Editor.PropertyAccessor.Parent have a
UnityEngine.SerializeReference attribute?
Inherited from PropertyAccessor
|
|
Name |
The name of the field wrapped by this accessor.
Inherited from PropertyAccessor
|
|
Parent |
The accessor for the field which this accessor is nested inside.
Inherited from PropertyAccessor
|
Methods
Name | Value | Summary |
---|---|---|
GetCollection |
Object |
Returns the collection object targeted by this accessor.
|
GetCollectionPath |
string |
Returns the
UnityEditor.SerializedProperty.propertyPath of the array containing the target. |
GetElementType |
Type |
Returns the type of elements in the array.
static
|
GetField |
FieldInfo |
Returns the
Animancer.Editor.PropertyAccessor.Field if there is one or tries to get it from the object's type.Inherited from PropertyAccessor
|
GetField |
FieldInfo |
Returns the
Animancer.Editor.PropertyAccessor.Field if there is one, otherwise calls Animancer.Editor.PropertyAccessor.GetField(System.Object@) .
Inherited from PropertyAccessor
|
GetField |
FieldInfo |
Calls
Animancer.Editor.PropertyAccessor.GetField(System.Object) with the UnityEditor.SerializedObject.targetObject .
Inherited from PropertyAccessor
|
GetField |
FieldInfo |
Calls
Animancer.Editor.PropertyAccessor.GetField(UnityEditor.SerializedObject) with the
UnityEditor.SerializedProperty.serializedObject .
Inherited from PropertyAccessor
|
GetFieldElementType |
Type |
Returns the
Animancer.Editor.PropertyAccessor.FieldElementType if there is one, otherwise calls Animancer.Editor.PropertyAccessor.GetField(System.Object@)
and returns its System.Reflection.FieldInfo.FieldType .
|
GetFieldElementType |
Type |
Calls
Animancer.Editor.PropertyAccessor.GetFieldElementType(System.Object) with the
UnityEditor.SerializedObject.targetObject .
Inherited from PropertyAccessor
|
GetFieldElementType |
Type |
Calls
Animancer.Editor.PropertyAccessor.GetFieldElementType(UnityEditor.SerializedObject) with the
UnityEditor.SerializedProperty.serializedObject .
Inherited from PropertyAccessor
|
GetPath |
string |
Returns this accessor's
UnityEditor.SerializedProperty.propertyPath . |
GetValue |
Object |
Gets the value of the from the
Animancer.Editor.PropertyAccessor.Parent (if there is one), then uses it to get and return
the value of the Animancer.Editor.PropertyAccessor.Field .
|
GetValue |
Object |
Gets the value of the from the
Animancer.Editor.PropertyAccessor.Parent (if there is one), then uses it to get and return
the value of the Animancer.Editor.PropertyAccessor.Field .
Inherited from PropertyAccessor
|
GetValue |
Object |
Gets the value of the from the
Animancer.Editor.PropertyAccessor.Parent (if there is one), then uses it to get and return
the value of the Animancer.Editor.PropertyAccessor.Field .
Inherited from PropertyAccessor
|
ResetValue |
void |
Resets the value of the
UnityEditor.SerializedProperty to the default value of its type by executing
its constructor and field initializers.
Inherited from PropertyAccessor
|
SetCollection |
void |
Sets the collection object targeted by this accessor.
|
SetValue |
void |
Gets the value of the from the
Animancer.Editor.PropertyAccessor.Parent (if there is one), then uses it to set the value
of the Animancer.Editor.PropertyAccessor.Field .
|
SetValue |
void |
Gets the value of the from the
Animancer.Editor.PropertyAccessor.Parent (if there is one), then uses it to set the value
of the Animancer.Editor.PropertyAccessor.Field .
Inherited from PropertyAccessor
|
SetValue |
void |
Gets the value of the from the
Animancer.Editor.PropertyAccessor.Parent (if there is one), then uses it to set the value
of the Animancer.Editor.PropertyAccessor.Field .
Inherited from PropertyAccessor
|
ToString |
string |
Returns a description of this accessor's path.
|