IMyCameraWorldToScreen Method |
[This is preliminary documentation and is subject to change.]
Gets screen coordinates of 3d world pos in 0 - 1 distance where 1.0 is screen width(for X) or height(for Y).
WARNING: Y is from bottom to top.
Namespace: VRage.ModAPIAssembly: VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax Vector3D WorldToScreen(
ref Vector3D worldPos
)
Parameters
- worldPos
- Type: Vector3D
World position.
Return Value
Type:
Vector3DScreen coordinate in 0-1 distance.
See Also