VoxelInspectorViewModel

external class VoxelInspectorViewModel(val scene: Scene)(source)

The view model for VoxelInspector.

See also

Constructors

Link copied to clipboard
constructor(scene: Scene)

Properties

Link copied to clipboard

The scene instance to use.

Link copied to clipboard

Gets or sets the primitive of the view model.

Functions

Link copied to clipboard

Compiles the shader in the shader editor.

Link copied to clipboard
fun destroy()

Destroys the widget. Should be called if permanently removing the widget from layout.

Link copied to clipboard
Link copied to clipboard

Handles key press events on the shader editor.

Link copied to clipboard

Toggles the visibility of the bounds section

Link copied to clipboard

Toggles the visibility of the clipping section

Link copied to clipboard

Toggles the visibility of the display section

Link copied to clipboard

Toggles the inspector visibility

Link copied to clipboard

Toggles the visibility of the shader section

Link copied to clipboard

Toggles the visibility of the transform section