ShaderColorStateAnimatableProperty Class

Definition

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

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

Constructors

ShaderColorStateAnimatableProperty()

Constructor for a Shader Color 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)
ShaderPropertyColorValue

The color value of the given shader property. This color value refers to a shader property of type Color and not the main color of the material.

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)
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