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

Public Member Functions

delegate void Delegate (float duration, float shakeSpeed, float shakeRange, Vector3 shakeMainDirection, bool randomizeDirection, Vector3 shakeAltDirection, bool randomizeDirectionOnPlay, 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 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.MMRotationShakeEvent.Delegate ( float  duration,
float  shakeSpeed,
float  shakeRange,
Vector3  shakeMainDirection,
bool  randomizeDirection,
Vector3  shakeAltDirection,
bool  randomizeDirectionOnPlay,
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.MMRotationShakeEvent.Register ( Delegate  callback)
static

◆ Trigger()

static void MoreMountains.Feedbacks.MMRotationShakeEvent.Trigger ( float  duration,
float  shakeSpeed,
float  shakeRange,
Vector3  shakeMainDirection,
bool  randomizeDirection,
Vector3  shakeAltDirection,
bool  randomizeDirectionOnPlay,
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.MMRotationShakeEvent.Unregister ( Delegate  callback)
static

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