Vizard 7 » Command Index » Vizard objects » node3d » <node3d>.getBillboard
7.6

<node3d>.getBillboard

Returns billboard mode

<node3d>.getBillboard()  

Remarks

This command will return the billboard mode of the node.

Return Value

One of the following billboard modes:

Billboard mode

viz.OFF

Disable billboarding (default).

viz.BILLBOARD_VIEW

Node will rotate to align with current view direction.

viz.BILLBOARD_VIEW_POS

Node will rotate towards current view position.

viz.BILLBOARD_YAXIS_LOCAL

Node will rotate along local Y-axis towards current view position.

viz.BILLBOARD_YAXIS_GLOBAL

Node will rotate along global Y-axis towards current view position.

viz.BILLBOARD_XYAXIS_LOCAL

Node will rotate along local XY-axis towards current view position.

viz.BILLBOARD_XYAXIS_GLOBAL

Node will rotate along global XY-axis towards current view position.

viz.BILLBOARD_SCREEN_PIXELS

Node will be displayed as if rendered to the screen. It will be rendered orthographically and scale coordinates will be in pixels.

viz.BILLBOARD_SCREEN_WORLD

Node will be displayed as if rendered to the screen. It will be rendered orthographically and scale coordinates will be in world.

See also

<node3d>.billboard