Tile - YVector3 - Reflect – Ylands

From Bohemia Interactive Community
Revision as of 14:35, 24 November 2023 by Lou Montana (talk | contribs) (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
(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.