Summary
A wrapper for the name and hash of an
UnityEngine.AnimatorControllerParameter
.- Assembly
- Animancer
.dll - Namespace
- Animancer
- Base Types
-
- ValueType
graph BT
Type-->Base0["ValueType"]
Type["ControllerState.ParameterID"]
class Type type-node
Syntax
public readonly struct ControllerState.ParameterID : ValueType
Constructors
Name | Summary |
---|---|
ParameterID |
Creates a new Animancer.ControllerState.ParameterID with the specified Animancer.ControllerState.ParameterID.Hash and leaves the
Animancer.ControllerState.ParameterID.Name null.
|
ParameterID |
Creates a new Animancer.ControllerState.ParameterID with the specified Animancer.ControllerState.ParameterID.Name and uses
UnityEngine.Animator.StringToHash(System.String) to calculate the Animancer.ControllerState.ParameterID.Hash .
|
ParameterID |
Creates a new Animancer.ControllerState.ParameterID with the specified Animancer.ControllerState.ParameterID.Name and Animancer.ControllerState.ParameterID.Hash . |
Fields
Methods
Name | Value | Summary |
---|---|---|
ToString |
string |
Returns a string containing the
Animancer.ControllerState.ParameterID.Name and Animancer.ControllerState.ParameterID.Hash . |
ValidateHasParameter |
void |
[Editor-Conditional]
Throws if the `controller` doesn't have a parameter with the specified
Animancer.ControllerState.ParameterID.Hash
and `type`.
|
Operators
Name | Value | Summary |
---|---|---|
implicit operator |
ControllerState |
|
implicit operator |
ControllerState |
|
implicit operator int |
int |