BoundsExtensions.GetCornerPositionsFromRendererBounds 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.
Gets all the corner points from a UnityEngine.Bounds structure.
public static void GetCornerPositionsFromRendererBounds(this UnityEngine.Bounds bounds, ref UnityEngine.Vector3[] positions);
static member GetCornerPositionsFromRendererBounds : UnityEngine.Bounds * Vector3[] -> unit
<Extension()>
Public Sub GetCornerPositionsFromRendererBounds (bounds As Bounds, ByRef positions As Vector3())
Parameters
- bounds
- UnityEngine.Bounds
- positions
- UnityEngine.Vector3[]
Remarks
Use LBF, LBB, LTF, LTB, RBF, RBB, RTF, and RTB values to index into the resulting array.