iFoliageObject Struct Reference
A representation of an object in the foliage mesh. More...
#include <imesh/foliage.h>
Inheritance diagram for iFoliageObject:

Public Member Functions | |
virtual csPtr< iFoliageGeometry > | CreateGeometry (size_t lodslot)=0 |
Create a new geometry for this object at the specified LOD slot. | |
virtual csPtr< iFoliageGeometry > | CreateGeometryLOD (size_t fromslot, size_t toslot, float factor)=0 |
After setting the geometry for specific lod slots you can use this function to automatically create the geometry for a missing LOD slots by using a triangle reduction algorithm. | |
virtual iFoliageGeometry * | GetGeometry (size_t lodslot)=0 |
Get the geometry at the specified lodslot. | |
virtual iLODControl * | GetLODControl ()=0 |
Return the LOD control for this object. | |
virtual size_t | GetMaxLodSlot () const =0 |
Get the maximum lodslot number that has been used by this object. | |
virtual const char * | GetName () const =0 |
Get the name of this object. |
Detailed Description
A representation of an object in the foliage mesh.An object represents geometry at different LOD levels (using iFoliageGeometry).
Definition at line 94 of file foliage.h.
Member Function Documentation
|
Create a new geometry for this object at the specified LOD slot. Note that this function can also be used to replace geometry that is already in that slot.
|
|
After setting the geometry for specific lod slots you can use this function to automatically create the geometry for a missing LOD slots by using a triangle reduction algorithm.
|
|
Get the geometry at the specified lodslot.
|
|
Return the LOD control for this object.
|
|
Get the maximum lodslot number that has been used by this object. Returns ~0 in case there is no geometry yet. |
|
Get the name of this object.
|
The documentation for this struct was generated from the following file:
- imesh/foliage.h
Generated for Crystal Space by doxygen 1.4.4