Interface IAnimatableProperty<T>
Interface for animatable property handles used to read and write values in the AnimationStream.
Namespace: UnityEngine.Animations.Rigging
Syntax
public interface IAnimatableProperty<T>
Type Parameters
Name | Description |
---|---|
T | The animatable value type |
Methods
Get(AnimationStream)
Gets the property value from a stream.
Declaration
T Get(AnimationStream stream)
Parameters
Type | Name | Description |
---|---|---|
AnimationStream | stream | The AnimationStream that holds the animated values. |
Returns
Type | Description |
---|---|
T | The property value. |
Set(AnimationStream, T)
Sets the property value into a stream.
Declaration
void Set(AnimationStream stream, T value)
Parameters
Type | Name | Description |
---|---|---|
AnimationStream | stream | The AnimationStream that holds the animated values. |
T | value | The new property value. |