| GeometryHelperExtractPlanes Method (Matrix44F, IListPlane, Boolean) |
Extracts the viewing frustum planes of a world-view-projection matrix.
Namespace: DigitalRune.GeometryAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public static void ExtractPlanes(
Matrix44F projection,
IList<Plane> planes,
bool normalize
)
Public Shared Sub ExtractPlanes (
projection As Matrix44F,
planes As IList(Of Plane),
normalize As Boolean
)
public:
static void ExtractPlanes(
Matrix44F projection,
IList<Plane>^ planes,
bool normalize
)
static member ExtractPlanes :
projection : Matrix44F *
planes : IList<Plane> *
normalize : bool -> unit
Parameters
- projection
- Type: DigitalRune.Mathematics.AlgebraMatrix44F
The world-view-projection matrix (DirectX standard). - planes
- Type: System.Collections.GenericIListPlane
IN: An empty list of planes.
OUT: The planes that define the frustum in the order: near, far, left, right, bottom, top.
The plane normals are pointing outwards.
- normalize
- Type: SystemBoolean
if the planes should be normalized; otherwise
.
Exceptions See Also