Dgs-dx3dinterface: 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-dx3dinterface that you could use. ==Main Func...") |
(No difference)
|
Revision as of 02:41, 12 June 2018
DGS Properties is always used to change the gui style and make it more fantastic.
This page shows the properties of dgs-dx3dinterface that you could use.
Main Functions
Properties
position
A table stores x,y,z coordinate of the dx 3d interface in the world.
dgsSetProperty(interface,"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.
faceTo
A table stores x,y,z coordinate that dx 3d interface faces towards in the world.
dgsSetProperty(interface,"faceTo",{faceTowardsX,faceTowardsY,faceTowardsZ})
- faceTowardsX: The x coordinate of the destination dx 3d interface faces towards.
- faceTowardsY: The y coordinate of the destination dx 3d interface faces towards.
- faceTowardsZ: The z coordinate of the destination dx 3d interface faces towards.
size
The size is relative to the world.
dgsSetProperty(interface,"size",{width,height})
- width: A float of the width of the dx 3d interface relative to the world.
- height: A float of the height of the dx 3d interface relative to the world.
color
The color which can be translated by tocolor of the dx 3d interface.
dgsSetProperty(interface,"color",color)
- color: An integer of the color of the dx 3d interface.
resolution
The resolution (pixels) of the render target.
dgsSetProperty(interface,"resolution",{width,height})
- width: The width of the render target in pixels.
- height: The height of the render target in pixels.
maxDistance
The maximum visible distance in the world.
dgsSetProperty(interface,"maxDistance",maxDistance)
- maxDistance: A float of the distance.
renderTarget_parent
This property stores a render target of the dx 3d interface.
dgsSetProperty(interface,"renderTarget_parent",renderTarget)
- renderTarget: A render target that is used to render the child dgs elements of the dx 3d interface.
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