PathEngine home previous: iTestBed::update()next: iTestBed::zoomExtents()
Contents, API Reference, Interfaces, iTestBed, worldToScreen

iTestBed::worldToScreen()

Description

Project a position in world coordinates into screen space, based on the current camera position and orientation.

Syntax

void worldToScreen(float worldX, float worldY, float worldZ, float& screenX, float& screenY) const;

Parameters

worldX X coordinate of world position to project.
worldY Y coordinate of world position to project.
worldZ Z coordinate of world position to project.
screenX X coordinate of projected position on screen.
screenY X coordinate of projected position on screen.

C# Mapping

void worldToScreen(float worldX, float worldY, float worldZ, out float screenX, out float screenY);

Java Mapping

void worldToScreen(float worldX, float worldY, float worldZ, float_OutArgument screenX, float_OutArgument screenY);

Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEnginenext: iTestBed::zoomExtents()