AxisDirectionUtil extension
Extension on AxisDirection that provides various directional utilities.
Properties
- axis → Axis
-
Available on AxisDirection, provided by the AxisDirectionUtil extension
Gets the vertical or horizontal Axis of this direction.no setter - ccw → AxisDirection
-
Available on AxisDirection, provided by the AxisDirectionUtil extension
Gets the direction counter-clockwise to this one.no setter - crossAxis → Axis
-
Available on AxisDirection, provided by the AxisDirectionUtil extension
Gets the vertical or horizontal cross Axis of this direction.no setter - cw → AxisDirection
-
Available on AxisDirection, provided by the AxisDirectionUtil extension
Gets the direction clockwise to this one.no setter - isForward → bool
-
Available on AxisDirection, provided by the AxisDirectionUtil extension
Whether this direction is the forward direction of axis.no setter - isReverse → bool
-
Available on AxisDirection, provided by the AxisDirectionUtil extension
Whether this direction is opposite of the forward direction of axis.no setter - reversed → AxisDirection
-
Available on AxisDirection, provided by the AxisDirectionUtil extension
Gets the reverse of this direction.no setter
Operators
-
operator +(
AxisDirection direction) → AxisDirection -
Available on AxisDirection, provided by the AxisDirectionUtil extension
Rotates this direction, where AxisDirection.up is the origin. -
operator -(
AxisDirection direction) → AxisDirection -
Available on AxisDirection, provided by the AxisDirectionUtil extension
Counter rotates this direction, where AxisDirection.up is the origin.