Class ObjectReferencePropertyTrack
The timeline track for animating Object reference property via keyframes collection.
Inheritance
System.Object
FlaxEditor.GUI.Timeline.Track
ObjectReferencePropertyTrack
Inherited Members
Namespace: FlaxEditor.GUI.Timeline.Tracks
Assembly: FlaxEngine.CSharp.dll
Syntax
public sealed class ObjectReferencePropertyTrack : KeyframesPropertyTrack, IComparable, IDrawable, IKeyframesEditorContext
Constructors
ObjectReferencePropertyTrack(ref TrackCreateOptions)
Declaration
public ObjectReferencePropertyTrack(ref TrackCreateOptions options)
Parameters
FlaxEditor.GUI.Timeline.TrackCreateOptions
options
|
Methods
GetArchetype()
Gets the archetype.
Declaration
public static TrackArchetype GetArchetype()
Returns
FlaxEditor.GUI.Timeline.TrackArchetype
The archetype. |
GetDefaultValue(Type)
Gets the default value for the given property type.
Declaration
protected override object GetDefaultValue(Type propertyType)
Parameters
System.Type
propertyType
The type of the property. |
Returns
System.Object
The default value. |
Overrides
GetValueDataSize(Type)
Gets the size of the value data type.
Declaration
protected override int GetValueDataSize(Type type)
Parameters
System.Type
type
The type. |
Returns
System.Int32
The value data size (in bytes). |
Overrides
TryGetValue(out Object)
Tries the get current value from the assigned object property.
Declaration
protected override bool TryGetValue(out object value)
Parameters
System.Object
value
The result value. Valid only if methods returns true. |
Returns
System.Boolean
True if got value, otherwise false. |