VoxelInspectorViewModel

external class VoxelInspectorViewModel(val scene: <Error class: unknown class>)(source)

The view model for VoxelInspector.

See also

Constructors

Link copied to clipboard
constructor(scene: <Error class: unknown class>)

Properties

Link copied to clipboard
val scene: <Error class: unknown class>

The scene instance to use.

Link copied to clipboard
var voxelPrimitive: <Error class: unknown class>

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