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

Struct for holding particle data. More...

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

Collaboration diagram for nirt::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

Struct for holding particle data.

Member Data Documentation

◆ size

core::dimension2df nirt::scene::SParticle::size

Scale of the particle.

The current scale of the particle.

◆ startColor

video::SColor nirt::scene::SParticle::startColor

Original color of the particle.

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

◆ startSize

core::dimension2df nirt::scene::SParticle::startSize

Original scale of the particle.

The scale of the particle when it was emitted.

◆ startVector

core::vector3df nirt::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:

Nirtcpp    @cppfx.xyz

Utxcpp    utx::print