MeshDynamicGui

Description

sealed class Tinman.AddOns.Components.MeshDynamicGui

Full source code is included in the Tinman 3D SDK download.

A GUI component that displays the properties of a IMeshDynamic object.

The following default Layout settings are defined for MeshDynamicGui objects:

Public / Constants

Label​Auto​Pause


[Localized]
public constant LabelAutoPause → ("Enable CPU auto-pause?":string)

Label for toggling auto-pause of mesh refinement.

Label​Quality


[Localized]
public constant LabelQuality → ("Quality":string)

Label for the refinement quality setting.

Label​Resume


[Localized]
public constant LabelResume → ("Resume":string)

Label for resuming paused mesh refinement.

Label​Status


[Localized]
public constant LabelStatus → ("Status":string)

Label fro refinement status of mesh.

Label​Threshold


[Localized]
public constant LabelThreshold → ("Visible":string)

Label for the refinement threshold of visible vertices.

Label​Visible


[Localized]
public constant LabelVisible → ("Visible":string)

Label for number of visible mesh vertices.

Public / Constructors

Mesh​Dynamic​Gui


public constructor MeshDynamicGui → ()

Creates a new instance of MeshDynamicGui.

Public / Methods

Set​Quality​Threshold


public method SetQualityThreshold → (4)

scale in : float64

Scale factor from quality threshold value (see IMeshDynamic.QualityThreshold) to GUI ticks (see Slider.Value).

range in : RangeI

The GUI tick range to set for the control.

initial in : int32

The initial GUI tick value to use.

unit in : string

The unit name to show.

Configures the control for the terrain mesh quality threshold.

The default values are:

  • scale in = 10

  • range in = [10..50]

  • initial in = 25

  • unit in = ' px/10'

Public / Attributes

Mesh


public attribute Mesh → (get,set)

value : IMeshDynamic

The mesh object or null if none.

The current mesh object.