Meta_GeoGroup
Module: Metanodes / Definitions
A GeoGroup contains a collection of polygons which share a single material. It may contain multiple Meta_Mesh nodes.
#include <meta_importables.hpp>
Public Types
Type | Name |
---|---|
enum | CullFace { CullFace_None = 1, CullFace_Front = 1028, CullFace_Back = 1029 } Values for Idx_CullFace. |
enum | DrawMode { DrawMode_Points = 6912, DrawMode_Lines = 6913, DrawMode_Solid = 6914 } Values for Idx_DrawMode. |
enum | IDX { Idx_Enabled, Idx_Material, Idx_CullFace, Idx_LockMaterial, Idx_DrawMode, Idx_BakedLighting, Idx_ShadowCaster, Idx_IgnoreCoverageLOD } Property index. |
Public Types Documentation
enum CullFace
Enumerator | Value | Description |
---|---|---|
CullFace_None | 1 | Disable face culling (Symbols - C: "CullFaceNone" , Lua: __GeoGroup_CullFaceNone ) |
CullFace_Front | 1028 | Cull front faces (Symbols - C: "CullFaceFront" , Lua: __GeoGroup_CullFaceFront ) |
CullFace_Back | 1029 | Cull back faces (Symbols - C: "CullFaceBack" , Lua: __GeoGroup_CullFaceBack ) |
Values for Idx_CullFace.
enum DrawMode
Enumerator | Value | Description |
---|---|---|
DrawMode_Points | 6912 | Draw as points (Symbols - C: "DrawModePoints" , Lua: __GeoGroup_DrawModePoints ) |
DrawMode_Lines | 6913 | Draw as lines (Symbols - C: "DrawModeLines" , Lua: __GeoGroup_DrawModeLines ) |
DrawMode_Solid | 6914 | Draw as triangles (Symbols - C: "DrawModeSolid" , Lua: __GeoGroup_DrawModeSolid ) |
Values for Idx_DrawMode.
enum IDX
Enumerator | Value | Description |
---|---|---|
Idx_Enabled | bool - When enabled, mesh children are drawn | |
Idx_Material | link - The material to draw the meshes with (Meta_StdMaterial, Meta_GUIMaterial, Meta_WaterMaterial) | |
Idx_CullFace | CullFace (int) - How to cull the mesh faces | |
Idx_LockMaterial | bool - When enabled, material overrides from Meta_Visual are ignored | |
Idx_DrawMode | DrawMode (int) - How to draw the meshes | |
Idx_BakedLighting | bool - When enabled, meshes are not affected by scene lighting | |
Idx_ShadowCaster | bool - When enabled, the meshes cast shadows | |
Idx_IgnoreCoverageLOD | bool - When enabled, the meshes render regardless of whether or not the scene coverage LOD controls are enabled |
Property index.