-
protected_alignedAxisVec3
-
Cartesian aligned axis vector.
-
protected_colorVec4
-
RGBA color.
-
protected_entityEntity
-
Entity instance that holds this billboard.
-
protected_handlerBillboardHandler
-
Handler that stores and renders this billboard object.
-
protected_handlerIndexnumber
-
Billboard handler array index.
-
protected_isReadynumber
-
An indication that the object is ready to draw
-
protected_offsetmath.Vecto3
-
Billboard center screen space offset. Where x,y - screen space offset and z - depth offset.
-
protected_positionVec3
-
Billboard center cartesian position.
-
protected_rotationnumber
-
Screen space rotation angle.
-
protected_visibilityboolean
-
Billboard visibility.
-
readonlyidnumber
-
Object unic identifier.
-
-
Returns aligned vector.
Returns:
-
-
Returns RGBA color.
Returns:
-
-
Returns billboard screen space offset size.
Returns:
-
-
Returns billboard position.
Returns:
-
-
Gets screen space rotation.
Returns:
-
-
Returns billboard visibility.
Returns:
-
-
Removes billboard from hander.
-
-
Sets billboard cartesian aligned vector.
Name |
Type |
Description |
x |
number
|
Aligned vector X coordinate. |
y |
number
|
Aligned vector Y coordinate. |
z |
number
|
Aligned vector Z coordinate. |
-
setAlignedAxis3v(alignedAxis)
-
Sets billboard aligned vector.
Name |
Type |
Description |
alignedAxis |
math.Vecto3
|
Vector to align. |
-
-
Sets RGBA color. Each channel from 0.0 to 1.0.
Name |
Type |
Description |
r |
number
|
Red. |
g |
number
|
Green. |
b |
number
|
Blue. |
a |
number
|
Alpha. |
-
-
Sets RGBA color. Each channel from 0.0 to 1.0.
Name |
Type |
Description |
color |
Vec4
|
RGBA vector. |
-
-
Sets billboard color.
Name |
Type |
Description |
color |
string
|
HTML style color. |
-
-
Sets screen space offset.
Name |
Type |
Description |
x |
number
|
X offset. |
y |
number
|
Y offset. |
z |
number
|
optional
Z offset. |
-
-
Sets screen space offset.
Name |
Type |
Description |
offset |
Vec2
|
Offset size. |
-
-
Sets billboard opacity.
Name |
Type |
Description |
a |
number
|
Billboard opacity. |
-
-
Sets billboard picking color.
Name |
Type |
Description |
color |
Vec3
|
Picking color. |
-
-
Sets billboard position.
Name |
Type |
Description |
x |
number
|
X coordinate. |
y |
number
|
Y coordinate. |
z |
number
|
Z coordinate. |
-
-
Sets billboard position.
Name |
Type |
Description |
position |
Vec3
|
Cartesian coordinates. |
-
-
Sets billboard screen space rotation in radians.
Name |
Type |
Description |
rotation |
number
|
Screen space rotation in radians. |
-
setVisibility(visibility)
-
Sets billboard visibility.
Name |
Type |
Description |
visibility |
boolean
|
Visibility flag. |