#include <billboard.hh>
Inheritance diagram for A3DL::Billboard:
The first two components of the object's scaling property define the X and Y dimensions. The Z scaling is ignored. The orientation is also ignored: billboard objects always face the viewer, and are always "right side up". The metaobject type for billboard objects is "object3D.billboard". Position and scaling properties are as in the "object3D" type, and a "material" property (containing a texture image or solid color) is added.
You should create new Billboard objects using MetaFactory. After creation, you must call setPropertyAccessControl() on the new object, as well as setPosition(), setScaling() (even though the Z scaling factory is ignored, you should supply a value), and setOrientation() (even though the orientation is irrelevant) -- Object3D requires values for all of these properties to work.
MeshBase for texture (material) related methods.
Definition at line 60 of file billboard.hh.
|
Definition at line 31 of file billboard.cc. Referenced by new_Billboard(). |
|
Definition at line 36 of file billboard.cc. |
|
Reimplemented from A3DL::Object3D. Definition at line 46 of file billboard.cc. |
|
Definition at line 41 of file billboard.cc. |
|
Reimplemented from A3DL::Object3D. Definition at line 51 of file billboard.cc. |