Tile - YTerrain - Apply Shape – Ylands
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 24: | Line 24: | ||
==== onFailure ==== | ==== onFailure ==== | ||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | === Description === |
Revision as of 11:16, 12 November 2021
Apply Shape(Shape, Position, Rotation, Dimensions, Material, Mode, On success, On failure)
static applyShape(shape: YTerrainStampShape, position: YVector3, rotation: YVector3, dimensions: YVector3, material: YVoxel, applyMode: YTerrainStampingMode, onSuccess: () => void, onFailure: (failReason: YTerrainStampError) => void): void;
Parameters
shape
position
rotation
dimensions
material
applyMode
onSuccess
onFailure
Availability
Description
Allows to apply or remove terrain of the selected material to/from the selected shape.
Notes
- Calls further instructions on success or failure.