ColorStateAnimatableProperty Class

Definition

The Color animatable property adds/sets keyframes for the "material._Color" property in an animation clip.

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

Constructors

ColorStateAnimatableProperty()

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

Sets the last keyframe of the "material._Color" property to this Color in the animation clip for a state. The color to transition to.

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

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