Arcade Shooter
Public Member Functions | List of all members
KatanaEngine::RotatingParticle Class Reference

A particle instance that rotates. More...

#include <RotatingParticle.h>

Inheritance diagram for KatanaEngine::RotatingParticle:
KatanaEngine::Particle

Public Member Functions

virtual void SetRotationVelocity (const float velocity)
 Sets the particle's rotational velocity. More...
 
virtual float GetRotationVelocity () const
 Gets the rotational velocity of the particle. More...
 
- Public Member Functions inherited from KatanaEngine::Particle
virtual float GetInterpolationValue ()
 A value representing the percentage of the particle's lifespan. More...
 
virtual void SetLifespan (const float seconds)
 Sets the lifespan of the particle in seconds. More...
 
virtual void SetTemplate (ParticleTemplate *pTemplate)
 Sets template responsible for updating the particle. More...
 
virtual void SetPosition (const Vector2 position)
 Sets the particle's position. More...
 
virtual Vector2GetPosition ()
 Gets the position of the particle. More...
 
virtual void SetAlpha (const float alpha)
 Sets the particle's alpha value (opacity). More...
 
virtual float GetAlpha () const
 Gets the alpha value (opacity) of the particle. More...
 
virtual void SetScale (const Vector2 scale)
 Sets the particle's scale. More...
 
virtual Vector2 GetScale () const
 Gets the scale of the particle. More...
 
virtual void SetRotation (const float rotation)
 Sets the particle's rotation. More...
 
virtual float GetRotation () const
 Gets the rotation of the particle. More...
 
virtual uint32_t GetIndex () const
 Gets the index of the particle. More...
 

Detailed Description

A particle instance that rotates.

Member Function Documentation

◆ GetRotationVelocity()

virtual float KatanaEngine::RotatingParticle::GetRotationVelocity ( ) const
inlinevirtual

Gets the rotational velocity of the particle.

Returns
Returns the particle's rotational velocity.

◆ SetRotationVelocity()

virtual void KatanaEngine::RotatingParticle::SetRotationVelocity ( const float  velocity)
inlinevirtual

Sets the particle's rotational velocity.

Parameters
velocityThe rotational velocity value.

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