New Super Mario Bros. U Headers
Loading...
Searching...
No Matches
EffectObj Class Reference

#include <EffectObj.h>

Inherits EffectObjBase.

Public Member Functions

 EffectObj ()
 ~EffectObj () override
bool createEffect (EffectID id, const sead::Vector3f *trans=nullptr, const Angle3 *angle=nullptr, const sead::Vector3f *scale=nullptr)
bool createEffect (EffectID id, const sead::Matrixf *mtx=nullptr, bool mtx_has_scale=false)
bool createEffect (EffectID id, const sead::Matrixf &mtx, bool mtx_has_scale)
bool follow (const sead::Vector3f *trans=nullptr, const Angle3 *angle=nullptr, const sead::Vector3f *scale=nullptr)
bool follow (const sead::Matrixf &mtx, bool mtx_has_scale)
bool follow (const sead::Matrixf *mtx, bool mtx_has_scale)
Public Member Functions inherited from EffectObjBase
void cleanup ()
 EffectObjBase ()
 ~EffectObjBase () override
EffectID getEffectID () const
bool isActive () const
void setActive (bool active)
Public Member Functions inherited from sead::IDisposer
 IDisposer ()
virtual ~IDisposer ()
Public Member Functions inherited from Effect
 Effect ()
bool createEffect (EffectID id)
bool isAlive () const
void followFade ()
void fade ()
void kill ()
s32 getGroupID () const
void setColor (const sead::Color4f &color)
void setAlpha (f32 alpha)
void setDirectionalVel (f32 vel)
void setEmitterScale (const sead::Vector3f &scale)
void setParticleScale (const sead::Vector2f &scale)
void setEmissionParticleScale (const sead::Vector2f &scale)
void setRandomSeed (u32 seed)
bool follow (const sead::Vector3f *trans=nullptr, const Angle3 *angle=nullptr, const sead::Vector3f *scale=nullptr)
bool follow (const sead::Matrixf &mtx, bool mtx_has_scale)
const sead::MatrixfgetMtx () const
bool getMtxHasScale () const
void setStopCalc (bool stop_calc)
void setVisible (bool visible, s32 emitter_controller_index)
const PtclParamgetParam () const

Additional Inherited Members

Protected Member Functions inherited from Effect
void reset_ ()
nw::eft::EmitterSetgetEmitterSet_ ()
bool createEffect_ (EffectID id)
void update_ ()
Protected Attributes inherited from EffectObjBase
sead::TListNode< EffectObjBase * > mNode
EffectID mEffectID
bool mIsActive
Protected Attributes inherited from Effect
sead::Matrixf mMtx
bool mMtxHasScale
nw::eft::Handle mHandle
const PtclParammParam

Constructor & Destructor Documentation

◆ EffectObj()

EffectObj::EffectObj ( )
inline

◆ ~EffectObj()

EffectObj::~EffectObj ( )
inlineoverride

Member Function Documentation

◆ createEffect() [1/3]

bool EffectObj::createEffect ( EffectID id,
const sead::Vector3f * trans = nullptr,
const Angle3 * angle = nullptr,
const sead::Vector3f * scale = nullptr )

◆ createEffect() [2/3]

bool EffectObj::createEffect ( EffectID id,
const sead::Matrixf * mtx = nullptr,
bool mtx_has_scale = false )

◆ createEffect() [3/3]

bool EffectObj::createEffect ( EffectID id,
const sead::Matrixf & mtx,
bool mtx_has_scale )
inline

◆ follow() [1/3]

bool EffectObj::follow ( const sead::Vector3f * trans = nullptr,
const Angle3 * angle = nullptr,
const sead::Vector3f * scale = nullptr )

◆ follow() [2/3]

bool EffectObj::follow ( const sead::Matrixf & mtx,
bool mtx_has_scale )

◆ follow() [3/3]

bool EffectObj::follow ( const sead::Matrixf * mtx,
bool mtx_has_scale )
inline