iVisibilityObject Struct Reference
[Visibility]
An object that wants to know if it is visible or not for some visibility culler needs to implement this interface.
More...
#include <viscull.h>
Inheritance diagram for iVisibilityObject:

Public Methods | |
virtual iMovable * | GetMovable () const=0 |
Get the reference to the movable from this object. | |
virtual iMeshWrapper * | GetMeshWrapper () const=0 |
Get the reference to the mesh wrapper from this object. | |
virtual void | SetVisibilityNumber (uint32 visnr)=0 |
Set the visibility number for this object. | |
virtual uint32 | GetVisibilityNumber () const=0 |
Get the visibility number. | |
virtual iObjectModel * | GetObjectModel ()=0 |
Get the object model corresponding with this object. | |
virtual csFlags & | GetCullerFlags ()=0 |
Get flags for this object. |
Detailed Description
An object that wants to know if it is visible or not for some visibility culler needs to implement this interface.
Definition at line 214 of file viscull.h.
Member Function Documentation
|
Get flags for this object. This is a combination of zero or more of the following flags. See the documentation with these flags for more info: |
|
Get the reference to the mesh wrapper from this object.
|
|
Get the reference to the movable from this object.
|
|
Get the object model corresponding with this object.
|
|
Get the visibility number. You can compare this with iVisibilityCuller->GetCurrentVisibilityNumber(). If equal then this object is visible. |
|
Set the visibility number for this object. A visibility culler will set the visibility number of an object equal to the current visibility culler number if the object is visible. |
The documentation for this struct was generated from the following file:
- iengine/viscull.h
Generated for Crystal Space by doxygen 1.2.18