Aller au contenu principal

Get3DTextLabelColour

attention

La fonctionnalité de type fonction a été ajoutée dans la version omp v1.1.0.2612 et ne fonctionne pas avec les versions antérieures !

Description​

Gets the 3D text label colour.

NameDescription
Text3D:textidThe ID of the 3D text label to get the colour of.

Returns​

Returns the 3D text label colour.

Examples​

new Text3D:gMyLabel;

gMyLabel = Create3DTextLabel("Hello World!", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0, false);

new colour = Get3DTextLabelColour(gMyLabel);
// colour = 0x008080FF