|
MMFeedbacks
v1.6
|
A class to store public wiggle properties More...
Public Member Functions | |
| float | GetDeltaTime () |
| Returns the delta time, either regular or unscaled More... | |
| float | GetTime () |
| Returns the time, either regular or unscaled More... | |
Public Attributes | |
| bool | WigglePermitted = true |
| WiggleTypes | WiggleType = WiggleTypes.Random |
| the position mode : none, random or ping pong - none won't do anything, random will randomize min and max bounds, ping pong will oscillate between min and max bounds More... | |
| bool | UseUnscaledTime = false |
| if this is true, unscaled delta time, otherwise regular delta time More... | |
| bool | StartWigglingAutomatically = true |
| whether or not this object should start wiggling automatically on Start() More... | |
| bool | SmoothPingPong = true |
| if this is true, position will be ping ponged with an ease in/out curve More... | |
| bool | UseSpeedCurve = false |
| Whether or not the position's speed curve will be used. More... | |
| AnimationCurve | SpeedCurve = AnimationCurve.Linear(0f, 0f, 1f, 1f) |
| an animation curve to define the speed over time from one position to the other (x), and the actual position (y), allowing for overshoot More... | |
| float | FrequencyMin = 0f |
| the minimum time (in seconds) between two position changes More... | |
| float | FrequencyMax = 1f |
| the maximum time (in seconds) between two position changes More... | |
| Vector3 | AmplitudeMin = Vector3.zero |
| the minimum position the object can have More... | |
| Vector3 | AmplitudeMax = Vector3.one |
| the maximum position the object can have More... | |
| bool | RelativeAmplitude = true |
| if this is true, amplitude will be relative, otherwise world space More... | |
| float | PauseMin = 0f |
| the minimum time to spend between two random positions More... | |
| float | PauseMax = 0f |
| the maximum time to spend between two random positions More... | |
| bool | LimitedTime = false |
| if this is true, this property will only animate for the specified time More... | |
| float | LimitedTimeTotal |
| the maximum time left More... | |
| AnimationCurve | LimitedTimeFalloff = AnimationCurve.Linear(0f, 1f, 1f, 1f) |
| the animation curve to use to decrease the effect of the wiggle as time goes More... | |
| bool | LimitedTimeResetValue = true |
| if this is true, original position will be restored when time left reaches zero More... | |
| float | LimitedTimeLeft |
| the actual time left More... | |
| Vector3 | NoiseFrequencyMin = Vector3.zero |
| the minimum time between two changes of noise frequency More... | |
| Vector3 | NoiseFrequencyMax = Vector3.one |
| the maximum time between two changes of noise frequency More... | |
| Vector3 | NoiseShiftMin = Vector3.zero |
| how much the noise should be shifted at minimum More... | |
| Vector3 | NoiseShiftMax = Vector3.zero |
| how much the noise should be shifted at maximum More... | |
A class to store public wiggle properties
| float MoreMountains.Feedbacks.WiggleProperties.GetDeltaTime | ( | ) |
Returns the delta time, either regular or unscaled
| float MoreMountains.Feedbacks.WiggleProperties.GetTime | ( | ) |
Returns the time, either regular or unscaled
| Vector3 MoreMountains.Feedbacks.WiggleProperties.AmplitudeMax = Vector3.one |
the maximum position the object can have
| Vector3 MoreMountains.Feedbacks.WiggleProperties.AmplitudeMin = Vector3.zero |
the minimum position the object can have
| float MoreMountains.Feedbacks.WiggleProperties.FrequencyMax = 1f |
the maximum time (in seconds) between two position changes
| float MoreMountains.Feedbacks.WiggleProperties.FrequencyMin = 0f |
the minimum time (in seconds) between two position changes
| bool MoreMountains.Feedbacks.WiggleProperties.LimitedTime = false |
if this is true, this property will only animate for the specified time
| AnimationCurve MoreMountains.Feedbacks.WiggleProperties.LimitedTimeFalloff = AnimationCurve.Linear(0f, 1f, 1f, 1f) |
the animation curve to use to decrease the effect of the wiggle as time goes
| float MoreMountains.Feedbacks.WiggleProperties.LimitedTimeLeft |
the actual time left
| bool MoreMountains.Feedbacks.WiggleProperties.LimitedTimeResetValue = true |
if this is true, original position will be restored when time left reaches zero
| float MoreMountains.Feedbacks.WiggleProperties.LimitedTimeTotal |
the maximum time left
| Vector3 MoreMountains.Feedbacks.WiggleProperties.NoiseFrequencyMax = Vector3.one |
the maximum time between two changes of noise frequency
| Vector3 MoreMountains.Feedbacks.WiggleProperties.NoiseFrequencyMin = Vector3.zero |
the minimum time between two changes of noise frequency
| Vector3 MoreMountains.Feedbacks.WiggleProperties.NoiseShiftMax = Vector3.zero |
how much the noise should be shifted at maximum
| Vector3 MoreMountains.Feedbacks.WiggleProperties.NoiseShiftMin = Vector3.zero |
how much the noise should be shifted at minimum
| float MoreMountains.Feedbacks.WiggleProperties.PauseMax = 0f |
the maximum time to spend between two random positions
| float MoreMountains.Feedbacks.WiggleProperties.PauseMin = 0f |
the minimum time to spend between two random positions
| bool MoreMountains.Feedbacks.WiggleProperties.RelativeAmplitude = true |
if this is true, amplitude will be relative, otherwise world space
| bool MoreMountains.Feedbacks.WiggleProperties.SmoothPingPong = true |
if this is true, position will be ping ponged with an ease in/out curve
| AnimationCurve MoreMountains.Feedbacks.WiggleProperties.SpeedCurve = AnimationCurve.Linear(0f, 0f, 1f, 1f) |
an animation curve to define the speed over time from one position to the other (x), and the actual position (y), allowing for overshoot
| bool MoreMountains.Feedbacks.WiggleProperties.StartWigglingAutomatically = true |
whether or not this object should start wiggling automatically on Start()
| bool MoreMountains.Feedbacks.WiggleProperties.UseSpeedCurve = false |
Whether or not the position's speed curve will be used.
| bool MoreMountains.Feedbacks.WiggleProperties.UseUnscaledTime = false |
if this is true, unscaled delta time, otherwise regular delta time
| bool MoreMountains.Feedbacks.WiggleProperties.WigglePermitted = true |
| WiggleTypes MoreMountains.Feedbacks.WiggleProperties.WiggleType = WiggleTypes.Random |
the position mode : none, random or ping pong - none won't do anything, random will randomize min and max bounds, ping pong will oscillate between min and max bounds
1.8.18