Home Migration Guide Getting Started With Scripts Commands Examples
Generic JSON Recipes

PopUpManager

This class was added by a mod with mod-id cinematic_transitions. So you need to have this mod installed if you want to use this feature.

Importing the class

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

script.zs
import mods.cinematic_transitions.PopUpManager;

Static Methods

Return Type: void

script.zs
// PopUpManager.disableColorModifier() as void
PopUpManager.disableColorModifier();

Return Type: void

script.zs
// PopUpManager.disableScaleModifier() as void
PopUpManager.disableScaleModifier();

Return Type: void

script.zs
// PopUpManager.disableTranslateModifier() as void
PopUpManager.disableTranslateModifier();

Return Type: void

script.zs
PopUpManager.setColorModifier(red as float, green as float, blue as float, alpha as float) as void
ParameterTypeDescription
Parameter
red
Type
float
Description
No Description Provided
Parameter
green
Type
float
Description
No Description Provided
Parameter
blue
Type
float
Description
No Description Provided
Parameter
alpha
Type
float
Description
No Description Provided

Return Type: void

script.zs
PopUpManager.setPopUpLength(length as float) as void
ParameterTypeDescription
Parameter
length
Type
float
Description
No Description Provided

Return Type: void

script.zs
PopUpManager.setPopUpWaitDuration(maxWait as int) as void
ParameterTypeDescription
Parameter
maxWait
Type
int
Description
No Description Provided

Return Type: void

script.zs
PopUpManager.setPostRenderModification(modification as Runnable) as void
ParameterTypeDescription
Parameter
modification
Type
Runnable
Description
No Description Provided

Return Type: void

script.zs
PopUpManager.setPreRenderModification(modification as Runnable) as void
ParameterTypeDescription
Parameter
modification
Type
Runnable
Description
No Description Provided

Return Type: void

script.zs
PopUpManager.setScaleModifier(x as float, y as float, z as float) as void
ParameterTypeDescription
Parameter
x
Type
float
Description
No Description Provided
Parameter
y
Type
float
Description
No Description Provided
Parameter
z
Type
float
Description
No Description Provided

Return Type: void

script.zs
PopUpManager.setTranslateModifier(x as float, y as float, z as float) as void
ParameterTypeDescription
Parameter
x
Type
float
Description
No Description Provided
Parameter
y
Type
float
Description
No Description Provided
Parameter
z
Type
float
Description
No Description Provided