BillBoard

Method Summary
 nilgetBillboardOrigin ()
 numbergetBillboardRotationType ()
 number, numbergetBillboardSize ()
 numbergetBillboardType ()
 nilgetDirection (number x, number y, number z)
 stringgetID ()
 stringgetMaterial ()
 Object, string, InterModel, boolean, stringgetMouseButtonClickedListener (number mousekey)
 Object, string, InterModel, boolean, stringgetMouseButtonClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 Object, string, InterModel, boolean, stringgetMouseButtonDoubleClickedListener (number mousekey)
 Object, string, InterModel, boolean, stringgetMouseButtonDoubleClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 Object, string, InterModel, boolean, stringgetMouseButtonPressedListener (number mousekey)
 Object, string, InterModel, boolean, stringgetMouseButtonPressedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 Object, string, InterModel, boolean, stringgetMouseButtonReleasedListener (number mousekey)
 Object, string, InterModel, boolean, stringgetMouseButtonReleasedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 Object, string, InterModel, boolean, stringgetMouseButtonTripleClickedListener (number mousekey)
 Object, string, InterModel, boolean, stringgetMouseButtonTripleClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 Object, string, InterModel, boolean, stringgetMouseEnteredListener ()
 Object, string, InterModel, boolean, stringgetMouseEnteredListener (boolean ctrl, boolean alt, boolean shift)
 Object, string, InterModel, boolean, stringgetMouseLeftListener ()
 Object, string, InterModel, boolean, stringgetMouseLeftListener (boolean ctrl, boolean alt, boolean shift)
 Object, string, InterModel, boolean, stringgetMouseMovedListener ()
 Object, string, InterModel, boolean, stringgetMouseMovedListener (boolean ctrl, boolean alt, boolean shift)
 Object, string, InterModel, boolean, stringgetMouseWheelMovedListener (number mousekey)
 Object, string, InterModel, boolean, stringgetMouseWheelMovedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 number, number, numbergetPosition ()
 numbergetType ()
 nilgetUpVector (number x, number y, number z)
 booleanhasMouseButtonClickedListener (number mousekey)
 booleanhasMouseButtonClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 booleanhasMouseButtonDoubleClickedListener (number mousekey)
 booleanhasMouseButtonDoubleClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 booleanhasMouseButtonPressedListener (number mousekey)
 booleanhasMouseButtonPressedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 booleanhasMouseButtonReleasedListener (number mousekey)
 booleanhasMouseButtonReleasedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 booleanhasMouseButtonTripleClickedListener (number mousekey)
 booleanhasMouseButtonTripleClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 booleanhasMouseEnteredListener ()
 booleanhasMouseEnteredListener (boolean ctrl, boolean alt, boolean shift)
 booleanhasMouseLeftListener ()
 booleanhasMouseLeftListener (boolean ctrl, boolean alt, boolean shift)
 booleanhasMouseMovedListener ()
 booleanhasMouseMovedListener (boolean ctrl, boolean alt, boolean shift)
 booleanhasMouseWheelMovedListener (number mousekey)
 booleanhasMouseWheelMovedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 booleanisAccurateFacing ()
 booleanisCullEach ()
 booleanisPersistent ()
 booleanisSorted ()
 nilprint ()
 nilremoveMouseButtonClickedListener (number mousekey)
 nilremoveMouseButtonClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 nilremoveMouseButtonDoubleClickedListener (number mousekey)
 nilremoveMouseButtonDoubleClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 nilremoveMouseButtonPressedListener (number mousekey)
 nilremoveMouseButtonPressedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 nilremoveMouseButtonReleasedListener (number mousekey)
 nilremoveMouseButtonReleasedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 nilremoveMouseButtonTripleClickedListener (number mousekey)
 nilremoveMouseButtonTripleClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 nilremoveMouseEnteredListener ()
 nilremoveMouseEnteredListener (boolean ctrl, boolean alt, boolean shift)
 nilremoveMouseLeftListener ()
 nilremoveMouseLeftListener (boolean ctrl, boolean alt, boolean shift)
 nilremoveMouseMovedListener ()
 nilremoveMouseMovedListener (boolean ctrl, boolean alt, boolean shift)
 nilremoveMouseWheelMovedListener (number mousekey)
 nilremoveMouseWheelMovedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 nilsetAccurateFacing (boolean facing)
 nilsetBillboardOrigin (number vPosition, number hPosition)
 nilsetBillboardRotationType (number rotationType)
 nilsetBillboardsCustom (array{} billboards)
 nilsetBillboardsCustomOnSurface (array{} billboards)
 nilsetBillboardSize (number w, number h)
 nilsetBillboardsRandom (number seed, number count, number x, number y, number z)
 nilsetBillboardsRandomOnSurfaceImage (number seed, number count, number x, number z, MediaItem image)
 nilsetBillboardsRandomOnSurfacePosition (number seed, number count, number x, number z)
 nilsetBillboardType (number type)
 nilsetCullEach (boolean cullEach)
 nilsetDirection (number x, number y, number z)
 nilsetMaterial (string material)
 nilsetMouseButtonDoubleClickedListener (number mousekey, Object target, string name, InterModel interactionModel)
 nilsetMouseButtonDoubleClickedListener (number mousekey, Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
 nilsetMouseButtonPressedListener (number mousekey, Object target, string name, InterModel interactionModel)
 nilsetMouseButtonPressedListener (number mousekey, Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
 nilsetMouseButtonReleasedListener (number mousekey, Object target, string name, InterModel interactionModel)
 nilsetMouseButtonReleasedListener (number mousekey, Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
 nilsetMouseButtonTripleClickedListener (number mousekey, Object target, string name, InterModel interactionModel)
 nilsetMouseButtonTripleClickedListener (number mousekey, Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
 nilsetMouseEnteredListener (Object target, string name, InterModel interactionModel)
 nilsetMouseEnteredListener (Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
 nilsetMouseLeftListener (Object target, string name, InterModel interactionModel)
 nilsetMouseLeftListener (Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
 nilsetMouseMovedListener (Object target, string name, InterModel interactionModel)
 nilsetMouseMovedListener (Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
 nilsetMouseWheelMovedListener (number mousekey, Object target, string name, InterModel interactionModel)
 nilsetMouseWheelMovedListener (number mousekey, Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
 nilsetPersistent (boolean persistent)
 nilsetPosition (number x, number y, number z)
 nilsetSorted (boolean sorted)
 nilsetUpVector (number x, number y, number z)

Method Detail

getBillboardOrigin

nil getBillboardOrigin ()
Sets the origin of the billboards in the billboard set.


getBillboardRotationType

number getBillboardRotationType ()
Gets the billboard renderer rotation type of the billboard set.

Returns:
number - rotationType Type of billboard set rotation. It can be PR_BILLBOARD_ROTATION_VERTEX (default) or PR_BILLBOARD_ROTATION_TEXCOORD.


getBillboardSize

number, number getBillboardSize ()
Returns the size of the billboard set.

Returns:
number - w Width of the billboard set.
number - h Height of the billboard set.


getBillboardType

number getBillboardType ()
Gets the type of billboard set.

Returns:
number - type Type of billboard renderer. It can be PR_BILLBOARD_POINT, PR_BILLBOARD_POINT, PR_BILLBOARD_ORIENTED_SELF, PR_BILLBOARD_PERPENDICULAR_COMMON or PR_PERPENDICULAR_SELF.


getDirection

nil getDirection (number x, number y, number z)
Gets the direction of the billboard set.

Parameters:
number x - X direction coordinate.
number y - Y direction coordinate.
number z - Z direction coordinate.


getID

string getID ()
Returns the representation ID.

Returns:
string - Representation ID.


getMaterial

string getMaterial ()
Gets the material name of the billboard set.

Returns:
string - Material name.


getMouseButtonClickedListener

Object, string, InterModel, boolean, string getMouseButtonClickedListener (number mousekey)
Returns the 'mouse button clicked' listener of the BillBoard.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseButtonClickedListener

Object, string, InterModel, boolean, string getMouseButtonClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Returns the 'mouse button clicked' listener of the BillBoard.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseButtonDoubleClickedListener

Object, string, InterModel, boolean, string getMouseButtonDoubleClickedListener (number mousekey)
Returns the 'mouse button double clicked' listener of the BillBoard.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseButtonDoubleClickedListener

Object, string, InterModel, boolean, string getMouseButtonDoubleClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Returns the 'mouse button double clicked' listener of the BillBoard.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseButtonPressedListener

Object, string, InterModel, boolean, string getMouseButtonPressedListener (number mousekey)
Returns the 'mouse button pressed' listener of the BillBoard.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseButtonPressedListener

Object, string, InterModel, boolean, string getMouseButtonPressedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Returns the 'mouse button pressed' listener of the BillBoard.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseButtonReleasedListener

Object, string, InterModel, boolean, string getMouseButtonReleasedListener (number mousekey)
Returns the 'mouse button released' listener of the BillBoard.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseButtonReleasedListener

Object, string, InterModel, boolean, string getMouseButtonReleasedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Returns the 'mouse button released' listener of the BillBoard.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseButtonTripleClickedListener

Object, string, InterModel, boolean, string getMouseButtonTripleClickedListener (number mousekey)
Returns the 'mouse button triple clicked' listener of the BillBoard.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseButtonTripleClickedListener

Object, string, InterModel, boolean, string getMouseButtonTripleClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Returns the 'mouse button triple clicked' listener of the BillBoard.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseEnteredListener

Object, string, InterModel, boolean, string getMouseEnteredListener ()
Returns the 'mouse entered' listener of the BillBoard.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseEnteredListener

Object, string, InterModel, boolean, string getMouseEnteredListener (boolean ctrl, boolean alt, boolean shift)
Returns the 'mouse entered' listener of the BillBoard.

Parameters:
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseLeftListener

Object, string, InterModel, boolean, string getMouseLeftListener ()
Returns the 'mouse left' listener of the BillBoard.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseLeftListener

Object, string, InterModel, boolean, string getMouseLeftListener (boolean ctrl, boolean alt, boolean shift)
Returns the 'mouse left' listener of the BillBoard.

Parameters:
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseMovedListener

Object, string, InterModel, boolean, string getMouseMovedListener ()
Returns the 'mouse moved' listener of the BillBoard.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseMovedListener

Object, string, InterModel, boolean, string getMouseMovedListener (boolean ctrl, boolean alt, boolean shift)
Returns the 'mouse moved' listener of the BillBoard.

Parameters:
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseWheelMovedListener

Object, string, InterModel, boolean, string getMouseWheelMovedListener (number mousekey)
Returns the 'mouse wheel moved' listener of the BillBoard.

Parameters:
number mousekey - Mouse wheel movement that will trigger the event: MOUSE_WHEEL_DOWN or MOUSE_WHEEL_DOWN.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseWheelMovedListener

Object, string, InterModel, boolean, string getMouseWheelMovedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Returns the 'mouse wheel moved' listener of the BillBoard.

Parameters:
number mousekey - Mouse wheel movement that will trigger the event: MOUSE_WHEEL_DOWN or MOUSE_WHEEL_DOWN.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getPosition

number, number, number getPosition ()
Returns the position of the BillBoard.

Returns:
number - The position of the BillBoard in the X coordinate.
number - The position of the BillBoard in the Y coordinate.
number - The position of the BillBoard in the Z coordinate.


getType

number getType ()
Returns the representation type:
2 - MODEL,
3 - LIGHT,
4 - EFFECT,
5 - PLANE,
6 - WATER,
7 - SOUND,
8 - TERRAIN_MESH_DECAL,
9 - TERRAIN_HIGHLIGHTING_DECAL,
10 - BILLBOARD,
11 - OVERLAY

Returns:
number - The type of the representation.


getUpVector

nil getUpVector (number x, number y, number z)
Gets the direction of the up vector of the billboard set.

Parameters:
number x - X direction coordinate.
number y - Y direction coordinate.
number z - Z direction coordinate.


hasMouseButtonClickedListener

boolean hasMouseButtonClickedListener (number mousekey)
Returns 'true' if the BillBoard has a listener for the 'button clicked' event, otherwise 'false'.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.

Returns:
boolean - 'True' if the BillBoard has a listener for the 'button clicked' event, otherwise 'false'.


hasMouseButtonClickedListener

boolean hasMouseButtonClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Returns 'true' if the BillBoard has a listener for the 'button clicked' event, otherwise 'false'.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
boolean - 'True' if the BillBoard has a listener for the 'button clicked' event, otherwise 'false'.


hasMouseButtonDoubleClickedListener

boolean hasMouseButtonDoubleClickedListener (number mousekey)
Returns 'true' if the BillBoard has a listener for the 'button double clicked' event, otherwise 'false'.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.

Returns:
boolean - 'True' if the BillBoard has a listener for the 'button double clicked' event, otherwise 'false'.


hasMouseButtonDoubleClickedListener

boolean hasMouseButtonDoubleClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Returns 'true' if the BillBoard has a listener for the 'button double clicked' event, otherwise 'false'.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
boolean - 'True' if the BillBoard has a listener for the 'button double clicked' event, otherwise 'false'.


hasMouseButtonPressedListener

boolean hasMouseButtonPressedListener (number mousekey)
Returns 'true' if the BillBoard has a listener for the 'button pressed' event, otherwise 'false'.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.

Returns:
boolean - 'True' if the BillBoard has a listener for the 'button pressed' event, otherwise 'false'.


hasMouseButtonPressedListener

boolean hasMouseButtonPressedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Returns 'true' if the BillBoard has a listener for the 'button pressed' event, otherwise 'false'.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
boolean - 'True' if the BillBoard has a listener for the 'button pressed' event, otherwise 'false'.


hasMouseButtonReleasedListener

boolean hasMouseButtonReleasedListener (number mousekey)
Returns 'true' if the BillBoard has a listener for the 'button released' event, otherwise 'false'.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.

Returns:
boolean - 'True' if the BillBoard has a listener for the 'button released' event, otherwise 'false'.


hasMouseButtonReleasedListener

boolean hasMouseButtonReleasedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Returns 'true' if the BillBoard has a listener for the 'button released' event, otherwise 'false'.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
boolean - 'True' if the BillBoard has a listener for the 'button released' event, otherwise 'false'.


hasMouseButtonTripleClickedListener

boolean hasMouseButtonTripleClickedListener (number mousekey)
Returns 'true' if the BillBoard has a listener for the 'button triple clicked' event, otherwise 'false'.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.

Returns:
boolean - 'True' if the BillBoard has a listener for the 'button triple clicked' event, otherwise 'false'.


hasMouseButtonTripleClickedListener

boolean hasMouseButtonTripleClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Returns 'true' if the BillBoard has a listener for the 'button triple clicked' event, otherwise 'false'.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
boolean - 'True' if the BillBoard has a listener for the 'button triple clicked' event, otherwise 'false'.


hasMouseEnteredListener

boolean hasMouseEnteredListener ()
Returns 'true' if the BillBoard has a listener for the 'mouse entered' event, otherwise 'false'.

Returns:
boolean - 'True' if the BillBoard has a listener for the 'mouse entered' event, otherwise 'false'.


hasMouseEnteredListener

boolean hasMouseEnteredListener (boolean ctrl, boolean alt, boolean shift)
Returns 'true' if the BillBoard has a listener for the 'mouse entered' event, otherwise 'false'.

Parameters:
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
boolean - 'True' if the BillBoard has a listener for the 'mouse entered' event, otherwise 'false'.


hasMouseLeftListener

boolean hasMouseLeftListener ()
Returns 'true' if the BillBoard has a listener for the 'mouse left' event, otherwise 'false'.

Returns:
boolean - 'True' if the BillBoard has a listener for the 'mouse left' event, otherwise 'false'.


hasMouseLeftListener

boolean hasMouseLeftListener (boolean ctrl, boolean alt, boolean shift)
Returns 'true' if the BillBoard has a listener for the 'mouse left' event, otherwise 'false'.

Parameters:
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
boolean - 'True' if the BillBoard has a listener for the 'mouse left' event, otherwise 'false'.


hasMouseMovedListener

boolean hasMouseMovedListener ()
Returns 'true' if the BillBoard has a listener for the 'mouse moved' event, otherwise 'false'.

Returns:
boolean - 'True' if the BillBoard has a listener for the 'mouse moved' event, otherwise 'false'.


hasMouseMovedListener

boolean hasMouseMovedListener (boolean ctrl, boolean alt, boolean shift)
Returns 'true' if the BillBoard has a listener for the 'mouse moved' event, otherwise 'false'.

Parameters:
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
boolean - 'True' if the BillBoard has a listener for the 'mouse moved' event, otherwise 'false'.


hasMouseWheelMovedListener

boolean hasMouseWheelMovedListener (number mousekey)
Returns 'true' if the BillBoard has a listener for the 'mouse wheel moved' event, otherwise 'false'.

Parameters:
number mousekey - Mouse wheel movement that will trigger the event: MOUSE_WHEEL_DOWN or MOUSE_WHEEL_DOWN.

Returns:
boolean - 'True' if the BillBoard has a listener for the 'mouse wheel moved' event, otherwise 'false'.


hasMouseWheelMovedListener

boolean hasMouseWheelMovedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Returns 'true' if the BillBoard has a listener for the 'mouse wheel moved' event, otherwise 'false'.

Parameters:
number mousekey - Mouse wheel movement that will trigger the event: MOUSE_WHEEL_DOWN or MOUSE_WHEEL_DOWN.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
boolean - 'True' if the BillBoard has a listener for the 'mouse wheel moved' event, otherwise 'false'.


isAccurateFacing

boolean isAccurateFacing ()
Returns whether each billboard is constantly facing the camera.

Returns:
boolean - facing Whether each billboard is constantly facing the camera.


isCullEach

boolean isCullEach ()
Returns whether the billboard set culls each billboard individually or not.

Returns:
boolean - Whether the billboard set culls each billboard or not.


isPersistent

boolean isPersistent ()
Returns true if the representation is persistent, false otherwise.

Returns:
boolean - Whether the BillBoard is persistent or not.


isSorted

boolean isSorted ()
Returns whether the billboard set sorts the billboards or not.

Returns:
boolean - sorted Whether the billboard set sorts the billboards or not.


print

nil print ()
Prints the BillBoard data and attributes to the console.


removeMouseButtonClickedListener

nil removeMouseButtonClickedListener (number mousekey)
Removes the 'mouse button clicked' event listener of the BillBoard.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.


removeMouseButtonClickedListener

nil removeMouseButtonClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Removes the 'mouse button clicked' event listener of the BillBoard.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.


removeMouseButtonDoubleClickedListener

nil removeMouseButtonDoubleClickedListener (number mousekey)
Removes the 'mouse button double clicked' event listener of the BillBoard.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.


removeMouseButtonDoubleClickedListener

nil removeMouseButtonDoubleClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Removes the 'mouse button double clicked' event listener of the BillBoard.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.


removeMouseButtonPressedListener

nil removeMouseButtonPressedListener (number mousekey)
Removes the 'mouse button pressed' event listener of the BillBoard.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.


removeMouseButtonPressedListener

nil removeMouseButtonPressedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Removes the 'mouse button pressed' event listener of the BillBoard.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.


removeMouseButtonReleasedListener

nil removeMouseButtonReleasedListener (number mousekey)
Removes the 'mouse button released' event listener of the BillBoard.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.


removeMouseButtonReleasedListener

nil removeMouseButtonReleasedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Removes the 'mouse button released' event listener of the BillBoard.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.


removeMouseButtonTripleClickedListener

nil removeMouseButtonTripleClickedListener (number mousekey)
Removes the 'mouse button triple clicked' event listener of the BillBoard.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.


removeMouseButtonTripleClickedListener

nil removeMouseButtonTripleClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Removes the 'mouse button triple clicked' event listener of the BillBoard.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.


removeMouseEnteredListener

nil removeMouseEnteredListener ()
Removes the 'mouse entered' event listener of the BillBoard.


removeMouseEnteredListener

nil removeMouseEnteredListener (boolean ctrl, boolean alt, boolean shift)
Removes the 'mouse entered' event listener of the BillBoard.

Parameters:
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.


removeMouseLeftListener

nil removeMouseLeftListener ()
Removes the 'mouse left' event listener of the BillBoard.


removeMouseLeftListener

nil removeMouseLeftListener (boolean ctrl, boolean alt, boolean shift)
Removes the 'mouse left' event listener of the BillBoard.

Parameters:
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.


removeMouseMovedListener

nil removeMouseMovedListener ()
Removes the 'mouse moved' event listener of the BillBoard.


removeMouseMovedListener

nil removeMouseMovedListener (boolean ctrl, boolean alt, boolean shift)
Removes the 'mouse moved' event listener of the BillBoard.

Parameters:
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.


removeMouseWheelMovedListener

nil removeMouseWheelMovedListener (number mousekey)
Removes the 'mouse wheel moved' event listener of the BillBoard.

Parameters:
number mousekey - Mouse wheel movement that will trigger the event: MOUSE_WHEEL_DOWN or MOUSE_WHEEL_DOWN.


removeMouseWheelMovedListener

nil removeMouseWheelMovedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Removes the 'mouse wheel moved' event listener of the BillBoard.

Parameters:
number mousekey - Mouse wheel movement that will trigger the event: MOUSE_WHEEL_DOWN or MOUSE_WHEEL_DOWN.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.


setAccurateFacing

nil setAccurateFacing (boolean facing)
Sets whether each billboard is constantly facing the camera.

Parameters:
boolean facing - Whether each billboard is constantly facing the camera.


setBillboardOrigin

nil setBillboardOrigin (number vPosition, number hPosition)
Sets the origin of the billboard in the billboard set.

Parameters:
number vPosition - Vertical position of the origin of the billboards in the billboard set. It can be VA_TOP, VA_CENTRE or VA_BOTTOM.
number hPosition - Horizontal position of the origin of the billboards in the billboard set. It can be HA_RIGHT, HA_CENTRE or HA_BOTTOM.


setBillboardRotationType

nil setBillboardRotationType (number rotationType)
Sets the billboard rotation type of the billboard set.

Parameters:
number rotationType - Type of billboard rotation. It can be PR_BILLBOARD_ROTATION_VERTEX (default) or PR_BILLBOARD_ROTATION_TEXCOORD.


setBillboardsCustom

nil setBillboardsCustom (array{} billboards)
Sets the billboard set to contain a set of billboards defined in the array.

Parameters:
array{} billboards - An array of billboards, where each element of the array contains the position (x,y,z) and size (width,height) of a billboard.


setBillboardsCustomOnSurface

nil setBillboardsCustomOnSurface (array{} billboards)
Sets the billboard set to contain a set of billboards defined in the array that will be set on the suface of the terrain.

Parameters:
array{} billboards - An array of billboards that will be set on the suface of the terrain, where each element of the array contains the position (x,z) and size (width,height) of a billboard.


setBillboardSize

nil setBillboardSize (number w, number h)
Sets the size of the billboard set.

Parameters:
number w - Width of the billboard set.
number h - Height of the billboard set.


setBillboardsRandom

nil setBillboardsRandom (number seed, number count, number x, number y, number z)
Sets the billboard set to spread a given number of billboards (count) inside a box defined by x,y and z.

Parameters:
number seed - Seed for the pseudo-random number generator.
number count - Number of billboards.
number x - X coordinate of the box.
number y - X coordinate of the box.
number z - X coordinate of the box.


setBillboardsRandomOnSurfaceImage

nil setBillboardsRandomOnSurfaceImage (number seed, number count, number x, number z, MediaItem image)
Sets the billboard set to spread a given number of billboards (count) over the terrain inside an area defined by x and z and distributes them according to a density map defined by an image.

Parameters:
number seed - Seed for the pseudo-random number generator.
number count - Number of billboards.
number x - X coordinate of the area.
number z - X coordinate of the area.
MediaItem image - Grayscale image that contains the density map according of the distribution of billboards in the billboardset.


setBillboardsRandomOnSurfacePosition

nil setBillboardsRandomOnSurfacePosition (number seed, number count, number x, number z)
Sets the billboard set to spread a given number of billboards (count) over the terrain inside an area defined by x and z.

Parameters:
number seed - Seed for the pseudo-random number generator.
number count - Number of billboards.
number x - X coordinate of the area.
number z - X coordinate of the area.


setBillboardType

nil setBillboardType (number type)
Sets the type of billboard set.

Parameters:
number type - Type of billboard set. It can be PR_BILLBOARD_POINT (default), PR_BILLBOARD_POINT, PR_BILLBOARD_ORIENTED_SELF, PR_BILLBOARD_PERPENDICULAR_COMMON or PR_PERPENDICULAR_SELF.


setCullEach

nil setCullEach (boolean cullEach)
Sets whether the billboard set culls each billboard individually or not. Set this to true when it's most likely that only part of the billboards are actually visible. In most cases, it's far more efficient to cull them together.

Parameters:
boolean cullEach - Whether the billboard set culls each billboard.


setDirection

nil setDirection (number x, number y, number z)
Sets the direction of the billboard set.

Parameters:
number x - X direction coordinate.
number y - Y direction coordinate.
number z - Z direction coordinate.


setMaterial

nil setMaterial (string material)
Defines the material of the billboard set.

Parameters:
string material - Material name.


setMouseButtonDoubleClickedListener

nil setMouseButtonDoubleClickedListener (number mousekey, Object target, string name, InterModel interactionModel)
Sets a listener to be invoked upon a 'mouse button double clicked' event on the BillBoard.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.


setMouseButtonDoubleClickedListener

nil setMouseButtonDoubleClickedListener (number mousekey, Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
Sets a listener to be invoked upon a 'mouse button double clicked' event on the BillBoard.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.
boolean global - 'true' if this listener is executed globally, 'false' if it is executed only locally.
string channel - The channel of the listener.


setMouseButtonPressedListener

nil setMouseButtonPressedListener (number mousekey, Object target, string name, InterModel interactionModel)
Sets a listener to be invoked upon a 'mouse button pressed' event on the BillBoard.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.


setMouseButtonPressedListener

nil setMouseButtonPressedListener (number mousekey, Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
Sets a listener to be invoked upon a 'mouse button pressed' event on the BillBoard.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.
boolean global - 'true' if this listener is executed globally, 'false' if it is executed only locally.
string channel - The channel of the listener.


setMouseButtonReleasedListener

nil setMouseButtonReleasedListener (number mousekey, Object target, string name, InterModel interactionModel)
Sets a listener to be invoked upon a 'mouse button released' event on the BillBoard.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.


setMouseButtonReleasedListener

nil setMouseButtonReleasedListener (number mousekey, Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
Sets a listener to be invoked upon a 'mouse button released' event on the BillBoard.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.
boolean global - 'true' if this listener is executed globally, 'false' if it is executed only locally.
string channel - The channel of the listener.


setMouseButtonTripleClickedListener

nil setMouseButtonTripleClickedListener (number mousekey, Object target, string name, InterModel interactionModel)
Sets a listener to be invoked upon a 'mouse button triple clicked' event on the BillBoard.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.


setMouseButtonTripleClickedListener

nil setMouseButtonTripleClickedListener (number mousekey, Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
Sets a listener to be invoked upon a 'mouse button triple clicked' event on the BillBoard.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.
boolean global - 'true' if this listener is executed globally, 'false' if it is executed only locally.
string channel - The channel of the listener.


setMouseEnteredListener

nil setMouseEnteredListener (Object target, string name, InterModel interactionModel)
Sets a listener to be invoked upon a 'mouse enter' event on the BillBoard.

Parameters:
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.


setMouseEnteredListener

nil setMouseEnteredListener (Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
Sets a listener to be invoked upon a 'mouse enter' event on the BillBoard.

Parameters:
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.
boolean global - 'true' if this listener is executed globally, 'false' if it is executed only locally.
string channel - The channel of the listener.


setMouseLeftListener

nil setMouseLeftListener (Object target, string name, InterModel interactionModel)
Sets a listener to be invoked upon a 'mouse leave' event on the BillBoard.

Parameters:
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.


setMouseLeftListener

nil setMouseLeftListener (Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
Sets a listener to be invoked upon a 'mouse leave' event on the BillBoard.

Parameters:
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.
boolean global - 'true' if this listener is executed globally, 'false' if it is executed only locally.
string channel - The channel of the listener.


setMouseMovedListener

nil setMouseMovedListener (Object target, string name, InterModel interactionModel)
Sets a listener to be invoked upon a 'mouse move' event on the BillBoard.

Parameters:
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.


setMouseMovedListener

nil setMouseMovedListener (Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
Sets a listener to be invoked upon a 'mouse move' event on the BillBoard.

Parameters:
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.
boolean global - 'true' if this listener is executed globally, 'false' if it is executed only locally.
string channel - The channel of the listener.


setMouseWheelMovedListener

nil setMouseWheelMovedListener (number mousekey, Object target, string name, InterModel interactionModel)
Sets a listener to be invoked upon a 'mouse wheel moved' event on the BillBoard.

Parameters:
number mousekey - Mouse wheel movement that will trigger the event: MOUSE_WHEEL_DOWN or MOUSE_WHEEL_DOWN.
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.


setMouseWheelMovedListener

nil setMouseWheelMovedListener (number mousekey, Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
Sets a listener to be invoked upon a 'mouse wheel moved' event on the BillBoard.

Parameters:
number mousekey - Mouse wheel movement that will trigger the event: MOUSE_WHEEL_DOWN or MOUSE_WHEEL_DOWN.
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.
boolean global - 'true' if this listener is executed globally, 'false' if it is executed only locally.
string channel - The channel of the listener.


setPersistent

nil setPersistent (boolean persistent)
Makes the BillBoard persistent or not persistent.

Parameters:
boolean persistent - Whether the BillBoard is persistent or not.


setPosition

nil setPosition (number x, number y, number z)
Sets the position of the BillBoard in the 3D space (x,y,z).

Parameters:
number x - New position in the X axis.
number y - New position in the Y axis.
number z - New position in the Z axis.


setSorted

nil setSorted (boolean sorted)
Sets whether the ebillboard set sorts the billboards or not. If set to 'true', the billboards will be sorted with respect to the camera, furthest first. There is a small overhead in sorting the billboards.

Parameters:
boolean sorted - Whether the billboard set sorts the billboards or not.


setUpVector

nil setUpVector (number x, number y, number z)
Sets the direction of the 'up vector' of a billboard set of the type PR_BILLBOARD_PERPENDICULAR_COMMON or PR_PERPENDICULAR_SELF.

Parameters:
number x - X direction coordinate.
number y - Y direction coordinate.
number z - Z direction coordinate.