Interface ITransform
Represents the position and orientation of an object. This is a parallel class to UnityEngine.Transform. Implemented separately to abstract Ride classes away from UnityEngine specific implementations.
Namespace: Ride
Assembly: cs.temp.dll.dll
Syntax
public interface ITransform
Properties
Name | Description |
---|---|
eulerAngles | The world euler Angles of the object. |
forward | The forward direction of the object. |
localEulerAngles | The local euler angles of the object. |
localPosition | The local position of the object. |
localRotation | The local orientation of the object. |
position | The world position of the object. |
right | |
rotation | The world orientation of the object. |
Methods
Name | Description |
---|---|
LookAt(RideVector3) | Rotates the object to face the target. |
RotateAround(RideVector3, RideVector3, Single) | Rotates the transform about axis passing through point in world coordinates by angle degrees. This modifies both the position and the rotation of the transform. |