Passa al contenuto principale

Get3DTextLabelDrawDistance

Avviso

La funzione è stata aggiunta nella versione omp v1.1.0.2612 e non funziona nelle versioni precedenti!

Description​

Gets the 3D text label draw distance.

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

Returns​

Returns the draw distance of the 3D text label as float.

Examples​

new Text3D:gMyLabel;
new Float:drawDistance;

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

drawDistance = Get3DTextLabelDrawDistance(gMyLabel);
// drawDistance = 10.0