BoundsExtensions.GetCornerAndMidPointPositions 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 and mid points from a UnityEngine.Bounds structure.
public static void GetCornerAndMidPointPositions(this UnityEngine.Bounds bounds, UnityEngine.Transform transform, ref UnityEngine.Vector3[] positions);
static member GetCornerAndMidPointPositions : UnityEngine.Bounds * UnityEngine.Transform * Vector3[] -> unit
<Extension()>
Public Sub GetCornerAndMidPointPositions (bounds As Bounds, transform As Transform, ByRef positions As Vector3())
Parameters
- bounds
- UnityEngine.Bounds
- transform
- UnityEngine.Transform
- positions
- UnityEngine.Vector3[]
Remarks
Use LBF, LBB, LTF, LTB, RBF, RBB, RTF, RTB, LTF_RTF, LBF_RBF, RTB_LTB, RBB_LBB, LTF_LBF, RTB_RBB, LTB_LBB, RTF_RBF, RBF_RBB, RTF_RTB, LBF_LBB, LTF_LTB values to index into the resulting array.