BoundingBoxHelper.GetUntransformedCornersFromObject Method

Definition

static function that performs one-time non-persistent calculation of corner points of given bounds without taking world transform into account.

public:
 static void GetUntransformedCornersFromObject(UnityEngine::BoxCollider ^ targetBounds, System::Collections::Generic::List<UnityEngine::Vector3> ^ boundsPoints);
public static void GetUntransformedCornersFromObject (UnityEngine.BoxCollider targetBounds, System.Collections.Generic.List<UnityEngine.Vector3> boundsPoints);
static member GetUntransformedCornersFromObject : UnityEngine.BoxCollider * System.Collections.Generic.List<UnityEngine.Vector3> -> unit
Public Shared Sub GetUntransformedCornersFromObject (targetBounds As BoxCollider, boundsPoints As List(Of Vector3))

Parameters

targetBounds
UnityEngine.BoxCollider

the bounds the corner points are to be calculated from

boundsPoints
List<UnityEngine.Vector3>

the array of 8 corner points that will be filled

Applies to