முதன்மை உள்ளடக்கத்துக்குச் செல்லவும்

Set3DTextLabelDrawDistance

எச்சரிக்கை

செயல்பாடு என்பது omp v1.1.0.2612 பதிப்பில் சேர்க்கப்பட்டது. இது முந்தைய பதிப்புகளில் இயங்காது!

Description​

Sets the 3D text label draw distance.

NameDescription
Text3D:textidThe ID of the 3D text label to set the draw distance.
Float:drawDistanceThe distance from where you are able to see the 3D Text Label.

Returns​

This function always returns true.

Examples​

new Text3D:gMyLabel;

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

Set3DTextLabelDrawDistance(gMyLabel, 20.0);
// The draw distance changed from 10.0 to 20.0