Editar

Partilhar via


BoundingBoxHelper.GetFaceEdgeMidpoints(Int32) Method

Definition

This function returns the midpoints of each of the edges of the face of the bounding box

public:
 cli::array <UnityEngine::Vector3> ^ GetFaceEdgeMidpoints(int index);
public UnityEngine.Vector3[] GetFaceEdgeMidpoints (int index);
member this.GetFaceEdgeMidpoints : int -> UnityEngine.Vector3[]
Public Function GetFaceEdgeMidpoints (index As Integer) As Vector3()

Parameters

index
Int32

the index of the face of the bounding cube- 0-5

Returns

UnityEngine.Vector3[]

four Vector3 points

Applies to