public |
Inheritance Graph
graph BT
BillboardNode
BillboardNode --> GeometryNode
click BillboardNode "classMinSG_1_1BillboardNode"
click GeometryNode "classMinSG_1_1GeometryNode"
Description
A rectangle which automatically rotates to face the observer. [ BillboardNode ]> [ GeometryNode ] | > [ Node ] 2010-08-07 CJ |
Public Functions
BillboardNode( Geometry::Rect _rect, bool rotateUpAxis, bool rotateRightAxis) | ||
~BillboardNode() | ||
const Geometry::Rect & | getRect() const | |
void | setRect( Geometry::Rect _rect) | |
bool | getRotateUpAxis() const | |
bool | getRotateRightAxis() const | |
void | doDisplay( FrameContext & context, const RenderParam & rp) |
> [ Node ] |
Documentation
function
MinSG::BillboardNode::BillboardNode
public |
BillboardNode( | Geometry::Rect | _rect, |
bool | rotateUpAxis, | |
bool | rotateRightAxis | |
) |
Parameters
- rotateUpAxis
- Orient the up-axis automatically orthogonal to the camera For clouds and fog probably “true”, for trees and peoable probably “false”
- rotateRightAxis
- Orient the right-axis automatically orthogonal to the camera E.g. for multiscreen support
Defined in MinSG/Ext/Nodes/BillboardNode.h:37
function
MinSG::BillboardNode::~BillboardNode
public | virtual |
~BillboardNode( | ) |
Defined in MinSG/Ext/Nodes/BillboardNode.h:38
function
MinSG::BillboardNode::getRect
public | const | inline |
const Geometry::Rect & getRect( | ) const |
Defined in MinSG/Ext/Nodes/BillboardNode.h:40
function
MinSG::BillboardNode::setRect
public |
void setRect( | Geometry::Rect | _rect ) |
Defined in MinSG/Ext/Nodes/BillboardNode.h:41
function
MinSG::BillboardNode::getRotateUpAxis
public | const | inline |
bool getRotateUpAxis( | ) const |
Defined in MinSG/Ext/Nodes/BillboardNode.h:42
function
MinSG::BillboardNode::getRotateRightAxis
public | const | inline |
bool getRotateRightAxis( | ) const |
Defined in MinSG/Ext/Nodes/BillboardNode.h:43
function
MinSG::BillboardNode::doDisplay
public | virtual |
void doDisplay( | FrameContext & | context, |
const RenderParam & | rp | |
) |
> [ Node ] |
Defined in MinSG/Ext/Nodes/BillboardNode.h:46