#include <OGREInterfaces.h>
Inherits DigitalSpaces::DIObjectBase.
Public Member Functions | |
| DIOGREBillboard * | CreateBillboard (in_Vector3f *position) |
| Creates a new billboard and adds it to this set. | |
| DIOGREBillboard * | CreateBillboard (in_Vector3f *position, in_Vector4f *colour) |
| DIOGREBillboard * | CreateBillboard (float x, float y, float z) |
| Creates a new billboard and adds it to this set. | |
| DIOGREBillboard * | CreateBillboard (float x, float y, float z, in_Vector4f *colour) |
| int | GetNumBillboards (void) |
| Returns the number of active billboards which currently make up this set. | |
| void | SetAutoextend (bool autoextend) |
| Tells the set whether to allow automatic extension of the pool of billboards. | |
| bool | GetAutoextend (void) |
| Returns true if the billboard pool automatically extends. | |
| void | SetPoolSize (unsigned int size) |
| Adjusts the size of the pool of billboards available in this set. | |
| unsigned int | GetPoolSize (void) |
| Returns the current size of the billboard pool. | |
| void | Clear () |
| Empties this set of all billboards. | |
| DIOGREBillboard * | GetBillboard (unsigned int index) |
| Returns a pointer to the billboard at the supplied index. | |
| void | RemoveBillboard (unsigned int index) |
| Removes the billboard at the supplied index. | |
| void | RemoveBillboard (DIOGREBillboard *pBill) |
| Removes a billboard from the set. | |
| void | SetBillboardOrigin (OGREBillboardOrigin origin) |
| Sets the point which acts as the origin point for all billboards in this set. | |
| OGREBillboardOrigin | GetBillboardOrigin (void) |
| Gets the point which acts as the origin point for all billboards in this set. | |
| void | SetDefaultDimensions (float width, float height) |
| Sets the default dimensions of the billboards in this set. | |
| void | SetDefaultWidth (float width) |
| See setDefaultDimensions - this sets 1 component individually. | |
| float | GetDefaultWidth (void) |
| See setDefaultDimensions - this gets 1 component individually. | |
| void | SetDefaultHeight (float height) |
| See setDefaultDimensions - this sets 1 component individually. | |
| float | GetDefaultHeight (void) |
| See setDefaultDimensions - this gets 1 component individually. | |
| void | SetMaterialName (const char *name) |
| Sets the name of the material to be used for this billboard set. | |
| const char * | GetMaterialName (void) |
| Sets the name of the material to be used for this billboard set. | |
| bool | GetCullIndividually (void) |
| Returns whether or not billbards in this are tested individually for culling. | |
| void | SetCullIndividually (bool cullIndividual) |
| Sets whether culling tests billboards in this individually as well as in a group. | |
| void | SetBillboardType (OGREBillboardType bbt) |
| Sets the type of billboard to render. | |
| OGREBillboardType | GetBillboardType (void) |
| Returns the billboard type in use. | |
| void | SetCommonDirection (in_Vector3f *vec) |
| Use this to specify the common direction given to billboards of type BBT_ORIENTED_COMMON. | |
| void | GetCommonDirection (out_Vector3f *vec) |
| Gets the common direction for all billboards (BBT_ORIENTED_COMMON). | |
| DIOGREBillboard* DigitalSpaces::DIOGREBillboardSet::CreateBillboard | ( | in_Vector3f * | position | ) |
Creates a new billboard and adds it to this set.
| position | The position of the new billboard realtive to the certer of the set | |
| colour | Optional base colour of the billboard. |
| DIOGREBillboard* DigitalSpaces::DIOGREBillboardSet::CreateBillboard | ( | in_Vector3f * | position, | |
| in_Vector4f * | colour | |||
| ) |
| DIOGREBillboard* DigitalSpaces::DIOGREBillboardSet::CreateBillboard | ( | float | x, | |
| float | y, | |||
| float | z | |||
| ) |
Creates a new billboard and adds it to this set.
| x | ||
| y | ||
| z | The position of the new billboard realtive to the certer of the set | |
| colour | Optional base colour of the billboard. |
| DIOGREBillboard* DigitalSpaces::DIOGREBillboardSet::CreateBillboard | ( | float | x, | |
| float | y, | |||
| float | z, | |||
| in_Vector4f * | colour | |||
| ) |
| int DigitalSpaces::DIOGREBillboardSet::GetNumBillboards | ( | void | ) |
Returns the number of active billboards which currently make up this set.
| void DigitalSpaces::DIOGREBillboardSet::SetAutoextend | ( | bool | autoextend | ) |
Tells the set whether to allow automatic extension of the pool of billboards.
| autoextend | true to double the pool every time it runs out, false to fail silently. |
| bool DigitalSpaces::DIOGREBillboardSet::GetAutoextend | ( | void | ) |
Returns true if the billboard pool automatically extends.
| void DigitalSpaces::DIOGREBillboardSet::SetPoolSize | ( | unsigned int | size | ) |
Adjusts the size of the pool of billboards available in this set.
| size | The new size for the pool. |
| unsigned int DigitalSpaces::DIOGREBillboardSet::GetPoolSize | ( | void | ) |
Returns the current size of the billboard pool.
| void DigitalSpaces::DIOGREBillboardSet::Clear | ( | ) |
Empties this set of all billboards.
| DIOGREBillboard* DigitalSpaces::DIOGREBillboardSet::GetBillboard | ( | unsigned int | index | ) |
Returns a pointer to the billboard at the supplied index.
| index | The index of the billboard that is requested. |
| void DigitalSpaces::DIOGREBillboardSet::RemoveBillboard | ( | unsigned int | index | ) |
Removes the billboard at the supplied index.
| void DigitalSpaces::DIOGREBillboardSet::RemoveBillboard | ( | DIOGREBillboard * | pBill | ) |
Removes a billboard from the set.
| void DigitalSpaces::DIOGREBillboardSet::SetBillboardOrigin | ( | OGREBillboardOrigin | origin | ) |
Sets the point which acts as the origin point for all billboards in this set.
| origin | A member of the OGREBillboardOrigin enum specifying the origin for all the billboards in this set. |
| OGREBillboardOrigin DigitalSpaces::DIOGREBillboardSet::GetBillboardOrigin | ( | void | ) |
Gets the point which acts as the origin point for all billboards in this set.
| void DigitalSpaces::DIOGREBillboardSet::SetDefaultDimensions | ( | float | width, | |
| float | height | |||
| ) |
Sets the default dimensions of the billboards in this set.
| width | The new default width for the billboards in this set. | |
| height | The new default height for the billboards in this set. |
| void DigitalSpaces::DIOGREBillboardSet::SetDefaultWidth | ( | float | width | ) |
See setDefaultDimensions - this sets 1 component individually.
| float DigitalSpaces::DIOGREBillboardSet::GetDefaultWidth | ( | void | ) |
See setDefaultDimensions - this gets 1 component individually.
| void DigitalSpaces::DIOGREBillboardSet::SetDefaultHeight | ( | float | height | ) |
See setDefaultDimensions - this sets 1 component individually.
| float DigitalSpaces::DIOGREBillboardSet::GetDefaultHeight | ( | void | ) |
See setDefaultDimensions - this gets 1 component individually.
| void DigitalSpaces::DIOGREBillboardSet::SetMaterialName | ( | const char * | name | ) |
Sets the name of the material to be used for this billboard set.
| name | The new name of the material to use for this set. |
| const char* DigitalSpaces::DIOGREBillboardSet::GetMaterialName | ( | void | ) |
Sets the name of the material to be used for this billboard set.
| bool DigitalSpaces::DIOGREBillboardSet::GetCullIndividually | ( | void | ) |
Returns whether or not billbards in this are tested individually for culling.
| void DigitalSpaces::DIOGREBillboardSet::SetCullIndividually | ( | bool | cullIndividual | ) |
Sets whether culling tests billboards in this individually as well as in a group.
| cullIndividual | If true, each billboard is tested before being sent to the pipeline as well as the whole set having to pass the coarse group bounding test. |
| void DigitalSpaces::DIOGREBillboardSet::SetBillboardType | ( | OGREBillboardType | bbt | ) |
Sets the type of billboard to render.
| bbt | The type of billboard to render |
| OGREBillboardType DigitalSpaces::DIOGREBillboardSet::GetBillboardType | ( | void | ) |
Returns the billboard type in use.
| void DigitalSpaces::DIOGREBillboardSet::SetCommonDirection | ( | in_Vector3f * | vec | ) |
Use this to specify the common direction given to billboards of type BBT_ORIENTED_COMMON.
| vec | The direction for all billboards. |
| void DigitalSpaces::DIOGREBillboardSet::GetCommonDirection | ( | out_Vector3f * | vec | ) |
Gets the common direction for all billboards (BBT_ORIENTED_COMMON).
1.5.6