Tile - YVector3 - Rotate Vector – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (YlandsClassyBot moved page Ylands Tile - Vector3 rotate vector to Ylands:Tile - YVector3 - Rotate Vector: New Structure)
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Wiki|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.