StateVisualizer.AddAnimatableProperty Method

Definition

Add an animatable property to an animation target in a state container.

public:
 Microsoft::MixedReality::Toolkit::Experimental::StateVisualizer::StateAnimatableProperty ^ AddAnimatableProperty(System::String ^ stateName, int animationTargetIndex, Microsoft::MixedReality::Toolkit::Experimental::StateVisualizer::AnimatableProperty animatableProperty);
public Microsoft.MixedReality.Toolkit.Experimental.StateVisualizer.StateAnimatableProperty AddAnimatableProperty (string stateName, int animationTargetIndex, Microsoft.MixedReality.Toolkit.Experimental.StateVisualizer.AnimatableProperty animatableProperty);
member this.AddAnimatableProperty : string * int * Microsoft.MixedReality.Toolkit.Experimental.StateVisualizer.AnimatableProperty -> Microsoft.MixedReality.Toolkit.Experimental.StateVisualizer.StateAnimatableProperty
Public Function AddAnimatableProperty (stateName As String, animationTargetIndex As Integer, animatableProperty As AnimatableProperty) As StateAnimatableProperty

Parameters

stateName
String

The name of the state container

animationTargetIndex
Int32

The index of the animation target in the StateContainer's AnimationTarget list

animatableProperty
AnimatableProperty

The name of the AnimatableProperty to add

Returns

StateAnimatableProperty

The new animatable property added

Applies to