Constructs a new ZScene instance.
The unique identifier for the scene.
The logical height of the scene in scene units for the current orientation.
Returns the root ZContainer that all scene display objects are added to.
The logical width of the scene in scene units for the current orientation.
Adds a container to the resize map, so it will be resized with the scene.
The container to add.
Applies visual filters (such as drop shadow) to a PIXI container.
The object containing filter data.
The PIXI container to apply filters to.
Recursively creates and adds child assets to a container based on template data.
The parent container.
The template data for the asset.
Loads a bitmap font from XML and creates a bitmap text object.
The URL to the XML font data.
The text to display.
The name of the font.
The size of the font.
Callback to invoke when the font is loaded.
A promise that resolves when the font is loaded.
Creates a PIXI.Sprite for a given frame name from the loaded spritesheet.
The name of the frame.
The created sprite, or null if not found.
Creates an animated sprite (movie clip) from frames with a given prefix.
The prefix for the frames.
The created animated sprite.
Converts degrees to radians.
The angle in degrees.
The angle in radians.
Destroys the scene and its assets, freeing resources.
Recursively collects all asset nodes from a given object.
The object to search.
The accumulator for found assets.
The map of all found assets.
Retrieves animation frames for all children of a template.
The name of the template.
A record mapping child instance names to their animation tracks.
Returns the logical (un-scaled) inner dimensions of the scene, swapping width and height when in portrait orientation.
An object with width and height in scene units.
Gets the number of frames that match a given prefix in the spritesheet data.
The prefix to search for.
The number of matching frames.
Initializes the scene with the given placements object.
The scene data.
Loads the scene's placement and asset data asynchronously.
The base path for assets.
Callback function to invoke when loading is complete.
Loads the scene's assets and fonts, then initializes the scene.
The base path for assets.
The placements object describing the scene.
Callback function to invoke when loading is complete.
Loads and initializes the scene's stage, adding its children to the global stage.
The main PIXI.Container to which the scene will be added.
Loads a texture from a given URL.
The URL of the texture.
A promise that resolves to the loaded PIXI.Texture.
Removes a container from the resize map.
The container to remove.
Resizes the scene and all registered containers to fit the given dimensions.
The new width.
The new height.
Sets the orientation property based on the current window dimensions.
Spawns a new container or timeline for a given template name.
The template name.
The created container or timeline, or undefined if not found.
StaticgetReturns the constructor registered for the given AssetType string.
An AssetType string key.
The corresponding class constructor, or null if not registered.
StaticgetRetrieves a scene instance by its ID.
The ID of the scene to retrieve.
The ZScene instance, or undefined if not found.
StaticisType-guard that checks whether value is a known AssetType key.
The string to test.
true if value is a registered AssetType.
Represents a scene in the application, managing its assets, layout, and lifecycle. Handles loading, resizing, and instantiation of scene elements using PIXI.js.
Remarks
ZContainer,ZButton,ZState, andZTimeline.