Modifica

Condividi tramite


BoundingBoxHelper.GetFaceCentroid(Int32) Method

Definition

This function returns the centroid of a face of the bounding cube of an object specified by the index parameter;

public:
 UnityEngine::Vector3 GetFaceCentroid(int index);
public UnityEngine.Vector3 GetFaceCentroid (int index);
member this.GetFaceCentroid : int -> UnityEngine.Vector3
Public Function GetFaceCentroid (index As Integer) As Vector3

Parameters

index
Int32

an index into the list of faces of a boundingcube. 0-5

Returns

UnityEngine.Vector3

Applies to