<Code Lib>
2025 Method
Changes 1
M

Mesh.GetNormal

Description:
Returns a normal unit vector at the given index.

public XYZ GetNormal(
	int idx
)

  • idx
    A zero-based index. It must be consistent with the DistributionOfNormals.
Return Value XYZ XYZ value representing a normal unit vector.

  • The given value is not a valid index of a normal of the mesh. A valid value is not negative and is smaller than the number of normals in the mesh.

Loading…