Properties
Optional
Readonly
activeBrushShape
Optional
Readonly
activeBrushVolume
Methods
activateBrushTool
- activateBrushTool(): void
Returns void
deactivateBrushTool
- deactivateBrushTool(): void
Returns void
endPainting
- endPainting(cancelled: boolean): void
Returns void
setBrushShapeOffset
- setBrushShapeOffset(offset: Vector3): void
Returns void
setBrushShapeVisible
- setBrushShapeVisible(visible: boolean): void
Returns void
setSmoothStrength
- setSmoothStrength(smoothStrength: number): void
Returns void
switchBrushPaintMode
- switchBrushPaintMode(paintMode: PaintMode): void
Returns void
uiSettingValueChanged
- uiSettingValueChanged(
elementName: string,
newValue: string | number | boolean | Vector3,
): boolean Parameters
- elementName: string
- newValue: string | number | boolean | Vector3
Returns boolean
Remarks
This function can't be called in read-only mode.