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

#include <FollowEffect.h>

Inherits Effect.

Public Member Functions

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::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)
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 Effect
sead::Matrixf mMtx
bool mMtxHasScale
nw::eft::Handle mHandle
const PtclParammParam

Member Function Documentation

◆ createEffect() [1/3]

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

◆ createEffect() [2/3]

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

◆ createEffect() [3/3]

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

◆ follow() [1/3]

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

◆ follow() [2/3]

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

◆ follow() [3/3]

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