An effect that does nothing and simply completes immediately.

Events:

openfl.events.Event.CHANGE

Dispatched when the effect's position is updated.

openfl.events.Event.COMPLETE

Dispatched when the effect has completed.

Available since

1.0.0

.

Constructor

new(target:Dynamic)

Creates a new NoOpEffectContext object from the given arguments.

Available since

1.0.0

.

Variables

read onlyduration:Float

The duration of this effect is always 0.0 seconds.

Available since

1.0.0

.

position:Float

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

.