Constructors
Properties
Optional
Readonly
activeBrushShape
Optional
Readonly
activeBrushVolume
Methods
activateBrushTool
activateBrushTool(): void Returns void
deactivateBrushTool
deactivateBrushTool(): void Returns void
endPainting
endPainting(cancelled: boolean): void
setBrushShapeOffset
setBrushShapeOffset(offset: Vector3): void
setBrushShapeVisible
setBrushShapeVisible(visible: boolean): void
setFlattenHeight
setFlattenHeight(flattenHeight: number): void
setFlattenRadius
setFlattenRadius(flattenRadius: number): void
setTerrainStrength
setTerrainStrength(terrainStrength: number): void
switchBrushPaintMode
switchBrushPaintMode(paintMode: PaintMode): 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.