Skylicht Engine
Loading...
Searching...
No Matches
Skylicht::Particle::SParticleInstance Struct Reference

GPU instance data for hardware-accelerated particles. More...

#include <ParticleSystem/Particles/CParticleInstancing.h>

Public Member Functions

bool operator== (const SParticleInstance &other) const

Public Attributes

video::SVec4 Pos
 World position.
SColor Color
 Tint color.
core::vector2df UVScale
 Scale for texture atlas frames.
core::vector2df UVOffset
 Offset for texture atlas frames.
video::SVec4 Size
 World size.
video::SVec4 Rotation
 World rotation (Euler).
video::SVec4 Velocity
 Movement velocity.

Detailed Description

GPU instance data for hardware-accelerated particles.

This structure is passed to the GPU for each particle when using CQuadRenderer or CMeshParticleRenderer.


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