Saga3D API Documentation
1.0-RC4
|
Go to the documentation of this file.
5 #ifndef __I_BILLBOARD_SCENE_NODE_H_INCLUDED__
6 #define __I_BILLBOARD_SCENE_NODE_H_INCLUDED__
14 class ICameraSceneNode;
27 const glm::vec3& position = glm::vec3(0,0,0))
31 virtual void setSize(
const glm::vec2& size) = 0;
38 virtual void setSize(
float height,
float bottomEdgeWidth,
float topEdgeWidth) = 0;
45 virtual const glm::vec2&
getSize()
const = 0;
52 virtual void getSize(
float& height,
float& bottomEdgeWidth,
float& topEdgeWidth)
const = 0;
Type for list of scene node animators.
IBillboardSceneNode(ISceneNode *parent, ISceneManager *mgr, std::int32_t id, const glm::vec3 &position=glm::vec3(0, 0, 0))
Constructor.
Scene Node which is a (controllable) camera.
virtual void setSize(const glm::vec2 &size)=0
Sets the size of the billboard, making it rectangular.
virtual const glm::vec2 & getSize() const =0
Returns the size of the billboard.
virtual void setColor(const video::SColor &overallColor)=0
Set the color of all vertices of the billboard.
virtual void getColor(video::SColor &topColor, video::SColor &bottomColor) const =0
Gets the color of the top and bottom vertices of the billboard.
virtual const core::aabbox3d< float > & getTransformedBillboardBoundingBox(const saga::scene::ICameraSceneNode *camera)=0
Get the real boundingbox used by the billboard, which can depend on the active camera.
Class representing a 32 bit ARGB color.