Lore archive · Warcraft Wiki, 2023 dump
API ModelScene Project3DPointTo2D
Last wiki revision 2020-11-07
Converts a 3 dimensional point into clip space using the model scene camera properties. x, y, z = Project3DPointTo2D(x, y, z)
- x, y, z :
- x, y : - Screen-space position as viewed by the model scene camera
- z : - Depth value for the point
- This can be used to achieve various effects, from having a frame sit in a specific position on a 3D model that is being rotated/moved, to calculating and drawing 3d quads and triangles using
Source
https://warcraft.wiki.gg/wiki/API_ModelScene_Project3DPointTo2D · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.