This node is cool! Added Asset Load Progress ProtoFlux Node Page |
Fix component links |
||
Line 18: | Line 18: | ||
This can be highly useful in controlling the execution or visibility of content in a world or item. You can use this to control if a user is allowed to continue with something, interact with something, or see something. | This can be highly useful in controlling the execution or visibility of content in a world or item. You can use this to control if a user is allowed to continue with something, interact with something, or see something. | ||
The provided Tracker ([[Component: | The provided Tracker ([[Component:UsersAssetLoadProgress|UsersAssetLoadProgress`1]]) component is where the asset is referenced. | ||
== Inputs == | == Inputs == | ||
=== Tracker ([[Component: | === Tracker ([[Component:UsersAssetLoadProgress|UsersAssetLoadProgress`1]]) === | ||
The [[Component: | The [[Component:UsersAssetLoadProgress|UsersAssetLoadProgress`1]] component to use for tracking an asset's load progress | ||
=== User ([[Type:User|User]]) === | === User ([[Type:User|User]]) === | ||
The [[Type:User|User]] to check loading progress and status on for the provided Tracker ([[Component: | The [[Type:User|User]] to check loading progress and status on for the provided Tracker ([[Component:UsersAssetLoadProgress|UsersAssetLoadProgress`1]]). | ||
== Outputs == | == Outputs == | ||
Line 34: | Line 34: | ||
=== DownloadProgress ([[Type:Nullable`1|Float? (Nullable`1)]]) === | === DownloadProgress ([[Type:Nullable`1|Float? (Nullable`1)]]) === | ||
The download progress a User ([[Type:User|User]]) has on the Tracker ([[Component: | The download progress a User ([[Type:User|User]]) has on the Tracker ([[Component:UsersAssetLoadProgress|UsersAssetLoadProgress`1]]), or null if they don't exist or they haven't started downloading yet. | ||
=== LoadState ([[Type:AssetLoadState|Asset Load State]]) === | === LoadState ([[Type:AssetLoadState|Asset Load State]]) === | ||
The load state of the Tracker ([[Component: | The load state of the Tracker ([[Component:UsersAssetLoadProgress|UsersAssetLoadProgress`1]]) for the provided User ([[Type:User|User]]) | ||
== Examples == | == Examples == |
Latest revision as of 20:21, 24 February 2024
Asset Load Progress is a node that allows for the reading on weither or not a user has loaded an asset. This node takes a UsersAssetLoadProgress`1 component and allows for the extraction of the load progress of a certain User.
This can be highly useful in controlling the execution or visibility of content in a world or item. You can use this to control if a user is allowed to continue with something, interact with something, or see something.
The provided Tracker (UsersAssetLoadProgress`1) component is where the asset is referenced.
Inputs
Tracker (UsersAssetLoadProgress`1)
The UsersAssetLoadProgress`1 component to use for tracking an asset's load progress
User (User)
The User to check loading progress and status on for the provided Tracker (UsersAssetLoadProgress`1).
Outputs
DownloadProgress (Float? (Nullable`1))
The download progress a User (User) has on the Tracker (UsersAssetLoadProgress`1), or null if they don't exist or they haven't started downloading yet.
LoadState (Asset Load State)
The load state of the Tracker (UsersAssetLoadProgress`1) for the provided User (User)
Examples
-
An example of an Asset Load Progress making a shield around an avatar with a loading bar until it has loaded the body mesh.
-
The code used in the example for an avatar loading bar