ShaderStateAnimatableProperty Class

Definition

Base class for animatable shader properties.

C++
public ref class ShaderStateAnimatableProperty : Microsoft::MixedReality::Toolkit::Experimental::StateVisualizer::StateAnimatableProperty
Inheritance
ShaderStateAnimatableProperty
Derived

Constructors

Properties

AnimatablePropertyName

The name of state animatable property.

(Inherited from StateAnimatableProperty)
AnimationDuration

The duration of the animation in seconds.

(Inherited from StateAnimatableProperty)
ShaderPropertyName

The name of the shader property to animate. NOTE: Check capitalization if the keyframes in the animation clip have not been set. This name checks for an underscore character at the start and end of the name, but the underscore character might be required for shader property names with more than one word.

StateName

The name of the interaction state associated with this state animatable property.

(Inherited from StateAnimatableProperty)
Target

The target game object to animate.

(Inherited from StateAnimatableProperty)

Methods

GetPropertyName(String)
GetTargetPath(GameObject) (Inherited from StateAnimatableProperty)
RemoveKeyFrames(AnimationClip)

Removes the keyframes in an animation clip.

(Inherited from StateAnimatableProperty)
SetKeyFrames(AnimationClip)

Sets the keyframes in an animation clip based on the values of the animatable properties.

(Inherited from StateAnimatableProperty)

Applies to

Produkt Wersje
MRTK2 Unity 2019 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.6.0, 2.7.0, 2.8.0