Label

Function Description
position()
setOpacity(value)

Sets the opacity of the label.

setPosition(x, y, z)

Sets the position of the label.

setText(value)

Sets the text for the label.


position()

Returns

Vec3 the {x, y, z} position of the label.

↑ Back to top


setOpacity(value)

Sets the opacity of the label.

Parameters

number value – The opacity of the label, ranging from 0 (invisible) to 1 (fully opaque)

↑ Back to top


setPosition(x, y, z)

Sets the position of the label.

Parameters

number x – the x coordinate position
number y – the y coordinate position
number z – the z coordinate position

↑ Back to top


setText(value)

Sets the text for the label.

Parameters

string value – The string that will be displayed by the label.

↑ Back to top

Did you find this page useful?

Please give it a rating:

Please provide some feedback!

This is very helpful to us.