| TransformObjectViaWorldSpace_ExampleRotationAxis Enumeration |
The rotation axis to be used when rotating our object. All of these values are generated by their respective positions in m_RotateToAmount and m_AdditiveRotateAmount
The custom option uses all 4 (x, y, z and w) to create the rotation axis
Namespace:
SimpleDemos
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax Public Enumeration RotationAxis
public enum class RotationAxis
Members
| Member name | Value | Description |
---|
| x | 0 | The x axis |
| y | 1 | The y axis |
| z | 2 | The z axis |
| custom | 3 | Use all 4 values of our quaternion to create our rotation axis |
See Also