Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

RwObject
[Objects, Frames & Hierarchies]


Data Structures

struct   RwObject

Typedefs

typedef RwObject *(*  RwObjectCallBack )(RwObject *object, void *data)

Functions

RwUInt32  RwObjectGetType (RwObject *object)

Detailed Description

object

RwObject Overview

Requirements

Overview

A base object from which some RenderWare objects are derived.

RwObject-derived objects are:

It is therefore possible to write functions that simulate C++'s polymorphism features by querying the RwObject ID of a passed RwObject and acting on the result.

Typedef Documentation

typedef RwObject*(* RwObjectCallBack)(RwObject *object, void *data)
 

RwObjectCallBack callback function supplied for object callback functions.

Parameters:
object  Pointer to the current object, supplied by iterator.
data  Pointer to developer-defined data structure.
Returns:
Pointer to the current object
See also:
RwFrameForAllObjects

Function Documentation

RwUInt32 RwObjectGetType RwObject   object
 

RwObjectGetType is used to retrieve the type ID of the specified object. The ID can be used to identify the type of the object.

Parameters:
object  Pointer to the object.
Returns:
Returns aa RwUInt32 value equal to the type ID. Supported types are:

Criterion Software © 1993-2003 Criterion Software Limited. All rights reserved. Built Tue Apr 22 12:46:17 2003. Send Feedback
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)