API Reference
On this page
Public Member Functions | |
| virtual void | init (::Vec3 const &pos, ::Vec3 const &dir, int scale, ::ParticleEngine &engine)=0 |
| virtual void | addTagData (::CompoundTag const &tag) |
| virtual void | normalTick () |
| virtual void | tessellate (::ParticleRenderContext const &renderContext) |
| virtual::mce::TexturePtr const & | getParticleTexture () const |
| virtual void | setEmittingEntity (::Actor &entity) |
| virtual bool | _shouldUpdateVertexData (float sqDist) |
| virtual void | _calculateAmbientLight (float a) |
| MCAPI void | _init (::Vec3 const &pos, ::Vec3 const &dir, int scale, ::ParticleEngine &engine, ::CompoundTag const *tag) |
| MCAPI void | move (::Vec3 const &delta) |
| MCAPI void | $addTagData (::CompoundTag const &tag) |
| MCAPI void | $normalTick () |
| MCAPI void | $tessellate (::ParticleRenderContext const &renderContext) |
| MCAPI::mce::TexturePtr const & | $getParticleTexture () const |
| MCAPI void | $setEmittingEntity (::Actor &entity) |
| MCAPI bool | $_shouldUpdateVertexData (float sqDist) |
| MCAPI void | $_calculateAmbientLight (float a) |
Static Public Member Functions | |
| static MCAPI void | initStaticResources (::std::shared_ptr<::mce::TextureGroup > textureGroup) |
| static MCAPI ::mce::TexturePtr & | FLAME_ATLAS () |
| static MCAPI ::mce::TexturePtr & | FORCEFIELD_ATLAS () |
| static MCAPI ::mce::TexturePtr & | ITEMS_ATLAS () |
| static MCAPI ::mce::TexturePtr & | PARTICLE_ATLAS () |
| static MCAPI ::mce::TexturePtr & | TERRAIN_ATLAS () |
Public Attributes | |
| ::ll::TypedStorage< 4, 4, float > | mCameraOffset |
| ::ll::TypedStorage< 4, 4, int > | mLifetime |
| ::ll::TypedStorage< 8, 96, ::TextureUVCoordinateSet > | mTex |
| ::ll::TypedStorage< 4, 4, float > | mU0 |
| ::ll::TypedStorage< 4, 4, float > | mV0 |
| ::ll::TypedStorage< 4, 4, int > | mAge |
| ::ll::TypedStorage< 4, 4, int > | mTicksSinceLastUpdate |
| ::ll::TypedStorage< 4, 4, float > | mSize |
| ::ll::TypedStorage< 4, 4, float > | mGravity |
| ::ll::TypedStorage< 4, 16, ::mce::Color > | mColor |
| ::ll::TypedStorage< 4, 16, ::mce::Color > | mVanillaLightColor |
| ::ll::TypedStorage< 1, 2, ::BrightnessPair > | mAmbientLight |
| ::ll::TypedStorage< 4, 4, ::ParticleType > | mType |
| ::ll::TypedStorage< 4, 4, ::ParticleLayer > | mLayer |
| ::ll::TypedStorage< 1, 1, bool > | mUnlit |
| ::ll::TypedStorage< 4, 4, float > | mRoll |
| ::ll::TypedStorage< 4, 4, float > | mORoll |
| ::ll::TypedStorage< 4, 4, float > | mXa |
| ::ll::TypedStorage< 4, 4, float > | mZa |
| ::ll::TypedStorage< 4, 4, float > | mXa2 |
| ::ll::TypedStorage< 4, 4, float > | mZa2 |
| ::ll::TypedStorage< 4, 4, float > | mYa |
| ::ll::TypedStorage< 8, 8, ::BlockSource * > | mRegion |
| ::ll::TypedStorage< 4, 12, ::Vec3 > | mPosDelta |
| ::ll::TypedStorage< 4, 12, ::Vec3 > | mPos |
| ::ll::TypedStorage< 4, 12, ::Vec3 > | mPosOld |
| ::ll::TypedStorage< 1, 1, bool > | mNoPhysics |
| ::ll::TypedStorage< 1, 1, bool > | mOnGround |
| ::ll::TypedStorage< 1, 1, bool > | mVertexDataInitialized |
| ::ll::TypedStorage< 4, 24, ::AABB > | mBB |
| MCAPI void Particle::_init | ( | ::Vec3 const & | pos, |
| ::Vec3 const & | dir, | ||
| int | scale, | ||
| ::ParticleEngine & | engine, | ||
| ::CompoundTag const * | tag ) |
| MCAPI void Particle::move | ( | ::Vec3 const & | delta | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| MCAPI void Particle::$addTagData | ( | ::CompoundTag const & | tag | ) |
| MCAPI void Particle::$normalTick | ( | ) |
| MCAPI::mce::TexturePtr const & Particle::$getParticleTexture | ( | ) | const |
| MCAPI void Particle::$setEmittingEntity | ( | ::Actor & | entity | ) |
| MCAPI bool Particle::$_shouldUpdateVertexData | ( | float | sqDist | ) |
| MCAPI void Particle::$_calculateAmbientLight | ( | float | a | ) |