#include <Particle.hpp>
◆ Particle() [1/4]
◆ Particle() [2/4]
◆ ~Particle()
C3D_API castor3d::Particle::~Particle |
( |
| ) |
|
|
defaultnoexcept |
◆ Particle() [3/4]
Constructor.
- Parameters
-
[in] | description | The particle's elements description. |
[in] | defaultValues | The default values for the particle's elements. |
◆ Particle() [4/4]
Constructor.
- Parameters
-
[in] | description | The particle's elements description. |
◆ getData() [1/2]
uint8_t * castor3d::Particle::getData |
( |
| ) |
|
|
inline |
- Returns
- The particle data.
◆ getData() [2/2]
uint8_t const * castor3d::Particle::getData |
( |
| ) |
const |
|
inline |
- Returns
- The particle data.
◆ getValue()
ElementTyper< Type >::Type castor3d::Particle::getValue |
( |
uint32_t | index | ) |
const |
Sets the particle variable's value at given index.
- Parameters
-
[in] | index | The variable index. |
- Returns
- The variable value.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ setValue()
void castor3d::Particle::setValue |
( |
uint32_t | index, |
|
|
typename ElementTyper< Type >::Type const & | value ) |
Sets the particle variable's value at given index.
- Parameters
-
[in] | index | The variable index. |
[in] | value | The variable value. |
The documentation for this class was generated from the following file: