ViewportCameraSettingsClassProjectToScreenCoordinates Method (Vector3, Vector2, Boolean) |
Projects world position to screen coordinates.
Namespace:
NeoAxis
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public bool ProjectToScreenCoordinates(
Vector3 position,
out Vector2 screenPosition,
bool backsideReturnFalse = true
)
Parameters
- position
- Type: NeoAxisVector3
The world position. - screenPosition
- Type: NeoAxisVector2
The result screen coordinates. - backsideReturnFalse (Optional)
- Type: SystemBoolean
Return Value
Type:
Booleantrue if screen position successfully received; otherwise,
false.
See Also