Ylands:Tile - YVector3 - Scale: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Ylands scripting navbox}}" to "{{Ylands editor navbox}}") |
No edit summary |
||
(3 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}}|14}}}} | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Revision as of 11:17, 12 November 2021
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.