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

Public Member Functions

delegate void Delegate (float shakeDuration, bool relativeValues, bool modifyColor, Gradient colorOverTime, AnimationCurve intensityCurve, float remapIntensityZero, float remapIntensityOne, AnimationCurve rangeCurve, float remapRangeZero, float remapRangeOne, AnimationCurve shadowStrengthCurve, float remapShadowStrengthZero, float remapShadowStrengthOne, float feedbacksIntensity=1.0f, MMChannelData channelData=null, bool resetShakerValuesAfterShake=true, bool resetTargetValuesAfterShake=true, bool useRange=false, float eventRange=0f, Vector3 eventOriginPosition=default(Vector3))
 

Static Public Member Functions

static void Register (Delegate callback)
 
static void Unregister (Delegate callback)
 
static void Trigger (float shakeDuration, bool relativeValues, bool modifyColor, Gradient colorOverTime, AnimationCurve intensityCurve, float remapIntensityZero, float remapIntensityOne, AnimationCurve rangeCurve, float remapRangeZero, float remapRangeOne, AnimationCurve shadowStrengthCurve, float remapShadowStrengthZero, float remapShadowStrengthOne, float feedbacksIntensity=1.0f, MMChannelData channelData=null, bool resetShakerValuesAfterShake=true, bool resetTargetValuesAfterShake=true, bool useRange=false, float eventRange=0f, Vector3 eventOriginPosition=default(Vector3))
 

Member Function Documentation

◆ Delegate()

delegate void MoreMountains.Feedbacks.MMLightShakeEvent.Delegate ( float  shakeDuration,
bool  relativeValues,
bool  modifyColor,
Gradient  colorOverTime,
AnimationCurve  intensityCurve,
float  remapIntensityZero,
float  remapIntensityOne,
AnimationCurve  rangeCurve,
float  remapRangeZero,
float  remapRangeOne,
AnimationCurve  shadowStrengthCurve,
float  remapShadowStrengthZero,
float  remapShadowStrengthOne,
float  feedbacksIntensity = 1.0f,
MMChannelData  channelData = null,
bool  resetShakerValuesAfterShake = true,
bool  resetTargetValuesAfterShake = true,
bool  useRange = false,
float  eventRange = 0f,
Vector3  eventOriginPosition = default(Vector3) 
)

◆ Register()

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

◆ Trigger()

static void MoreMountains.Feedbacks.MMLightShakeEvent.Trigger ( float  shakeDuration,
bool  relativeValues,
bool  modifyColor,
Gradient  colorOverTime,
AnimationCurve  intensityCurve,
float  remapIntensityZero,
float  remapIntensityOne,
AnimationCurve  rangeCurve,
float  remapRangeZero,
float  remapRangeOne,
AnimationCurve  shadowStrengthCurve,
float  remapShadowStrengthZero,
float  remapShadowStrengthOne,
float  feedbacksIntensity = 1.0f,
MMChannelData  channelData = null,
bool  resetShakerValuesAfterShake = true,
bool  resetTargetValuesAfterShake = true,
bool  useRange = false,
float  eventRange = 0f,
Vector3  eventOriginPosition = default(Vector3) 
)
static

◆ Unregister()

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

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