CustomFadeTransition
| Kind | class |
| Package | shaders |
| Full name | shaders.CustomFadeTransition |
| Source | source/shaders/CustomFadeTransition.hx |
| Extends | MusicBeatSubstate |
Public fields
| Name | Type | Static | Default | Notes |
|---|---|---|---|---|
finishCallback | Void->Void | yes | — | — |
Public methods
onResize
override function onResize(width:Int, height:Int):Void
| Parameter | Type | Default |
|---|---|---|
width | Int | — |
height | Int | — |
new (constructor)
function new(duration:Float, isTransIn:Bool)
| Parameter | Type | Default |
|---|---|---|
duration | Float | — |
isTransIn | Bool | — |
Internals
Private / internal members
| Field | Type | Static |
|---|---|---|
isTransIn | Bool | no |
transBlack | FlxSprite | no |
transGradient | FlxSprite | no |
duration | Float | no |
| Method |
|---|
override function create() |
override function update(elapsed:Float) |
override function close():Void |