BoundingBoxHelper.GetFaceCorners(Int32) 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.
This function returns the four corners of a face of a bounding cube specified by index.
public:
cli::array <UnityEngine::Vector3> ^ GetFaceCorners(int index);
public UnityEngine.Vector3[] GetFaceCorners (int index);
member this.GetFaceCorners : int -> UnityEngine.Vector3[]
Public Function GetFaceCorners (index As Integer) As Vector3()
Parameters
- index
- Int32
the index of the face of the bounding cube. 0-5
Returns
UnityEngine.Vector3[]
an array of 4 vectors