Draw Objs¶
3D Objects render on the image. Draw Objs can have textures and another draw objects (children). We have two types of draw objects - containers and basic shapes.
More info about Basic Shapes and Containers.
Primal properties¶
Each Draw Obj has a few primal properties:
-
property
display
:
DISPLAY-TYPE;
Default element's name
Type of draw-obj to howto display draw-obj (in ex. cube, triangle, dome, etc). Each display’s type has another properties and another shape.
If display is incorrect then draw-obj will not be rendered.
-
property
width
:
INTEGER | PERCENTAGE;
Default 0
Size on X axis.
- Type INTEGER
width in pixels
- Type PERCENTAGE
relative width to the parent object
-
property
depth
:
INTEGER | PERCENTAGE;
Default 0
Size on Y axis.
- Type INTEGER
depth in pixels
- Type PERCENTAGE
relative depth to the parent object
-
property
height
:
INTEGER | PERCENTAGE;
Default 0
Size on Z axis.
- Type INTEGER
height in pixels
- Type PERCENTAGE
relative height to the parent object
Examples¶
draw-obj {
display: cube;
width: 200;
depth: 100%;
height: 100;
rotate: 90;
}