Tile - YLogic - Scale – Ylands
Jump to navigation
Jump to search
m (YlandsClassyBot moved page Ylands Tile - Game logic position-rotation-scale to Ylands:Tile - YLogic - Scale: New Structure) |
No edit summary |
||
Line 1: | Line 1: | ||
<!--- | |||
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | |||
--> | |||
== Scale == | |||
[[File:YlandsTile-334-get.png]] | |||
[[ | [[File:YlandsTile-334-set.png]] | ||
<pre>get scale(): YVector3; | |||
set scale(value: YVector3);</pre> | |||
=== Description === | |||
Allows to '''get''' / '''set''' '''size''' of target game logic. | |||
=Notes= | === Notes === | ||
* | |||
*''' | * If written to console or log, the output of Get Scale will be in the format (0.000,0.000,0.000). It will not differentiate curved zones, such as the difference between a sphere of radius 1 and a 2x2x2 block. It will give the number in triplicate for things like '''Particle Effect''' Scale. '''Supported Game Logic''': | ||
* '''Environment''' | |||
* '''Impassable barrier''' | |||
* '''Particle Effect'''(if scalable) | |||
* '''Particle Template''' | |||
* '''Path''' | |||
* '''Play Area''' | |||
* '''Trigger Zone''' | |||
* '''Water Volume''' | |||
All the others will return (0.000, 0.000, 0.000). | |||
Line 30: | Line 34: | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Revision as of 08:52, 8 July 2021
Scale
get scale(): YVector3; set scale(value: YVector3);
Description
Allows to get / set size of target game logic.
Notes
- If written to console or log, the output of Get Scale will be in the format (0.000,0.000,0.000). It will not differentiate curved zones, such as the difference between a sphere of radius 1 and a 2x2x2 block. It will give the number in triplicate for things like Particle Effect Scale. Supported Game Logic:
- Environment
- Impassable barrier
- Particle Effect(if scalable)
- Particle Template
- Path
- Play Area
- Trigger Zone
- Water Volume
All the others will return (0.000, 0.000, 0.000).