Loading...
Searching...
No Matches
IParticleRotationAffector.h
Go to the documentation of this file.
// Copyright (C) 2002-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __I_PARTICLE_ROTATION_AFFECTOR_H_INCLUDED__
#define __I_PARTICLE_ROTATION_AFFECTOR_H_INCLUDED__
#include "IParticleAffector.h"
namespace irr
{
namespace scene
{
class IParticleRotationAffector : public IParticleAffector
{
public:
virtual void setPivotPoint( const core::vector3df& point ) = 0;
virtual void setSpeed( const core::vector3df& speed ) = 0;
virtual const core::vector3df& getPivotPoint() const = 0;
virtual const core::vector3df& getSpeed() const = 0;
virtual E_PARTICLE_AFFECTOR_TYPE getType() const { return EPAT_ROTATE; }
};
} // end namespace scene
} // end namespace irr
#endif // __I_PARTICLE_ROTATION_AFFECTOR_H_INCLUDED__
IParticleAffector.h
irr::scene::IParticleAffector::IParticleAffector
IParticleAffector()
constructor
Definition IParticleAffector.h:46
irr::scene::IParticleRotationAffector
A particle affector which rotates the particle system.
Definition IParticleRotationAffector.h:17
irr::scene::IParticleRotationAffector::getType
virtual E_PARTICLE_AFFECTOR_TYPE getType() const
Get emitter type.
Definition IParticleRotationAffector.h:33
irr::scene::IParticleRotationAffector::getSpeed
virtual const core::vector3df & getSpeed() const =0
Get the speed in degrees per second in all 3 dimensions.
irr::scene::IParticleRotationAffector::setPivotPoint
virtual void setPivotPoint(const core::vector3df &point)=0
Set the point that particles will rotate around.
irr::scene::IParticleRotationAffector::getPivotPoint
virtual const core::vector3df & getPivotPoint() const =0
Get the point that particles are attracted to.
irr::scene::IParticleRotationAffector::setSpeed
virtual void setSpeed(const core::vector3df &speed)=0
Set the speed in degrees per second in all 3 dimensions.
irr::core::vector3df
vector3d< f32 > vector3df
Typedef for a f32 3d vector.
Definition vector3d.h:445
irr::scene
All scene management can be found in this namespace: Mesh loading, special scene nodes like octrees a...
Definition CDynamicMeshBuffer.h:16
irr::scene::E_PARTICLE_AFFECTOR_TYPE
E_PARTICLE_AFFECTOR_TYPE
Types of built in particle affectors.
Definition IParticleAffector.h:18
irr::scene::EPAT_ROTATE
@ EPAT_ROTATE
Definition IParticleAffector.h:23
irr
Everything in the Irrlicht Engine can be found in this namespace.
Definition aabbox3d.h:13
- Irrlicht Engine Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on for Irrlicht 3D Engine by Doxygen 1.15.0