StateVisualizer.GetAnimatableProperty<T>(String, Int32) 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.
Get an animatable property by type.
public:
generic <typename T>
where T : Microsoft::MixedReality::Toolkit::Experimental::StateVisualizer::StateAnimatableProperty T GetAnimatableProperty(System::String ^ stateName, int animationTargetIndex);
public T GetAnimatableProperty<T> (string stateName, int animationTargetIndex) where T : Microsoft.MixedReality.Toolkit.Experimental.StateVisualizer.StateAnimatableProperty;
member this.GetAnimatableProperty : string * int -> 'T (requires 'T :> Microsoft.MixedReality.Toolkit.Experimental.StateVisualizer.StateAnimatableProperty)
Public Function GetAnimatableProperty(Of T As StateAnimatableProperty) (stateName As String, animationTargetIndex As Integer) As T
Type Parameters
- T
A type that derives from StateAnimatableProperty
Parameters
- stateName
- String
The name of the state container
- animationTargetIndex
- Int32
The index of the animation target in the StateContainer's AnimationTarget list
Returns
- T
The animatable property with given type T