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