Tile - YTerrain - Apply Shape – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Wiki|stub}} ---- {{Navbox/Ylands}} {{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}} Category: Instructions Category: Ylands 1.6")
 
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Wiki|stub}}
<!---
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
-->
== Apply Shape(Shape, Position, Rotation, Dimensions, Material, Mode, On success, On failure) ==
 
[[File:YlandsTile-978.png]]
 
<pre>static applyShape(shape: YTerrainStampShape, position: YVector3, rotation: YVector3, dimensions: YVector3, material: YVoxel, applyMode: YTerrainStampingMode, onSuccess: () =&gt; void, onFailure: (failReason: YTerrainStampError) =&gt; void): void;</pre>
=== Parameters ===
 
==== shape ====
 
==== position ====
 
==== rotation ====
 
==== dimensions ====
 
==== material ====
 
==== applyMode ====
 
==== onSuccess ====
 
==== onFailure ====
 
=== Availability ===
 
[[Ylands:Tile Availability - Server|Server]]
 
=== Description ===
 
Allows to '''apply''' or '''remove''' terrain of the selected '''material''' to/from the selected '''shape'''.
 
=== Notes ===
 
* Calls further instructions on '''success''' or '''failure'''.




----
----
{{Navbox/Ylands}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 1.6]]

Latest revision as of 14:27, 24 November 2023

Apply Shape(Shape, Position, Rotation, Dimensions, Material, Mode, On success, On failure)

YlandsTile-978.png

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

Server

Description

Allows to apply or remove terrain of the selected material to/from the selected shape.

Notes

  • Calls further instructions on success or failure.