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.
'''WorldLoadingProgressInterface''' is the key component in the creation of a user-definable world loading progress bar. See [[Favorites]] for favoritable items like this one.
|SpawningUserID|'''[[Type:IField`1|IField`1]]<[[Type:String|String]]>'''|TypeAdv2=true| The field containing the ID of the user that spawned this favoritable item.
|IsInstance|Bool|
|IsInstance|Bool| Whether this item is an instance.
|Progress|'''[[Type:IField`1|IField`1]]<[[Type:Float|Float]]>'''|TypeAdv4=true| Float field where 0.0 - 1.0 progress will be written.
|Progress|'''[[Type:IField`1|IField`1]]<[[Type:Float|Float]]>'''|TypeAdv4=true| Float field where 0.0 - 1.0 progress will be written.
|WorldName|'''[[Type:IField`1|IField`1]]<[[Type:String|String]]>'''|TypeAdv5=true| String field where the loading world's name will be written.
|WorldName|'''[[Type:IField`1|IField`1]]<[[Type:String|String]]>'''|TypeAdv5=true| String field where the loading world's name will be written.
|Stage|'''[[Type:IField`1|IField`1]]<[[Type:ProgressStage|ProgressStage]]>'''|TypeAdv6=true| SyncRef ProgressStage Field ''(To-Do: Need info on ProgressStage fields and what provides them.)''
|Stage|'''[[Type:IField`1|IField`1]]<[[Type:ProgressStage|ProgressStage]]>'''|TypeAdv6=true| The field to write with the current progress stage of the currently loading world. This is written by the world loading main process.
|PhaseName|'''[[Type:IField`1|IField`1]]<[[Type:String|String]]>'''|TypeAdv7=true| String field where the current loading phase name will be written.
|PhaseName|'''[[Type:IField`1|IField`1]]<[[Type:String|String]]>'''|TypeAdv7=true| String field where the current loading phase name will be written.
|SubPhaseName|'''[[Type:IField`1|IField`1]]<[[Type:String|String]]>'''|TypeAdv8=true| String field where the current loading sub-phase name will be written.
|SubPhaseName|'''[[Type:IField`1|IField`1]]<[[Type:String|String]]>'''|TypeAdv8=true| String field where the current loading sub-phase name will be written.
Line 48:
Line 47:
|TotalBytes|'''[[Type:IField`1|IField`1]]<[[Type:Long|Long]]>'''|TypeAdv33=true| Long field count of total bytes expected to be downloaded.
|TotalBytes|'''[[Type:IField`1|IField`1]]<[[Type:Long|Long]]>'''|TypeAdv33=true| Long field count of total bytes expected to be downloaded.
|BytesPerSecond|'''[[Type:IField`1|IField`1]]<[[Type:Long|Long]]>'''|TypeAdv34=true| Long field indicating current Bytes-per-Second download rate.
|BytesPerSecond|'''[[Type:IField`1|IField`1]]<[[Type:Long|Long]]>'''|TypeAdv34=true| Long field indicating current Bytes-per-Second download rate.
|ProgressBar|'''[[Component:ProgressBarInterface|ProgressBarInterface]]'''|TypeAdv35=true| Reference to a [[ProgressBarInterface]] component.
|ProgressBar|'''[[Component:ProgressBarInterface|ProgressBarInterface]]'''|TypeAdv35=true| Reference to a [[Component:ProgressBarInterface]] component to use as the progress Bae visual.
}}
}}
<!--T:3-->
<!--T:3-->
== Usage ==
== 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 [[Favorites|favorite]] it so it becomes the default world load indicator upon restarting.
<!--T:4-->
<!--T:4-->
== Examples ==
== Examples ==
The default Resonite world loading bar that is part of the user's default [[Favorites]]
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.
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