Method GetWorldPointsNonAlloc
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
Matrix4x4The volume's transfromation matrix