Feel  4.3
The best way to improve your game's feel and make it extra juicy
MoreMountains.Feedbacks.MMPositionShakeEvent Struct Reference

Public Member Functions

delegate void Delegate (float duration, float shakeSpeed, float shakeRange, Vector3 shakeMainDirection, bool randomizeDirection, Vector3 shakeAltDirection, bool randomizeDirectionOnPlay, bool randomizeDirectionX, bool randomizeDirectionY, bool randomizeDirectionZ, bool addDirectionalNoise, Vector3 directionalNoiseStrengthMin, Vector3 directionalNoiseStrengthMax, Vector3 randomnessSeed, bool randomizeSeedOnShake, bool useAttenuation, AnimationCurve attenuationCurve, bool useRange=false, float rangeDistance=0f, bool useRangeFalloff=false, AnimationCurve rangeFalloff=null, Vector2 remapRangeFalloff=default(Vector2), Vector3 rangePosition=default(Vector3), float feedbacksIntensity=1.0f, MMChannelData channelData=null, bool resetShakerValuesAfterShake=true, bool resetTargetValuesAfterShake=true, bool forwardDirection=true, TimescaleModes timescaleMode=TimescaleModes.Scaled, bool stop=false, bool restore=false)
 

Static Public Member Functions

static void Register (Delegate callback)
 
static void Unregister (Delegate callback)
 
static void Trigger (float duration, float shakeSpeed, float shakeRange, Vector3 shakeMainDirection, bool randomizeDirection, Vector3 shakeAltDirection, bool randomizeDirectionOnPlay, bool randomizeDirectionX, bool randomizeDirectionY, bool randomizeDirectionZ, bool addDirectionalNoise, Vector3 directionalNoiseStrengthMin, Vector3 directionalNoiseStrengthMax, Vector3 randomnessSeed, bool randomizeSeedOnShake, bool useAttenuation, AnimationCurve attenuationCurve, bool useRange=false, float rangeDistance=0f, bool useRangeFalloff=false, AnimationCurve rangeFalloff=null, Vector2 remapRangeFalloff=default(Vector2), Vector3 rangePosition=default(Vector3), float feedbacksIntensity=1.0f, MMChannelData channelData=null, bool resetShakerValuesAfterShake=true, bool resetTargetValuesAfterShake=true, bool forwardDirection=true, TimescaleModes timescaleMode=TimescaleModes.Scaled, bool stop=false, bool restore=false)
 

Member Function Documentation

◆ Delegate()

delegate void MoreMountains.Feedbacks.MMPositionShakeEvent.Delegate ( float  duration,
float  shakeSpeed,
float  shakeRange,
Vector3  shakeMainDirection,
bool  randomizeDirection,
Vector3  shakeAltDirection,
bool  randomizeDirectionOnPlay,
bool  randomizeDirectionX,
bool  randomizeDirectionY,
bool  randomizeDirectionZ,
bool  addDirectionalNoise,
Vector3  directionalNoiseStrengthMin,
Vector3  directionalNoiseStrengthMax,
Vector3  randomnessSeed,
bool  randomizeSeedOnShake,
bool  useAttenuation,
AnimationCurve  attenuationCurve,
bool  useRange = false,
float  rangeDistance = 0f,
bool  useRangeFalloff = false,
AnimationCurve  rangeFalloff = null,
Vector2  remapRangeFalloff = default(Vector2),
Vector3  rangePosition = default(Vector3),
float  feedbacksIntensity = 1.0f,
MMChannelData  channelData = null,
bool  resetShakerValuesAfterShake = true,
bool  resetTargetValuesAfterShake = true,
bool  forwardDirection = true,
TimescaleModes  timescaleMode = TimescaleModes.Scaled,
bool  stop = false,
bool  restore = false 
)

◆ Register()

static void MoreMountains.Feedbacks.MMPositionShakeEvent.Register ( Delegate  callback)
static

◆ Trigger()

static void MoreMountains.Feedbacks.MMPositionShakeEvent.Trigger ( float  duration,
float  shakeSpeed,
float  shakeRange,
Vector3  shakeMainDirection,
bool  randomizeDirection,
Vector3  shakeAltDirection,
bool  randomizeDirectionOnPlay,
bool  randomizeDirectionX,
bool  randomizeDirectionY,
bool  randomizeDirectionZ,
bool  addDirectionalNoise,
Vector3  directionalNoiseStrengthMin,
Vector3  directionalNoiseStrengthMax,
Vector3  randomnessSeed,
bool  randomizeSeedOnShake,
bool  useAttenuation,
AnimationCurve  attenuationCurve,
bool  useRange = false,
float  rangeDistance = 0f,
bool  useRangeFalloff = false,
AnimationCurve  rangeFalloff = null,
Vector2  remapRangeFalloff = default(Vector2),
Vector3  rangePosition = default(Vector3),
float  feedbacksIntensity = 1.0f,
MMChannelData  channelData = null,
bool  resetShakerValuesAfterShake = true,
bool  resetTargetValuesAfterShake = true,
bool  forwardDirection = true,
TimescaleModes  timescaleMode = TimescaleModes.Scaled,
bool  stop = false,
bool  restore = false 
)
static

◆ Unregister()

static void MoreMountains.Feedbacks.MMPositionShakeEvent.Unregister ( Delegate  callback)
static

The documentation for this struct was generated from the following file: