Functions | |
| RpWorld * | RwCameraGetWorld (const RwCamera *camera) |
| RwCamera * | RwCameraForAllSectorsInFrustum (RwCamera *camera, RpWorldSectorCallBack callback, void *data) |
| RwCamera * | RwCameraForAllClumpsInFrustum (RwCamera *camera, void *data) |
| RwCamera * | RwCameraForAllAtomicsInFrustum (RwCamera *camera, RpAtomicCallBack callback, void *data) |
The World plugin directly extends the Core Library's Camera API (RwCamera). Additional functionality provided when RpWorld is attached is as follows:
Further information is available in the Camera chapter of the User Guide.
|
||||||||||||||||
|
RwCameraForAllAtomicsInFrustum is used to determine which atomics lie wholly or partially within the specified camera's view frustum and then to execute the specified callback function on each atomic found. The enumeration may be terminated at any time by returning NULL from the atomic callback.
|
|
||||||||||||
|
RwCameraForAllClumpsInFrustum is used to determine which clumps lie wholly or partially within the specified camera's view frustum and then to execute each of those clump's callback function (see RpClumpSetCallBack). The enumeration may be terminated at any time by returning NULL from the clump callback.
The world plugin must be attached before using this function.
|
|
||||||||||||||||
|
RwCameraForAllSectorsInFrustum is used to apply the given callback function to all world sectors that lie inside the specified camera's view frustum. World sectors that are only partially inside the camera's frustum will also get a callback. The format of the callback function is: RpWorldSector *(*RpWorldSectorCallBack)(RpWorldSector *sector, void *data);
|
|
|
RwCameraGetWorld is used to determine the world the specified camera belongs to, if any. This function is a world plugin extension and the world plugin must be attached before using this function.
|
© 1993-2004 Criterion Software Limited. All rights reserved. Built Thu Feb 12 13:46:55 2004.
Send Feedback