BoundingBoxHelper.GetUntransformedCornersFromObject Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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