QuaternionRotationSlerp
A class in Root.Township, the global namespace.
Component that sets its local rotation between two set rotations from a 0 to 1 progress value. Despite the name it uses Quaternion.Lerp.
- Listed in Global namespace: Q to R
- Inherits or implements
MonoBehaviour
Constructors
| Member | What it is |
|---|---|
QuaternionRotationSlerp() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
Methods
| Member | What it is |
|---|---|
void SetRotation(float progress) | Sets the local rotation part way from positionA to positionB by progress. |
Used in
Members of other types that take, return or hold a QuaternionRotationSlerp: