Jimcpp 2.1.0
Jimcpp is a high-performance c++ graphics engine.
Loading...
Searching...
No Matches
jpp::scene::SParticle Class Reference

Class for holding particle data. More...

#include <jimcpp/core/engine/SParticle.hpp>

Collaboration diagram for jpp::scene::SParticle:
Collaboration graph

Public Attributes

core::vector3df pos
 Position of the particle.
 
core::vector3df vector
 Direction and speed of the particle.
 
u32 startTime
 Start life time of the particle.
 
u32 endTime
 End life time of the particle.
 
video::SColor color
 Current color of the particle.
 
video::SColor startColor
 Original color of the particle.
 
core::vector3df startVector
 Original direction and speed of the particle.
 
core::dimension2df size
 Scale of the particle.
 
core::dimension2df startSize
 Original scale of the particle.
 

Detailed Description

Class for holding particle data.

Member Data Documentation

◆ size

core::dimension2df jpp::scene::SParticle::size

Scale of the particle.

The current scale of the particle.

◆ startColor

video::SColor jpp::scene::SParticle::startColor

Original color of the particle.

That's the color of the particle it had when it was emitted.

◆ startSize

core::dimension2df jpp::scene::SParticle::startSize

Original scale of the particle.

The scale of the particle when it was emitted.

◆ startVector

core::vector3df jpp::scene::SParticle::startVector

Original direction and speed of the particle.

The direction and speed the particle had when it was emitted.


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

Jimcpp    @cppfx.xyz