Tile - YVector3 - Reflect – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "<!--- THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. --> == Reflect(Direction, Plane normal) == File:Yla...")
 
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
Line 32: Line 32:
----
----
{{Navbox/Ylands}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


[[Category: Instructions]]
[[Category: Instructions]]

Latest revision as of 14:35, 24 November 2023

Reflect(Direction, Plane normal)

YlandsTile-1375.png

static reflect(direction: YVector3, planeNormal: YVector3): YVector3;

Parameters

direction

planeNormal

Returns

YVector3

Availability

Client, Server, Custom Controller

Description

Returns a reflected direction vector from the plane specified by its normal vector.

Notes

  • The returned vector is of equal magnitude to the incoming direction vector, but with its direction reflected.