UGDK
|
#include <node.h>
Public Types | |
typedef std::vector< Node * > | NodeSet |
Public Member Functions | |
Node (Drawable *drawable=NULL, Modifier *modifier=NULL) | |
~Node () | |
void | Update (double dt) |
Pushes the modifier to the VideoManager, renders. | |
void | Render () const |
void | RenderLight () const |
void | set_drawable (Drawable *drawable) |
void | set_light (Light *light) |
void | set_active (const bool active) |
void | set_zindex (const double zindex) |
Modifier * | modifier () |
const Modifier * | modifier () const |
Drawable * | drawable () |
const Drawable * | drawable () const |
Light * | light () |
const Light * | light () const |
bool | active () const |
double | zindex () const |
void | AddChild (Node *new_child) |
void | RemoveChild (Node *child) |
void | SortChildren () |
Static Public Member Functions | |
static bool | CompareByZIndex (const Node *a, const Node *b) |
typedef std::vector<Node*> ugdk::graphic::Node::NodeSet |
ugdk::graphic::Node::Node | ( | Drawable * | drawable = NULL , |
Modifier * | modifier = NULL |
||
) | [inline] |
bool ugdk::graphic::Node::active | ( | ) | const [inline] |
void ugdk::graphic::Node::AddChild | ( | Node * | new_child | ) | [inline] |
bool ugdk::graphic::Node::CompareByZIndex | ( | const Node * | a, |
const Node * | b | ||
) | [static] |
Drawable* ugdk::graphic::Node::drawable | ( | ) | [inline] |
const Drawable* ugdk::graphic::Node::drawable | ( | ) | const [inline] |
Light* ugdk::graphic::Node::light | ( | ) | [inline] |
const Light* ugdk::graphic::Node::light | ( | ) | const [inline] |
Modifier* ugdk::graphic::Node::modifier | ( | ) | [inline] |
const Modifier* ugdk::graphic::Node::modifier | ( | ) | const [inline] |
void ugdk::graphic::Node::RemoveChild | ( | Node * | child | ) |
void ugdk::graphic::Node::Render | ( | ) | const |
void ugdk::graphic::Node::RenderLight | ( | ) | const |
void ugdk::graphic::Node::set_active | ( | const bool | active | ) | [inline] |
void ugdk::graphic::Node::set_drawable | ( | Drawable * | drawable | ) | [inline] |
void ugdk::graphic::Node::set_light | ( | Light * | light | ) | [inline] |
void ugdk::graphic::Node::set_zindex | ( | const double | zindex | ) |
void ugdk::graphic::Node::SortChildren | ( | ) |
void ugdk::graphic::Node::Update | ( | double | dt | ) |
Pushes the modifier to the VideoManager, renders.
double ugdk::graphic::Node::zindex | ( | ) | const [inline] |