Tile - YVector3 - Scale – Ylands
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Ylands scripting navbox}}" to "{{Ylands editor navbox}}") |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[ | <!--- | ||
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | |||
*Every component in the result is a component of A multiplied by the same component of B. | --> | ||
== Scale(A, B) == | |||
[[File:YlandsTile-155.png]] | |||
<pre>static scale(a: YVector3, b: YVector3): YVector3;</pre> | |||
=== Parameters === | |||
==== a ==== | |||
Vector A | |||
==== b ==== | |||
Vector B | |||
=== Returns === | |||
'''YVector3''' | |||
=== Availability === | |||
[[Ylands:Tile Availability - Client|Client]], [[Ylands:Tile Availability - Server|Server]], [[Ylands:Tile Availability - Custom Controller|Custom Controller]] | |||
=== Description === | |||
'''Multiplies''' two '''vectors''' component-wise. | |||
=== Notes === | |||
* Every component in the result is a component of A multiplied by the same component of B. | |||
---- | ---- | ||
{{Ylands | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Latest revision as of 14:35, 24 November 2023
Scale(A, B)
static scale(a: YVector3, b: YVector3): YVector3;
Parameters
a
Vector A
b
Vector B
Returns
YVector3
Availability
Client, Server, Custom Controller
Description
Multiplies two vectors component-wise.
Notes
- Every component in the result is a component of A multiplied by the same component of B.