Tile - YVector3 - Rotate Vector – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "^ ---- \{\{Navbox\/Ylands\}\}" to "{{Stub}} ---- \{\{Navbox\/Ylands\}\}")
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Stub}}
<!---
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'''.




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


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

Latest revision as of 14:35, 24 November 2023

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.