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