class ModState
package funkin.scripting
extends MusicBeatState
@:directlyUsed@:build(hscript.UsingHandler.build())Constructor
Inherited Variables
Defined by MusicBeatState
@:value(false)cancelConductorUpdate:Bool = false
Whenever the Conductor auto update should be enabled or not.
stateScript:Script
Current injected script attached to the state. To add one, create a file at path "data/states/stateName" (ex: data/states/FreeplayState)
Inherited Methods
Defined by MusicBeatState
@:value({ fpsSensitive : false })lerp(v1:Float, v2:Float, ratio:Float, fpsSensitive:Bool = false):Float
Shortcut to FlxMath.lerp
or CoolUtil.lerp
, depending on fpsSensitive
Parameters:
v1 | Value 1 |
---|---|
v2 | Value 2 |
ratio | Ratio |
fpsSensitive | Whenever the ratio should not be adjusted to run at the same speed independant of framerate. |