BoundingBoxHelper.GetFaceBottomCentroid(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.
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