Infinite Runner Engine v1.9
|
Use this class to have a global PP volume auto blend its weight on cue, between a start and end values More...
Public Types | |
enum | TimeScales { Scaled , Unscaled } |
the possible timescales this blend can operate on More... | |
enum | BlendTriggerModes { OnEnable , Script } |
the possible blend trigger modes More... | |
Public Member Functions | |
virtual void | Blend () |
Blends the volume's weight from the initial value to the final one More... | |
virtual void | BlendBack () |
Blends the volume's weight from the final value to the initial one More... | |
virtual void | StopBlending () |
Stops any blending that may be in progress More... | |
Public Attributes | |
BlendTriggerModes | BlendTriggerMode = BlendTriggerModes.OnEnable |
float | BlendDuration = 1f |
the duration of the blend (in seconds) More... | |
AnimationCurve | Curve = new AnimationCurve(new Keyframe(0, 0), new Keyframe(1, 1f)) |
the curve to use to blend More... | |
float | InitialWeight = 0f |
the weight at the start of the blend More... | |
float | FinalWeight = 1f |
the desired weight at the end of the blend More... | |
TimeScales | TimeScale = TimeScales.Unscaled |
the timescale to operate on More... | |
bool | DisableVolumeOnZeroWeight = true |
whether or not the associated volume should be disabled at 0 More... | |
bool | DisableSelfAfterEnd = true |
whether or not this blender should disable itself at 0 More... | |
bool | Interruptable = true |
whether or not this blender can be interrupted More... | |
bool | StartFromCurrentValue = true |
whether or not this blender should pick the current value as its starting point More... | |
bool | TestBlend |
test blend button More... | |
bool | TestBlendBackwards |
test blend back button More... | |
Protected Member Functions | |
float | GetTime () |
Returns the correct timescale based on the chosen settings More... | |
virtual void | Awake () |
On Awake we store our volume More... | |
virtual void | OnEnable () |
On start we start blending if needed More... | |
virtual void | StartBlending () |
Internal method used to start blending More... | |
virtual void | Update () |
On update, processes the blend if needed More... | |
Protected Attributes | |
float | _initial |
float | _destination |
float | _startTime |
bool | _blending = false |
Volume | _volume |
Use this class to have a global PP volume auto blend its weight on cue, between a start and end values
|
protectedvirtual |
On Awake we store our volume
|
virtual |
Blends the volume's weight from the initial value to the final one
|
virtual |
Blends the volume's weight from the final value to the initial one
|
protected |
Returns the correct timescale based on the chosen settings
|
protectedvirtual |
On start we start blending if needed
|
protectedvirtual |
Internal method used to start blending
|
virtual |
Stops any blending that may be in progress
|
protectedvirtual |
On update, processes the blend if needed
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
float MoreMountains.FeedbacksForThirdParty.MMGlobalPostProcessingVolumeAutoBlend_URP.BlendDuration = 1f |
the duration of the blend (in seconds)
BlendTriggerModes MoreMountains.FeedbacksForThirdParty.MMGlobalPostProcessingVolumeAutoBlend_URP.BlendTriggerMode = BlendTriggerModes.OnEnable |
the trigger mode for this MMGlobalPostProcessingVolumeAutoBlend Start : will play automatically on enable
AnimationCurve MoreMountains.FeedbacksForThirdParty.MMGlobalPostProcessingVolumeAutoBlend_URP.Curve = new AnimationCurve(new Keyframe(0, 0), new Keyframe(1, 1f)) |
the curve to use to blend
bool MoreMountains.FeedbacksForThirdParty.MMGlobalPostProcessingVolumeAutoBlend_URP.DisableSelfAfterEnd = true |
whether or not this blender should disable itself at 0
bool MoreMountains.FeedbacksForThirdParty.MMGlobalPostProcessingVolumeAutoBlend_URP.DisableVolumeOnZeroWeight = true |
whether or not the associated volume should be disabled at 0
float MoreMountains.FeedbacksForThirdParty.MMGlobalPostProcessingVolumeAutoBlend_URP.FinalWeight = 1f |
the desired weight at the end of the blend
float MoreMountains.FeedbacksForThirdParty.MMGlobalPostProcessingVolumeAutoBlend_URP.InitialWeight = 0f |
the weight at the start of the blend
bool MoreMountains.FeedbacksForThirdParty.MMGlobalPostProcessingVolumeAutoBlend_URP.Interruptable = true |
whether or not this blender can be interrupted
bool MoreMountains.FeedbacksForThirdParty.MMGlobalPostProcessingVolumeAutoBlend_URP.StartFromCurrentValue = true |
whether or not this blender should pick the current value as its starting point
bool MoreMountains.FeedbacksForThirdParty.MMGlobalPostProcessingVolumeAutoBlend_URP.TestBlend |
test blend button
bool MoreMountains.FeedbacksForThirdParty.MMGlobalPostProcessingVolumeAutoBlend_URP.TestBlendBackwards |
test blend back button
TimeScales MoreMountains.FeedbacksForThirdParty.MMGlobalPostProcessingVolumeAutoBlend_URP.TimeScale = TimeScales.Unscaled |
the timescale to operate on