BoundingBoxHelper.GetFaceCorners(Int32) Method

Definition

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

Applies to