0.44.0
|
#include <ompfEmitterChunk.h>
Inherits OMPF::ompfBaseChunk.
Public Member Functions | |
ompfEmitterChunk () | |
virtual | ~ompfEmitterChunk ()=default |
virtual uint32 | getSize (const ompfSettings &settings) |
void | setSize (float32 size) |
const float32 | getSize () const |
void | setType (OMPFEmitterType emitterType) |
OMPFEmitterType | getType () const |
Public Member Functions inherited from OMPF::ompfBaseChunk | |
ompfBaseChunk (OMPFChunkType typeID) | |
virtual | ~ompfBaseChunk ()=default |
virtual bool | write (std::ofstream &stream, const ompfSettings &settings) |
virtual bool | read (std::ifstream &stream, ompfSettings &settings) |
void | insertChunk (ompfBaseChunk *chunk) |
void | removeChunk (ompfBaseChunk *chunk) |
bool | hasParent () const |
uint32 | getParentID () const |
void | setParentID (const uint32 parentID) |
bool | hasChildren () const |
const std::vector< ompfBaseChunk * > & | getChildren () const |
void | setID (const uint32 chunkID) |
uint32 | getID () const |
virtual uint32 | getSize (const ompfSettings &settings) |
OMPFChunkType | getType () const |
void | setName (const iaString &name) |
iaString | getName () const |
ompf emitter chunk
OMPF::ompfEmitterChunk::ompfEmitterChunk | ( | ) |
init base class
|
virtualdefault |
does nothing
const float32 OMPF::ompfEmitterChunk::getSize | ( | ) | const |
|
virtual |
settings | the settings the size calculation is based on |
Reimplemented from OMPF::ompfBaseChunk.
OMPFEmitterType OMPF::ompfEmitterChunk::getType | ( | ) | const |
void OMPF::ompfEmitterChunk::setSize | ( | float32 | size | ) |
sets emitter size
size | the emitter size |
void OMPF::ompfEmitterChunk::setType | ( | OMPFEmitterType | emitterType | ) |
sets type of emitter
emitterType | emitter type |