Meta_SphericalMarkerStyle

A SphericalMarkerStyle provides styling for the default Meta_Marker sphere model.

Public Types


Values for Idx_DepthTestMode.

DepthTestMode_Normal

Markers are occluded by objects in front of them (Symbols - C: "DepthTestModeNormal", Lua: __SphericalMarkerStyle_DepthTestModeNormal)

DepthTestMode_ShowThrough

Markers appear stippled through objects in front of them (Symbols - C: "DepthTestModeStipple", Lua: __SphericalMarkerStyle_DepthTestModeStipple)

DepthTestMode_AlwaysOnTop

Markers are always rendered on top of objects (Symbols - C: "DepthTestModeAlwaysOnTop", Lua: __SphericalMarkerStyle_DepthTestModeAlwaysOnTop)


enum IDX

Property index.

Idx_Visible

bool - Controls the visibility of all markers using this style

Idx_Size

float - Radius of the sphere; units depend on Idx_SizeMode

Idx_SizeMode

SizeMode (int) - How to size the markers

Idx_MinimumSize

float - Specifies the minimum view or screen size that this marker can display based on camera distance

Idx_MaximumSize

float - Specifies the maximum view or screen size that this marker can display based on camera distance

Idx_Material

link - Material to use when Idx_UseMaterialColour is true. Using a material means there are no highlight colour distinctions. (Meta_StdMaterial, Meta_GUIMaterial, Meta_WaterMaterial)

Idx_UseMaterialColour

bool - When enabled, uses the material specified in Idx_Material instead of the style colours

Idx_Colour

vec4f - Default marker colour when not using a material; RGBA 0.0f to 1.0f

Idx_Colour_hovering

vec4f - Default hover colour when not using a material; RGBA 0.0f to 1.0f

Idx_Colour_pressed

vec4f - Default pressed colour when not using a material; RGBA 0.0f to 1.0f

Idx_Colour_highlight

vec4f - Default highlight colour when not using a material; RGBA 0.0f to 1.0f

Idx_Subdivisions

int - Controls the density of the sphere mesh used to draw the marker. Higher number means smoother sphere.

Idx_CursorName

string - Name of the cursor to display when pointing at the marker. These are found in <usernode>/Cursors/Mouse/Cursor - defaults to "SceneDefault", which is the 3D cursor. "GUIDefault" is the 2D pointer.

Idx_DepthTestMode

DepthTestMode (int) - Controls how the marker is rendered when occluded by other objects

Idx_IgnoreProbes

bool - Specifies that markers with this style should not appear in Meta_LightProbe or Meta_ReflectionProbe output


Values for Idx_SizeMode.

SizeMode_World

Size is world units (Symbols - C: "SizeModeWorld", Lua: __SphericalMarkerStyle_SizeModeWorld)

SizeMode_View

Size is view units (Symbols - C: "SizeModeView", Lua: __SphericalMarkerStyle_SizeModeView)

SizeMode_Pixels

Size is pixels (Symbols - C: "SizeModePixels", Lua: __SphericalMarkerStyle_SizeModePixels)

SizeMode_Local

Size is world units with local scaling applied (Symbols - C: "SizeModeLocal", Lua: __SphericalMarkerStyle_SizeModeLocal)

No Results.

Getting StartedArchitectureBest PracticesHow ToAdvanced TopicsChangelogvrtreevrtree_cppvtCoreCoreForeign Function InterfaceMetanodesMigrationsObserversPropertiesSettingsTreeUtilitiesAPI DefinitionsVR ExchangePluginsLua API