Tile - YVector3 - Reflect – Ylands

From Bohemia Interactive Community
Revision as of 17:46, 1 December 2022 by YlandsClassyBot (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.