Component:WorldLoadingProgressInterface

From Resonite Wiki
This page contains changes which are not marked for translation.


This article or section is a Stub. You can help the Resonite Wiki by expanding it.

Component image 
World Loading Progress Interface component as seen in the Scene Inspector

The WorldLoadingProgressInterface component is the key component in the creation of a user-definable world loading progress bar. See Favorites for favoritable items like this one.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
ItemName IField`1<String> The name of this favoritable item.
SpawningUser UserRef The user that spawned this favoritable item.
SpawningUserID IField`1<String> The field containing the ID of the user that spawned this favoritable item.
IsInstance Bool Whether this item is an instance.
Progress IField`1<Float> Float field where 0.0 - 1.0 progress will be written.
WorldName IField`1<String> String field where the loading world's name will be written.
Stage IField`1<ProgressStage> The field to write with the current progress stage of the currently loading world. This is written by the world loading main process.
PhaseName IField`1<String> String field where the current loading phase name will be written.
SubPhaseName IField`1<String> String field where the current loading sub-phase name will be written.
HasCompleted IField`1<Bool> Boolean field that will be set to true on loading completion.
HasFailed IField`1<Bool> Boolean field that will be set to true on loading failure.
CompletionMessage IField`1<String> String field where message indicating completion will be written.
FailureReason IField`1<String> String field where message indicating reason for loading failure will be written.
LoadingAssets IField`1<Bool> Boolean field that is set true while loading assets.
LoadedAssets IField`1<Int> Integer field counting loaded assets.
TotalAssets IField`1<Int> Integer field counting total assets to be loaded.
LoadedTextures2D IField`1<Int> Integer field counting loaded ITexture2D assets.
TotalTextures2D IField`1<Int> Integer field counting total ITexture2D assets to be loaded.
LoadedTextures3D IField`1<Int> Integer field counting loaded ITexture3D assets.
TotalTextures3D IField`1<Int> Integer field counting total ITexture3D assets to be loaded.
LoadedCubemaps IField`1<Int> Integer field counting loaded Cubemap assets.
TotalCubemaps IField`1<Int> Integer field counting total Cubemap assets to be loaded.
LoadedVideos IField`1<Int> Integer field counting loaded Video assets.
TotalVideos IField`1<Int> Integer field counting total Video assets to be loaded.
LoadedMeshes IField`1<Int> Integer field counting loaded Mesh assets.
TotalMeshes IField`1<Int> Integer field counting total Mesh assets to be loaded.
LoadedAudioClips IField`1<Int> Integer field counting loaded Audio assets.
TotalAudioClips IField`1<Int> Integer field counting total Audio assets to be loaded.
LoadedShaders IField`1<Int> Integer field counting loaded Shader assets.
TotalShaders IField`1<Int> Integer field counting total Shader assets to be loaded.
LoadedFonts IField`1<Int> Integer field counting loaded Font assets.
TotalFonts IField`1<Int> Integer field counting total Font assets to be loaded.
BytesDownloaded IField`1<Long> Long field counting total bytes downloaded so far.
TotalBytes IField`1<Long> Long field count of total bytes expected to be downloaded.
BytesPerSecond IField`1<Long> Long field indicating current Bytes-per-Second download rate.
ProgressBar ProgressBarInterface Reference to a Component:ProgressBarInterface component to use as the progress Bae visual.

Usage

Use either the existing Resonite world loading bar under Resonite Essentials or make a UI by attaching the component and making one from scratch. Then save the item with this component to the inventory and favorite it so it becomes the default world load indicator upon restarting.

Examples

The default Resonite world loading bar that is part of the user's default Favorites

See Also