Description :
This instruction creates a billboard primitive.
Parameters :
-
Size of the side of the billboard.
-
BILLBOARD_SCREENALIGN The billboard will always be perpendicular to the viewing direction.
BILLBOARD_XAXISALIGN The billboard will stay aligned with the screen, but with an axis of constraint (X).
BILLBOARD_YAXISALIGN The billboard will stay aligned with the screen, but with an axis of constraint (Y).
BILLBOARD_ZAXISALIGN The billboard will stay aligned with the screen, but with an axis of constraint (Z).
Return Handle :
-
ObjectID of the mesh if the creation was successful, NULL otherwise.
Notes :
A billboard is made of two triangles that will "try their best" to stay aligned with the camera.
Examples :
|