StateVisualizer.AddAnimatableProperty Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The new animatable property added