Struct SimpleMovementPlane Extends IMovementPlane

Public

Represents the orientation of a plane.

When a character walks around in the world, it may not necessarily walk on the XZ-plane. It may be the case that the character is on a spherical world, or maybe it walks on a wall or upside down on the ceiling.

A movement plane is used to handle this. It contains functions for converting a 3D point into a 2D point on that plane, and functions for converting back to 3D.

Public Methods

Equals (other)
Public
GetHashCode ()
Public
SimpleMovementPlane (rotation)
Public
ToPlane (point)

Transforms from world space to the 'ground' plane of the graph.

Public
ToPlane (point)

Transforms from world space to the 'ground' plane of the graph.

Public
ToPlane (point, elevation)

Transforms from world space to the 'ground' plane of the graph.

Public
ToPlane (point, elevation)

Transforms from world space to the 'ground' plane of the graph.

Public
ToSimpleMovementPlane ()
Public
ToWorld (point, elevation=0)

Transforms from the 'ground' plane of the graph to world space.

Public
ToWorld (point, elevation=0)

Transforms from the 'ground' plane of the graph to world space.

Public

Public Static Methods

operator!= (lhs, rhs)
Public Static
operator== (lhs, rhs)
Public Static

Public Variables

inverseRotation
Public Readonly
isXY
Public
isXZ
Public
plane
Public Readonly
rotation
Public Readonly

Public Static Variables

XYPlane

A plane that spans the X and Y axes.

Public Static Readonly
XZPlane

A plane that spans the X and Z axes.

Public Static Readonly