MSFBillboardOrientation
Objective-C
enum MSFBillboardOrientation : NSInteger {}
Swift
enum MSFBillboardOrientation : Int, @unchecked Sendable
Possible orientation modes for billboards.
-
Billboard always faces the camera plane, regardless of rotation.
Declaration
Objective-C
MSF_BILLBOARD_ORIENTATION_FACE_CAMERASwift
case BILLBOARD_ORIENTATION_FACE_CAMERA = 0 -
Billboard lies parallel to the ground and rotates around it’s anchor point to face the camera. SetRotation can be used to offset the final angle of the billboard.
Declaration
Objective-C
MSF_BILLBOARD_ORIENTATION_FACE_CAMERA_GROUNDSwift
case BILLBOARD_ORIENTATION_FACE_CAMERA_GROUND = 1 -
Billboard lies on the ground, orientation does not depend on the camera position.
Declaration
Objective-C
MSF_BILLBOARD_ORIENTATION_GROUNDSwift
case BILLBOARD_ORIENTATION_GROUND = 2