PathEngine home previous: iTestBed::drawLine2D()next: iTestBed::enterAdditiveBlendingPhase()
Contents, API Reference, Interfaces, iTestBed, enter2DMode

iTestBed::enter2DMode()

Description

Switch to 2D rendering mode.

Syntax

void enter2DMode();

Remarks

When in 2D mode, geometry coordinates are interpreted directly in screen space.

Each call to this method must be followed by a matching call to iTestBed::exit2DMode() (to return to 3D mode). This method should not be called when already in 2D mode, and 3D mode should be restored before the end of the update frame.

C# Mapping

void enter2DMode();

Java Mapping

void enter2DMode();

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