An effect that does nothing and simply completes immediately.

Available since

1.0.0

.

Constructor

new(target:Dynamic)

Creates a new NoOpEffectContext object from the given arguments.

Available since

1.0.0

.

Variables

@:value(0.0)read onlyduration:Float = 0.0

The duration of this effect is always 0.0 seconds.

Available since

1.0.0

.

@:value(0.0)position:Float = 0.0

The position of this effect is always 0.0.

Available since

1.0.0

.

read onlytarget:Dynamic

The object targeted by the affect.

Available since

1.0.0

.

Methods

interrupt():Void

Interrupts the effect, if it is playing.

Available since

1.0.0

.

pause():Void

Pauses the effect.

Available since

1.0.0

.

play():Void

Plays the effect.

Available since

1.0.0

.

playReverse():Void

Plays the effect in reverse.

Available since

1.0.0

.

stop():Void

Stops the effect.

Available since

1.0.0

.

toEnd():Void

Immediately advances the effect to the end.

Available since

1.0.0

.