Class NativeUiAnimationLifecycle
java.lang.Object
com.viaversion.viafabricplus.bedrock.screen.ui.NativeUiAnimationLifecycle
Applies authored animation destruction to the resolved control tree.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadvance(long elapsedNanos) Hosts retire only these completed creations, after animation traversal has finished.booleanbooleanexiting()voidreplaceRoot(NativeUiScene.Node root, long elapsedNanos) Binding refreshes retain control clocks; new controls start at the refresh time.booleanrequestExit(long elapsedNanos) Returns whether an authored pop exit must finish before its host removes the scene.
-
Constructor Details
-
NativeUiAnimationLifecycle
-
-
Method Details
-
advance
public void advance(long elapsedNanos) -
animations
-
drainRetiredFactories
Hosts retire only these completed creations, after animation traversal has finished. -
requestExit
public boolean requestExit(long elapsedNanos) Returns whether an authored pop exit must finish before its host removes the scene. -
exiting
public boolean exiting() -
exitComplete
public boolean exitComplete() -
replaceRoot
Binding refreshes retain control clocks; new controls start at the refresh time.
-