MeshOrientation
Functions
MeshOrientation |
|
MeshOrientation |
|
| bool | IsSet |
Detailed Description
-
class
MeshOrientation Defines the facing (normal) and up vectors of a mesh instance, e.g. used to decide whether to rotate PMI text 180 degrees so it faces the camera.
Both vectors are expected to already be normalized, and are always in object (instance-local) coordinates.
A default-constructed MeshOrientation (normal == (0,0,0)) means “not set”.
Public Functions
-
inline
MeshOrientation()
-
inline bool
IsSet() const Determines if the MeshOrientation has been set to a real value.
Returns: true if the MeshOrientation has been set to a real value, false otherwise.
-
inline