GetQuaternion
Gets the value of a quaternion parameter.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AnimationModule
GetQuaternion(string)
Gets the value of a quaternion parameter.
public Quaternion GetQuaternion(string name)
Parameters
The name of the parameter.
Returns
Type | Description |
|---|---|
| Quaternion |
GetQuaternion(int)
Gets the value of a quaternion parameter.
public Quaternion GetQuaternion(int id)
Parameters
The id of the parameter. The id is generated using Animator::StringToHash.
Returns
Type | Description |
|---|---|
| Quaternion |