Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
esengine::particle::EmitterFrame Struct Reference

#include <ParticleShapes.hpp>

Public Attributes

glm::vec3 position {0.0f}
glm::quat rotation {1.0f, 0.0f, 0.0f, 0.0f}
glm::vec3 scale {1.0f}

Detailed Description

Where the emitter stands, how it is aimed, how big its shape is — the whole of what a spawn needs from a Transform.

Definition at line 32 of file ParticleShapes.hpp.

Member Data Documentation

◆ position

glm::vec3 esengine::particle::EmitterFrame::position {0.0f}

Definition at line 33 of file ParticleShapes.hpp.

Referenced by esengine::particle::worldPointOf().

◆ rotation

glm::quat esengine::particle::EmitterFrame::rotation {1.0f, 0.0f, 0.0f, 0.0f}

◆ scale

glm::vec3 esengine::particle::EmitterFrame::scale {1.0f}

Definition at line 35 of file ParticleShapes.hpp.

Referenced by esengine::particle::worldPointOf().


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