#include <Particle2D.hpp>
|
SIV3D_NODISCARD_CXX20 | Particle2D ()=default |
|
SIV3D_NODISCARD_CXX20 | Particle2D (const Emission2D &emission, const Float4 &_startColor, float _startSize, float _rotation, float _startAngularVelocity, float _startLifeTime, float _remainingLifeTime) noexcept |
|
void | update (float deltaTime, const Float2 &deltaVelocity) noexcept |
|
void | advance (float deltaTime, const Float2 &deltaVelocity) noexcept |
|
bool | isDead () const noexcept |
|
◆ Particle2D() [1/2]
SIV3D_NODISCARD_CXX20 s3d::Particle2D::Particle2D |
( |
| ) |
|
|
default |
◆ Particle2D() [2/2]
SIV3D_NODISCARD_CXX20 s3d::Particle2D::Particle2D |
( |
const Emission2D & |
emission, |
|
|
const Float4 & |
_startColor, |
|
|
float |
_startSize, |
|
|
float |
_rotation, |
|
|
float |
_startAngularVelocity, |
|
|
float |
_startLifeTime, |
|
|
float |
_remainingLifeTime |
|
) |
| |
|
noexcept |
◆ advance()
void s3d::Particle2D::advance |
( |
float |
deltaTime, |
|
|
const Float2 & |
deltaVelocity |
|
) |
| |
|
noexcept |
◆ isDead()
bool s3d::Particle2D::isDead |
( |
| ) |
const |
|
noexcept |
◆ update()
void s3d::Particle2D::update |
( |
float |
deltaTime, |
|
|
const Float2 & |
deltaVelocity |
|
) |
| |
|
noexcept |
◆ position
Float2 s3d::Particle2D::position |
◆ remainingLifeTime
float s3d::Particle2D::remainingLifeTime |
◆ rotation
float s3d::Particle2D::rotation |
◆ startAngularVelocity
float s3d::Particle2D::startAngularVelocity |
◆ startColor
Float4 s3d::Particle2D::startColor |
◆ startLifeTime
float s3d::Particle2D::startLifeTime |
◆ startSize
float s3d::Particle2D::startSize |
◆ velocity
Float2 s3d::Particle2D::velocity |
The documentation for this struct was generated from the following file: