Isle
|
[AI] Scene graph node for parental transforms/color/material/texture; can hold meshes or other groups. More...
#include <tgl.h>
Public Member Functions | |
virtual Result | SetTransformation (FloatMatrix4 &)=0 |
[AI] Sets the group's transformation matrix. More... | |
virtual Result | SetColor (float r, float g, float b, float a)=0 |
[AI] Sets color (and alpha) for all geometry in the group. More... | |
virtual Result | SetTexture (const Texture *)=0 |
[AI] Sets a texture for the entire group. More... | |
virtual Result | GetTexture (Texture *&)=0 |
[AI] Gets the group's texture (if any). More... | |
virtual Result | SetMaterialMode (MaterialMode)=0 |
[AI] Sets material mode for the group (e.g., inherit vs. More... | |
virtual Result | Add (const Group *)=0 |
[AI] Adds a child group to this group. More... | |
virtual Result | Add (const MeshBuilder *)=0 |
[AI] Adds a mesh builder's mesh to the group. More... | |
virtual Result | Remove (const Group *)=0 |
[AI] Removes a child group from this group. More... | |
virtual Result | Remove (const MeshBuilder *)=0 |
[AI] Removes a mesh builder's mesh from group. More... | |
virtual Result | RemoveAll ()=0 |
[AI] Removes all children and meshes from the group. More... | |
virtual Result | Bounds (D3DVECTOR *, D3DVECTOR *)=0 |
[AI] Computes an axis-aligned bounding box for the group in world space. More... | |
![]() | |
virtual | ~Object () |
[AI] Destructor; releases resources. More... | |
virtual void * | ImplementationDataPtr ()=0 |
[AI] Returns a pointer to internal/implementation data, if any. More... | |
[AI] Scene graph node for parental transforms/color/material/texture; can hold meshes or other groups.
[AI]
[AI] Provides hierarchical operations and bounds calculation for a group and its children. [AI]
[AI] Adds a child group to this group.
[AI]
group | Group to add. [AI] |
Implemented in TglImpl::GroupImpl.
|
pure virtual |
[AI] Adds a mesh builder's mesh to the group.
[AI]
builder | Mesh builder providing mesh. [AI] |
Implemented in TglImpl::GroupImpl.
[AI] Computes an axis-aligned bounding box for the group in world space.
[AI]
pMin | Output min corner. [AI] |
pMax | Output max corner. [AI] |
Implemented in TglImpl::GroupImpl.
[AI] Gets the group's texture (if any).
[AI]
pTexture | Output pointer to texture. [AI] |
Implemented in TglImpl::GroupImpl.
[AI] Removes a child group from this group.
[AI]
group | Group to remove. [AI] |
Implemented in TglImpl::GroupImpl.
|
pure virtual |
[AI] Removes a mesh builder's mesh from group.
[AI]
builder | Mesh builder providing mesh. [AI] |
Implemented in TglImpl::GroupImpl.
|
pure virtual |
[AI] Removes all children and meshes from the group.
[AI]
Implemented in TglImpl::GroupImpl.
|
pure virtual |
[AI] Sets color (and alpha) for all geometry in the group.
[AI]
r | Red. [AI] |
g | Green. [AI] |
b | Blue. [AI] |
a | Alpha. [AI] |
Implemented in TglImpl::GroupImpl.
|
pure virtual |
[AI] Sets material mode for the group (e.g., inherit vs.
explicit). [AI]
mode | Material mode. [AI] |
Implemented in TglImpl::GroupImpl.
[AI] Sets a texture for the entire group.
[AI]
pTexture | Texture object. [AI] |
Implemented in TglImpl::GroupImpl.
|
pure virtual |
[AI] Sets the group's transformation matrix.
[AI]
mat | Transformation. [AI] |
Implemented in TglImpl::GroupImpl.