19#ifndef HEADER_PER_CAMERA_HPP
20#define HEADER_PER_CAMERA_HPP
24#include <IDummyTransformationSceneNode.h>
25#include <ESceneNodeTypes.h>
28 namespace scene {
class ICameraSceneNode;
class ISceneNode;
class ISceneManager;
class IMesh; }
37 const int ESNT_PER_CAMERA_NODE = MAKE_IRR_ID(
'p',
'c',
'a',
'm');
48 core::matrix4 RelativeTransformationMatrix;
49 core::aabbox3d<f32> Box;
51 scene::ICameraSceneNode* m_camera;
52 scene::ISceneNode* m_child;
56 PerCameraNode(scene::ISceneNode* parent, scene::ISceneManager* mgr, s32
id,
57 scene::ICameraSceneNode* camera, scene::ISceneNode* node);
71 void setCamera(scene::ICameraSceneNode* camera);
73 virtual void OnRegisterSceneNode();
74 virtual void render();
76 virtual scene::ESCENE_NODE_TYPE getType()
const {
return (scene::ESCENE_NODE_TYPE)scene::ESNT_PER_CAMERA_NODE; }
78 scene::ISceneNode* getChild() {
return m_child; }
manages smoke particle effects
Definition: per_camera_node.hpp:46
virtual core::matrix4 & getRelativeTransformationMatrix()
Returns a reference to the current relative transformation matrix.
Definition: per_camera_node.hpp:66
virtual core::matrix4 getRelativeTransformation() const
Returns the relative transformation of the scene node.
Definition: per_camera_node.hpp:69
virtual const core::aabbox3d< f32 > & getBoundingBox() const
returns the axis aligned bounding box of this node
Definition: per_camera_node.hpp:61