AnimatorParameter Constructor
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.
Constructor.
public AnimatorParameter (string name, UnityEngine.AnimatorControllerParameterType parameterType, int defaultInt = 0, float defaultFloat = 0, bool defaultBool = false);
new Microsoft.MixedReality.Toolkit.Utilities.AnimatorParameter : string * UnityEngine.AnimatorControllerParameterType * int * single * bool -> Microsoft.MixedReality.Toolkit.Utilities.AnimatorParameter
Public Sub New (name As String, parameterType As AnimatorControllerParameterType, Optional defaultInt As Integer = 0, Optional defaultFloat As Single = 0, Optional defaultBool As Boolean = false)
Parameters
- name
- String
Name of the animation parameter to modify.
- parameterType
- UnityEngine.AnimatorControllerParameterType
Type of the animation parameter to modify.
- defaultInt
- Int32
If the animation parameter type is an int, value to set. Ignored otherwise.
- defaultFloat
- Single
If the animation parameter type is a float, value to set. Ignored otherwise.
- defaultBool
- Boolean
"If the animation parameter type is a bool, value to set. Ignored otherwise.