편집

다음을 통해 공유


BoundingBoxHelper.GetFaceNormal(Int32) Method

Definition

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

Applies to