The view model for
VoxelInspector
.
参数名称 | 类型 | 描述信息 |
---|---|---|
scene |
Scene | The scene instance to use. |
成员(属性)
readonly scene : Scene
Gets the scene
Gets or sets the primitive of the view model.
方法
Compiles the shader in the shader editor.
Destroys the widget. Should be called if permanently
removing the widget from layout.
返回值:
true if the object has been destroyed, false otherwise.
Handles key press events on the shader editor.
Toggles the visibility of the bounds section
Toggles the visibility of the clipping section
Toggles the visibility of the display section
Toggles the inspector visibility
Toggles the visibility of the shader section
Toggles the visibility of the transform section