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