ShaderVectorStateAnimatableProperty Class

Definition

The ShaderVector animatable property adds/sets keyframes for a defined shader property of type Vector4 in an animation clip.

public ref class ShaderVectorStateAnimatableProperty : Microsoft::MixedReality::Toolkit::Experimental::StateVisualizer::ShaderStateAnimatableProperty
public class ShaderVectorStateAnimatableProperty : Microsoft.MixedReality.Toolkit.Experimental.StateVisualizer.ShaderStateAnimatableProperty
type ShaderVectorStateAnimatableProperty = class
    inherit ShaderStateAnimatableProperty
Public Class ShaderVectorStateAnimatableProperty
Inherits ShaderStateAnimatableProperty
Inheritance
ShaderVectorStateAnimatableProperty

Constructors

ShaderVectorStateAnimatableProperty()

Constructor for a Shader Vector Animatable Property. Sets the default AnimatablePropertyName.

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.

(Inherited from ShaderStateAnimatableProperty)
ShaderPropertyVectorValue

The Vector4 value for the defined shader property.

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) (Inherited from ShaderStateAnimatableProperty)
GetTargetPath(GameObject) (Inherited from StateAnimatableProperty)
RemoveKeyFrames(AnimationClip)

Removes the keyframes in an animation clip.

SetKeyFrames(AnimationClip)

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

Applies to