Tile - YVector3 - Rotate Vector – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with " ---- {{Ylands scripting navbox}} {{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}} Category: Literals Category: Ylands 0.12")
 
No edit summary
(7 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.
-->
== Rotate Vector(Rotation, Vector) ==
[[File:YlandsTile-565.png]]
<pre>static rotateVector(rotation: YVector3, point: YVector3): YVector3;</pre>
=== Parameters ===
==== rotation ====
Input rotation (vector)
==== point ====
Vector to be rotated
=== Returns ===
'''YVector3'''
=== Availability ===
[[Ylands:Tile Availability - Client|Client]], [[Ylands:Tile Availability - Server|Server]], [[Ylands:Tile Availability - Custom Controller|Custom Controller]]
=== Description ===
Allows to transform '''vector''' by specified '''rotation'''.




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


[[Category: Literals]]
[[Category: Instructions]]
[[Category: Ylands 0.12]]

Revision as of 12:17, 12 November 2021

Rotate Vector(Rotation, Vector)

YlandsTile-565.png

static rotateVector(rotation: YVector3, point: YVector3): YVector3;

Parameters

rotation

Input rotation (vector)

point

Vector to be rotated

Returns

YVector3

Availability

Client, Server, Custom Controller

Description

Allows to transform vector by specified rotation.