Method WithRotation
WithRotation(quaternion)
Gets an identical transform with a new rotation value.
Declaration
public LocalTransform WithRotation(quaternion rotation)
Parameters
| Type | Name | Description |
|---|---|---|
| quaternion | rotation | The rotation. |
Returns
| Type | Description |
|---|---|
| LocalTransform | The transform. |