Method Rotate
Rotate(quaternion)
Rotates this Transform by the specified quaternion.
Declaration
public LocalTransform Rotate(quaternion rotation)
Parameters
| Type | Name | Description | 
|---|---|---|
| quaternion | rotation | The rotation quaternion of unit length.  | 
    
Returns
| Type | Description | 
|---|---|
| Local | 
      A new, rotated Transform.  | 
    
Remarks
Note that this doesn't modify the original transform. Rather it returns a new one.