MaterialID is a number of the one of available surfaces. In the above example of use materialID takes a value of Esq_scene_el.SURFACE_2 which is an example const defined within Esq_scene_el.as class exported from Esquimo editor. If you want to see how the other parameters affect the object's final structure go here.
m_esquimo.GeometryCreatePlane(Esq_scene_el.SURFACE_2, 2.5, 8, 1);
m_esquimo.GeometryCreateTiledPlane(Esq_scene_el.SURFACE_1, 4, 24, 2, 4, 2, 0, 1, 1, 0);
MaterialID is a number of the one of available surfaces. In the above example of use materialID takes a value of Esq_scene_el.SURFACE_1 which is an example const defined within Esq_scene_el.as class exported from Esquimo editor.
Possible values of tilingOptions (Logical sum parameter in Esquimo GUI) are:
- 1 - OR
- 2 - AND
- 4 - XOR
If you want to see how the other parameters affect the object's final structure go here.
m_esquimo.GeometryCreateTexturedPlane(Esq_scene_el.SURFACE_1, 3, 6, 1, 2);
MaterialID is a number of the one of available surfaces. In the above example of use materialID takes a value of Esq_scene_el.SURFACE_1 which is an example const defined within Esq_scene_el.as class exported from Esquimo editor. If you want to see how the other parameters affect the object's final structure go here.
m_esquimo.GeometryCreateBox(Esq_scene_el.SURFACE_2, 0.6, 10, 2);
MaterialID is a number of the one of available surfaces. In the above example of use materialID takes a value of Esq_scene_el.SURFACE_2 which is an example const defined within Esq_scene_el.as class exported from Esquimo editor.
edgesOptions has an effect on lines displaying only if they are active (applied surface must have turned them on). Possible values of edgesOptions are:
- 1 - edges of box only
- 2 - squares
- 3 - skew lines
If you want to see how the other parameters affect the object's final structure go here.
m_esquimo.GeometryCreateTiledBox(Esq_scene_el.SURFACE_2, 1.5, 12, 0, 2, 2, 0, 2, 2, 1);
MaterialID is a number of the one of available surfaces. In the above example of use materialID takes a value of Esq_scene_el.SURFACE_2 which is an example const defined within Esq_scene_el.as class exported from Esquimo editor.
Possible values of tilingOptions (Logical sum parameter in Esquimo GUI) are:
- 1 - OR
- 2 - AND
- 4 - XOR
If you want to see how the other parameters affect the object's final structure go here.
The method is very similar to "GeometryCreateTiledBox". The only difference is that tiling pattern goes diagonally across the box. ID of the created object is returned.
m_esquimo.GeometryCreateSkewTilledBox(Esq_scene_el.SURFACE_2, 1.5, 12, 0, 2, 2, 0, 2, 2, 1);
MaterialID is a number of the one of available surfaces. In the above example of use materialID takes a value of Esq_scene_el.SURFACE_2 which is an example const defined within Esq_scene_el.as class exported from Esquimo editor.
Possible values of tilingOptions (Logical sum parameter in Esquimo GUI) are:
- 1 - OR
- 2 - AND
- 4 - XOR
If you want to see how the other parameters affect the object's final structure go here.
m_esquimo.GeometryCreateSphere(Esq_scene_el.SURFACE_2, 3, 40, 1);
MaterialID is a number of the one of available surfaces. In the above example of use materialID takes a value of Esq_scene_el.SURFACE_2 which is an example const defined within Esq_scene_el.as class exported from Esquimo editor.
linesOptions parameter can take following values:
- 0 - vertical lines with empty pole
- 1 - vertical and horizontal lines
- 2 - horizontal lines
- 3 - vertical lines
- 4 - both directions with empty pole
If you want to see how the other parameters affect the object's final structure go here.
m_esquimo.GeometryCreateTiledSphere(Esq_scene_el.SURFACE_2, 3, 12, 2, 1, 1, 0, 1, 0, 0);
MaterialID is a number of the one of available surfaces. In the above example of use materialID takes a value of Esq_scene_el.SURFACE_2 which is an example const defined within Esq_scene_el.as class exported from Esquimo editor.
Possible values of tilingOptions (Logical sum parameter in Esquimo GUI) are:
- 1 - OR
- 2 - AND
- 4 - XOR
If you want to see how the other parameters affect the object's final structure go here.
m_esquimo.GeometryCreateExtrudedSphere(Esq_scene_el.SURFACE_2, 3, 27, 8, 100, 60, 0.1, 0.12);
MaterialID is a number of the one of available surfaces. In the above example of use materialID takes a value of Esq_scene_el.SURFACE_2 which is an example const defined within Esq_scene_el.as class exported from Esquimo editor.
geometryOptions parameter can take the value that represents setting of 4 lower bits. In order to combine available options you have to simply add values that corresponds with particular option.
- 1 - inside sphere
- 2 - base faces
- 4 - all lines
- 8 - bottom and top
For instance, 12 value (8+4) will cause displaying top and bottom ending parts and displaying lines (only if lines are turned on in the surface settings). That particular situation may take a place quite often since "inside sphere" and "base faces" might be not visible at some settings. Then turning them off will improve scene performace.
To find out more about ExtrudedSphere structure and its parameters go here.
m_esquimo.GeometryCreateTorus(Esq_scene_el.SURFACE_2, 4, 15, 1, 30, 1);
MaterialID is a number of the one of available surfaces. In the above example of use materialID takes a value of Esq_scene_el.SURFACE_2 which is an example const defined within Esq_scene_el.as class exported from Esquimo editor.
linesOptions parameter can take the value that represents setting of 2 lower bits. In order to combine available options you have to simply add values that corresponds with particular option.
- 1 - circle lines
- 2 - ring lines
For instance, for displaying both circle and ring lines linesOptions parameter takes a value of 3. Of course lines displaying must be turned on within settings of the surface applied.
To find out more about Torus structure and its parameters go here.
m_esquimo.GeometryCreateTiledTorus(Esq_scene_el.SURFACE_2, 3, 30, 1, 60, 1, 1, 1, 0, 1, 30, 1);
MaterialID is a number of the one of available surfaces. In the above example of use materialID takes a value of Esq_scene_el.SURFACE_2 which is an example const defined within Esq_scene_el.as class exported from Esquimo editor.
Possible values of tilingOptions (Logical sum parameter in Esquimo GUI) are:
- 1 - OR
- 2 - AND
- 4 - XOR
If you want to see how the other parameters affect the object's final structure go here.
m_esquimo.GeometryCreateCylinder(Esq_scene_el.SURFACE_2, 2, 6, 30, 0);
MaterialID is a number of the one of available surfaces. In the above example of use materialID takes a value of Esq_scene_el.SURFACE_2 which is an example const defined within Esq_scene_el.as class exported from Esquimo editor.
linesOptions flag indicates whether vertical lines are displaying.
- 0 - vertical lines OFF
- 1 - vertical lines ON
Lines displaying must be turned on within settings of the surface applied.
To find out more about Cylinder structure and its parameters go here.
m_esquimo.GeometryCreateSlicedCylinder(Esq_scene_el.SURFACE_2, 2, 0.3, 30, 300, 0 );
MaterialID is a number of the one of available surfaces. In the above example of use materialID takes a value of Esq_scene_el.SURFACE_2 which is an example const defined within Esq_scene_el.as class exported from Esquimo editor.
linesOptions flag indicates whether vertical lines are displaying.
- 0 - vertical lines OFF
- 1 - vertical lines ON
Lines displaying must be turned on within settings of the surface applied.
To find out more about sliced Cylinder structure and its parameters go here.
m_esquimo.GeometryCreateArrow(Esq_scene_el.SURFACE_2, 3, 120, 50, 0.2, 0.5, 0.6, 2);
MaterialID is a number of the one of available surfaces. In the above example of use materialID takes a value of Esq_scene_el.SURFACE_2 which is an example const defined within Esq_scene_el.as class exported from Esquimo editor.
To find out more about Arrow object structure and its parameters go here.
m_esquimo.GeometryCreateGear(Esq_scene_el.SURFACE_2, 0.8, 1, 1, 4, 12, 0.23, 0.35, 20, 0.4);
MaterialID is a number of the one of available surfaces. In the above example of use materialID takes a value of Esq_scene_el.SURFACE_2 which is an example const defined within Esq_scene_el.as class exported from Esquimo editor.
To find out more about Gear-wheel object structure and its parameters go here.