Meta_Visual

A Visual provides an instance of a Meta_Model, and is attached as a child of a Meta_Assembly to position it in the scene.

Public Types


Values for Idx_CullFace.

CullFace_Default

No override - use whatever CullFace is specified by the model's Meta_GeoGroup nodes (Symbols - C: "CullFaceNoOverride", Lua: __Visual_CullFaceNoOverride)

CullFace_None

Disable face culling (Symbols - C: "CullFaceNone", Lua: __Visual_CullFaceNone)

CullFace_Front

Cull front faces (Symbols - C: "CullFaceFront", Lua: __Visual_CullFaceFront)

CullFace_Back

Cull back faces (Symbols - C: "CullFaceBack", Lua: __Visual_CullFaceBack)


Values for Idx_DrawMode.

DrawMode_Default

No override - use whatever DrawMode is specified by the model's Meta_GeoGroup nodes (Symbols - C: "DrawModeNoOverride", Lua: __Visual_DrawModeNoOverride)

DrawMode_Points

Draw as points (Symbols - C: "DrawModePoints", Lua: __Visual_DrawModePoints)

DrawMode_Lines

Draw as lines (Symbols - C: "DrawModeLines", Lua: __Visual_DrawModeLines)

DrawMode_Solid

Draw as triangles (Symbols - C: "DrawModeSolid", Lua: __Visual_DrawModeSolid)


enum IDX

Property index.

Idx_Enabled

bool - If true, model is drawn.

Idx_Model

link - The Meta_Model to draw if this is enabled.

Idx_Material

link - The override material to pass to the models geogroups, which will use this material unless theirs is 'locked'. (Meta_StdMaterial, Meta_GUIMaterial, Meta_WaterMaterial)

Idx_CullFace

CullFace (int) - The cull face mode to pass to the models geogroups.

Idx_DrawMode

DrawMode (int) - the polygon mode to pass to the models geogroups.

Idx_ShadowCaster

ShadowCaster (int) - indicates to the model whether it should be drawn into shadowmaps or not.

Idx_RenderToCamera

bool - indicates to the model whether it should be drawn into cameras or not.

Idx_Invert

bool - indicates to the models geogroups whether the polygon winding order should be reversed or not.


Values for Idx_ShadowCaster.

ShadowCaster_PerGeoGroup

No override - use whatever ShadowCaster mode is specified by the model's Meta_GeoGroup nodes (Symbols - C: "ShadowCasterPerGeoGroup", Lua: __Visual_ShadowCasterPerGeoGroup)

ShadowCaster_All

Force the model to cast shadows (Symbols - C: "ShadowCasterAll", Lua: __Visual_ShadowCasterAll)

ShadowCaster_None

Do not cast any shadows (Symbols - C: "ShadowCasterNone", Lua: __Visual_ShadowCasterNone)

No Results.

Getting StartedArchitectureBest PracticesHow ToAdvanced TopicsChangelogvrtreevrtree_cppvtCoreCoreForeign Function InterfaceMetanodesMigrationsObserversPropertiesSettingsTreeUtilitiesAPI DefinitionsVR ExchangePluginsLua API