PathEngine home | previous: | next: |
Interface to the PathEngine testbed.
Defined in SDKRoot/code/externalAPI/i_testbed.h.
This interface is only available when linking with the PathEngine testbed.
A pointer to the iTestBed interface is passed into a test application when it is loaded by the testbed (see
There is only one instance of the object that provides this interface. This object cannot be deleted so operator delete has been made private.
Increments the internal reference count for this API object. | ||
Increments the internal reference count for this API object. | ||
Processes image file contents, to prepare for rendering. | ||
Loads the contents of a wav file into memory to be later played by | ||
Displays a 2D image in front of the scene, touching the bottom left corner of the viewport. | ||
Displays a 2D image in front of the scene, and centred in the viewport. | ||
Draws a line in screen space. | ||
Switch to 2D rendering mode. | ||
Switches to additive blending rendering mode. | ||
Switch back 2D rendering mode. | ||
Queries the current camera position. | ||
Used to query testbed command line arguments. | ||
Returns the major version number for the code supporting this interface. | ||
Returns the minor version number for the code supporting this interface. | ||
Tells you whether or not a specified key is down. | ||
Tells you whether or not the left mouse button is down. | ||
Retrieves a movement delta for the mouse in screen coordinates. | ||
Retrieves the current position of the mouse within the testbed window. | ||
Used to query testbed command line arguments. | ||
Tells you whether or not the right mouse button is down. | ||
Obtains a set of attributes for the object that provides this interface. | ||
Query the current rendering viewport size. | ||
Report an error. | ||
Enables you to check whether there are any outstanding references on this object, other than the interface reference through which you are calling, and therefore whether this object will actually be deleted if you call its release method. | ||
Loads camera position and orientation back from persistence. | ||
Points the camera at a target. Can be used for a chase camera. | ||
Creates an | ||
Plays a sound. | ||
Prints a horizontal line of text at a y position that is incremented with each call in a given frame. | ||
Used to obtain messages about any keys that went up or down since the last frame. | ||
Releases the API object pointer. | ||
Render geometry such as lines and polygons. | ||
Render geometry such as lines and polygons, with a world offset. | ||
Report an error. | ||
Saves current camera position and orientation. | ||
Reverse project a position to world coordinates from screen space, based on the current camera position and orientation. | ||
Sets the multiplier value to be applied in additive blending mode. | ||
Sets the background colour, by colour name. | ||
Sets the background colour. | ||
Set control state for built in testbed controls, based on mouse movement. | ||
Supply a target position that can be used to adjust camera target distance during camera control interactions, for more intuitive behaviour. | ||
Sets colour for rendered elements that do not have their own colour information, such as render geometry and text, by colour name. | ||
Sets colour for rendered elements that do not have their own colour information, such as render geometry and text. | ||
Process application events and advance to the next rendering frame. | ||
Project a position in world coordinates into screen space, based on the current camera position and orientation. | ||
Position the camera at a position zoomed out enough to make a given set of points visible. |
Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEngine | next: |