Skip to content

class Decal extends Object (client-side)

Available since version: 0.3.8.1

This class represents decal visual class (3d billboard polygon with 2d image).

Properties

Material& material

Represents the decal material.


float& xdim

Represents the decal width in 3d world.


float& ydim

Represents the decal height in 3d world.


float& xoffset

Represents the decal x offset in 3d world.


float& yoffset

Represents the decal y offset in 3d world.


bool& twoSided

Represents true if decal should have both sides visible, otherwise false.


bool& ignoreDayLight

Represents true if decal should ignore day light, otherwise false.


bool& onTop

Represents true if decal should be rendered on top, otherwise false.


Methods

No methods.


Callbacks

No callbacks.