|
| Node (Scene &scene, const std::string &name) |
|
| Node (const Node &)=delete |
|
| Node (Node &&)=delete |
|
Node & | operator= (const Node &)=delete |
|
Node & | operator= (Node &&)=delete |
|
virtual | ~Node ()=default |
|
Node * | getNode (const std::string &name) |
|
const Node * | getNode (const std::string &name) const |
|
Scene & | getScene () |
|
const Scene & | getScene () const |
|
Node * | createSceneNode (const std::string &name) |
|
void | attachLight (Resource::SharedPtr< Render::Light > light) |
|
void | attachMeshInstance (Resource::SharedPtr< Render::Mesh > mesh, Resource::SharedPtr< Render::Material > material=nullptr) |
|
void | attachCamera (Resource::SharedPtr< Render::Camera::Camera > camera) |
|
Render::Light * | getLight () |
|
const Render::Light * | getLight () const |
|
const MeshInstance * | getMeshInstance () const |
|
Render::Camera::Camera * | getCamera () |
|
const Render::Camera::Camera * | getCamera () const |
|
void | fetchVisibleObjects (const Renderer &renderer, const Render::View &renderView, const Render::Camera::Camera &camera, Render::Queue &renderQueue) const |
|
virtual void | needUpdate () override |
|
| Node (const std::string &name) |
|
| Node (const Node &)=delete |
|
| Node (Node &&)=delete |
|
Node & | operator= (const Node &)=delete |
|
Node & | operator= (Node &&)=delete |
|
void | setParent (Node *parent) |
|
Node * | getParent () const |
|
const std::string & | getName () const |
|
Node * | getNode (const std::string &name) |
|
const Node * | getNode (const std::string &name) const |
|
const Math::Vec3f & | getAbsolutePosition () |
|
const Math::Quatf & | getAbsoluteRotation () |
|
const Math::Vec3f & | getAbsoluteScale () |
|
const Math::Mat4x4f & | getTransform () |
|
const std::vector< Node * > & | getChildren () const |
|
void | attachChild (Node &child) |
|
void | translate (const Math::Vec3f &direction, TransformSpace space=TransformSpace::Local) |
|
void | rotate (float angle, const Math::Vec3f &axis, TransformSpace space=TransformSpace::Local) |
|
void | rotate (const Math::Quatf &quat, TransformSpace space=TransformSpace::Local) |
|
void | scale (const Math::Vec3f &scale) |
|
void | setPosition (const Math::Vec3f &position, TransformSpace space=TransformSpace::Local) |
|
void | setRotation (float angle, const Math::Vec3f &axis, TransformSpace space=TransformSpace::Local) |
|
void | setRotation (const Math::Quatf &rotation, TransformSpace space=TransformSpace::Local) |
|
void | setDirection (const Math::Vec3f &spaceTargetDirection, const Math::Vec3f &localDirectionVector, const Math::Vec3f &localUpVector, TransformSpace space=TransformSpace::Local) |
| Rotates the node according to the direction given in parameter. More...
|
|
void | lookAt (const Math::Vec3f &targetPosition, const Math::Vec3f &localDirectionVector, const Math::Vec3f &localUpVector, TransformSpace space=TransformSpace::Local) |
| Rotates the node in order to look at the target position. More...
|
|
| DirtyObject ()=default |
|
| DirtyObject (const DirtyObject &)=delete |
|
| DirtyObject (DirtyObject &&)=delete |
|
DirtyObject & | operator= (const DirtyObject &)=delete |
|
DirtyObject & | operator= (DirtyObject &&)=delete |
|
| ~DirtyObject ()=default |
|
void | setDirty () |
|
void | setDirty (uint32_t currentFrame) |
|
void | clearDirty () |
|
void | clearDirty (uint32_t currentFrame) |
|
bool | isDirty (uint32_t currentFrame) const |
|
bool | isDirty () const |
|
Definition at line 27 of file Node.hpp.