ShaderFloatStateAnimatableProperty Class
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.
The ShaderFloat animatable property adds/sets keyframes for a defined shader property of type Float in an animation clip.
public ref class ShaderFloatStateAnimatableProperty : Microsoft::MixedReality::Toolkit::Experimental::StateVisualizer::ShaderStateAnimatableProperty
public class ShaderFloatStateAnimatableProperty : Microsoft.MixedReality.Toolkit.Experimental.StateVisualizer.ShaderStateAnimatableProperty
type ShaderFloatStateAnimatableProperty = class
inherit ShaderStateAnimatableProperty
Public Class ShaderFloatStateAnimatableProperty
Inherits ShaderStateAnimatableProperty
- Inheritance
Constructors
| ShaderFloatStateAnimatableProperty() |
Constructor for a Shader Float 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) |
| ShaderPropertyFloatValue |
The float value for the defined shader property. |
| 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. |