SuperTuxKart
Public Member Functions | Private Attributes | List of all members
PerCameraNode Class Reference

manages smoke particle effects More...

#include <per_camera_node.hpp>

Inheritance diagram for PerCameraNode:
Inheritance graph
[legend]

Public Member Functions

 PerCameraNode (scene::ISceneNode *parent, scene::ISceneManager *mgr, s32 id, scene::ICameraSceneNode *camera, scene::ISceneNode *node)
 
virtual const core::aabbox3d< f32 > & getBoundingBox () const
 returns the axis aligned bounding box of this node
 
virtual core::matrix4 & getRelativeTransformationMatrix ()
 Returns a reference to the current relative transformation matrix. More...
 
virtual core::matrix4 getRelativeTransformation () const
 Returns the relative transformation of the scene node.
 
void setCamera (scene::ICameraSceneNode *camera)
 
virtual void OnRegisterSceneNode ()
 
virtual void render ()
 
virtual scene::ESCENE_NODE_TYPE getType () const
 
scene::ISceneNode * getChild ()
 

Private Attributes

core::matrix4 RelativeTransformationMatrix
 
core::aabbox3d< f32 > Box
 
scene::ICameraSceneNode * m_camera
 
scene::ISceneNode * m_child
 

Detailed Description

manages smoke particle effects

Member Function Documentation

◆ getRelativeTransformationMatrix()

virtual core::matrix4& PerCameraNode::getRelativeTransformationMatrix ( )
inlinevirtual

Returns a reference to the current relative transformation matrix.

This is the matrix, this scene node uses instead of scale, translation and rotation.


The documentation for this class was generated from the following files: