Changeset 94 for trunk/VUT/Ogre/include
- Timestamp:
- 05/12/05 18:55:25 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/Ogre/include/OgrePlatformHierarchyInterface.h
r92 r94 34 34 GtpVisibility::OcclusionQuery *GetNextOcclusionQuery(); 35 35 36 /** Sets the current camera .36 /** Sets the current camera used for the rendering. 37 37 @param cam the current camera 38 38 */ 39 39 void SetCamera(Camera *cam); 40 40 /** Sets the current camera used for culling. 41 @param cam the current camera 42 @remark the default is the camera used for rendering 43 */ 44 void SetCullCamera(Camera *cullCam); 41 45 /** Initialises this scene traverser for the current frame. 42 46 @param root root of the hierarchy 43 47 @param cam current camera 48 @param cullCam the camera used for culling. If null, the current camera is used 44 49 @remark convenience method wich calls VisibilitySceneTraverser::initFrame, 45 50 sets the current camera, and initialises the distance queue. 46 51 */ 47 void InitFrame(GtpVisibility::HierarchyNode *root, Ogre::Camera *cam);52 void InitFrame(GtpVisibility::HierarchyNode *root, Camera *cam, Camera *cullCam = NULL); 48 53 /** Checks if the node is visible from the current view frustum. 49 54 @param node the current node … … 95 100 96 101 Camera *mCamera; 102 Camera *mCullCamera; 103 97 104 AxisAlignedBox mBox; 98 105
Note: See TracChangeset
for help on using the changeset viewer.