Table of Contents

Method GetWorldPointsNonAlloc

Namespace
Pinwheel.Beam
Assembly
Pinwheel.Beam.Runtime.dll

GetWorldPointsNonAlloc(Vector3[], Matrix4x4)

Get the 8 corners of a volume in world space

public static void GetWorldPointsNonAlloc(Vector3[] pointsWS, Matrix4x4 localToWorldMatrix)

Parameters

pointsWS Vector3[]

Pre-allocated array storing 8 points

localToWorldMatrix Matrix4x4

The volume's transfromation matrix