BoundingBoxHelper.GetFaceBottomCentroid(Int32) Method

Definition

Get the center of the bottom edge of a face of the bounding box determined by index

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

Parameters

index
Int32

parameter indicating which face is used. 0-5

Returns

UnityEngine.Vector3

a vector representing the bottom most edge center of the face

Applies to