Struct ToPlaneMatrix

Public

A matrix wrapper which can be used to project points from world space to a movement plane.

In contrast to NativeMovementPlane, this is represented by a matrix instead of a quaternion. This means it is less space efficient (36 bytes instead of 16 bytes) but it is more performant when you need to do a lot of ToPlane conversions.

Public Methods

ToPlane (p)

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

Public
ToPlane (p, elevation)

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

Public
ToPlaneMatrix (plane)
Public
ToXZPlane (p)

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

Public

Public Variables

matrix
Public Readonly