SMFXRunTimeEffectParams

C++
File

IMaterialEffects.h

SMFXRunTimeEffectParams::angle Data Member
C++
float angle;
SMFXRunTimeEffectParams::audioProxyEntityId Data Member
C++
EntityId audioProxyEntityId;
Description

if set, uses this Entity's audio proxy to execute audio triggers. otherwise creates independent sound

SMFXRunTimeEffectParams::audioProxyOffset Data Member
C++
Vec3 audioProxyOffset;
Description

in case of audio proxy, uses this offset

SMFXRunTimeEffectParams::decalPos Data Member
C++
Vec3 decalPos;
SMFXRunTimeEffectParams::dir Data Member
C++
Vec3 dir[2];
SMFXRunTimeEffectParams::fDecalPlacementTestMaxSize Data Member
C++
float fDecalPlacementTestMaxSize;
SMFXRunTimeEffectParams::fLastTime Data Member
C++
float fLastTime;
Description

last time this effect was played

SMFXRunTimeEffectParams::inWater Data Member
C++
uint16 inWater : 1;
Description

effect medium in in water

SMFXRunTimeEffectParams::inZeroG Data Member
C++
uint16 inZeroG : 1;
Description

effect medium is in zeroG

SMFXRunTimeEffectParams::MAX_SOUND_PARAMS Data Member
C++
const int MAX_SOUND_PARAMS = 4;
SMFXRunTimeEffectParams::normal Data Member
C++
Vec3 normal;
SMFXRunTimeEffectParams::numSoundParams Data Member
C++
int numSoundParams;
SMFXRunTimeEffectParams::padding Data Member
C++
uint16 padding : 12;
SMFXRunTimeEffectParams::particleParams Data Member
C++
SMFXParticleEffectParams particleParams;
Description

particle related

SMFXRunTimeEffectParams::partID Data Member
C++
int partID;
SMFXRunTimeEffectParams::playflags Data Member
C++
uint16 playflags;
Description
SMFXRunTimeEffectParams::playSoundFP Data Member
C++
uint16 playSoundFP : 1;
Description

play sound as 2D (temp until Tomas fixes!), appends "_fp" to soundname

SMFXRunTimeEffectParams::pos Data Member
C++
Vec3 pos;
SMFXRunTimeEffectParams::scale Data Member
C++
float scale;
SMFXRunTimeEffectParams::soundDistanceMult Data Member
C++
float soundDistanceMult;
SMFXRunTimeEffectParams::soundNoObstruction Data Member
C++
uint16 soundNoObstruction : 1;
Description

don't use obstruction on sound

SMFXRunTimeEffectParams::soundParams Data Member
C++
SMFXRunTimeEffectParams::soundScale Data Member
C++
float soundScale;
SMFXRunTimeEffectParams::src Data Member
C++
SMFXRunTimeEffectParams::srcRenderNode Data Member
C++
IRenderNode* srcRenderNode;
SMFXRunTimeEffectParams::srcSurfaceId Data Member
C++
int srcSurfaceId;
SMFXRunTimeEffectParams::trg Data Member
C++
SMFXRunTimeEffectParams::trgRenderNode Data Member
C++
IRenderNode* trgRenderNode;
SMFXRunTimeEffectParams::trgSurfaceId Data Member
C++
int trgSurfaceId;
SMFXRunTimeEffectParams::AddSoundParam Method
C++
bool AddSoundParam(const char* name, float val);
SMFXRunTimeEffectParams::ResetSoundParams Method
C++
void ResetSoundParams();
SMFXRunTimeEffectParams::SMFXRunTimeEffectParams Constructor
C++
SMFXRunTimeEffectParams();