BoundingBoxHelper.GetFaceNormal(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 normal of the face of the bounding cube specified by index
public:
UnityEngine::Vector3 GetFaceNormal(int index);
public UnityEngine.Vector3 GetFaceNormal (int index);
member this.GetFaceNormal : int -> UnityEngine.Vector3
Public Function GetFaceNormal (index As Integer) As Vector3
Parameters
- index
- Int32
the index of the face of the bounding cube 0-5
Returns
UnityEngine.Vector3
a vector3 representing the face normal