Dgs-dx3dtext: Difference between revisions
Jump to navigation
Jump to search
(Created page with "DGS Properties is always used to change the gui style and make it more fantastic. This page shows the properties of dgs-dx3dtext that you could use. ==Main Functions...") |
|||
Line 8: | Line 8: | ||
==Properties== | ==Properties== | ||
===color=== | ===color=== | ||
The color which can be translated by [[tocolor]] of the dx 3d text. | The color which can be translated by [[tocolor]] of the dx 3d text. | ||
Line 22: | Line 17: | ||
<syntaxhighlight lang="lua">dgsSetProperty(text,"dimension",dimension)</syntaxhighlight> | <syntaxhighlight lang="lua">dgsSetProperty(text,"dimension",dimension)</syntaxhighlight> | ||
*'''dimension:''' An integer of the dimension of dx 3d text. | *'''dimension:''' An integer of the dimension of dx 3d text. | ||
===fadeDistance=== | |||
The distance of which 3D text starts to fading. | |||
<syntaxhighlight lang="lua">dgsSetProperty(text,"fadeDistance",fadeDistance)</syntaxhighlight> | |||
*'''fadeDistance:''' A float of the fade distance. | |||
===font=== | ===font=== |
Revision as of 03:27, 29 July 2019
DGS Properties is always used to change the gui style and make it more fantastic.
This page shows the properties of dgs-dx3dtext that you could use.
Main Functions
Properties
color
The color which can be translated by tocolor of the dx 3d text.
dgsSetProperty(text,"color",color)
- color: An integer of the color of the dx 3d text.
dimension
The dimension of dx 3d text. Players can't see the dx 3d text in different dimensions.
dgsSetProperty(text,"dimension",dimension)
- dimension: An integer of the dimension of dx 3d text.
fadeDistance
The distance of which 3D text starts to fading.
dgsSetProperty(text,"fadeDistance",fadeDistance)
- fadeDistance: A float of the fade distance.
font
This is equivalent to dgsSetFont/dgsGetFont. Learn More dxDrawText
dgsSetProperty(text,"font",font)
- font : A string or a dx font element of the text font of the dx 3d text.
interior
The interior of dx 3d text. Players can't see the dx 3d text in different interiors.
dgsSetProperty(text,"interior",interior)
- interior: An integer of the interior of dx 3d text.
maxDistance
The maximum visible distance in the world.
dgsSetProperty(text,"maxDistance",maxDistance)
- maxDistance: A float of the distance.
textSize
The scale of the text of the dx 3d text. Learn More dxDrawText
dgsSetProperty(text,"textSize",{scaleX,scaleY})
- scaleX : A float of the 2D X scale of the text of the dx 3d text.
- scaleY : A float of the 2D Y scale of the text of the dx 3d text.
position
A table stores x,y,z coordinate of the dx 3d text in the world.
dgsSetProperty(text,"position",{x,y,z})
- x: The x coordinate of the destination.
- y: The y coordinate of the destination.
- z: The z coordinate of the destination.
See Also
General Properties
Unique Properties For DGS Core Elements
- dgs-dx3dinterface
- dgs-dx3dimage
- dgs-dx3dtext
- dgs-dx3dline
- dgs-dxbutton
- dgs-dxcheckbox
- dgs-dxcombobox
- dgs-dxdetectarea
- dgs-dxedit
- dgs-dxgridlist
- dgs-dximage
- dgs-dxlabel
- dgs-dxline
- dgs-dxmemo
- dgs-dxprogressbar
- dgs-dxradiobutton
- dgs-dxscrollbar
- dgs-dxscrollpane
- dgs-dxselector
- dgs-dxswitchbutton
- dgs-dxtabpanel
- dgs-dxtab
- dgs-dxwindow