(One intermediate revision by one other user not shown)
Line 3:
Line 3:
|Name=Users Asset Load Progress`1
|Name=Users Asset Load Progress`1
}}
}}
{{stub}}
The '''UsersAssetLoadProgress''' component is commonly used with [[ProtoFlux]] to tell if a particular User has loaded an asset. The node in particular is the [[ProtoFlux:Asset Load Progress|Asset Load Progress]] ProtoFlux node. This component takes any [[Type:IAsset|IAsset]] as the generic argument for the component.
|ProgressInfo|{{RootFieldType|SyncList`1|[[#LoadProgress|UsersAssetLoadProgress`1.LoadProgress]]<A>}}|TypeAdv1=true| A list of users in the session and their status on loading the specified <code>Asset</code>.
|UsersPartiallyLoaded|{{RootFieldType|RawOutput`1|[[Type:Int|Int]]}}|TypeAdv5=true| How many users are currently in the process of downloading <code>Asset</code>?
|UsersFailedToLoad|{{RootFieldType|RawOutput`1|[[Type:Int|Int]]}}|TypeAdv7=true| How many users failed to load <code>Asset</code> due to an error?
}}
== LoadProgress ==
{{Table TypeFields
|User|{{RootFieldType|UserRef}}|TypeAdv0=true| The user this Load Progress is tracking loading for.
|DownloadProgress|'''[[Type:Nullable`1|Nullable`1]]<[[Type:Float|Float]]>'''|TypeAdv1=true| If the user had begun downloading, how much have they downloaded from 0<->1?
|State|AssetLoadState| What stage of getting the Asset <code>User</code> is at, or if they failed to get it.
}}
}}
== Usage ==
== Usage ==
Attach to a slot and provide an asset to <code>Asset</code> for this component to start working.
== Examples ==
== Examples ==
Can be used with ProtoFlux [[ProtoFlux:Asset Load Progress|Asset Load Progress]] node to get the loading progress of <code>Asset</code> for a particular User.
[[Category:Components With Nested Types{{#translation:}}|Users Asset Load Progress`1]]
[[Category:Components With Nested Types{{#translation:}}|Users Asset Load Progress`1]]
[[Category:ComponentStubs]]
Latest revision as of 06:05, 17 March 2025
Component image
Users Asset Load Progress`1 component as seen in the Scene Inspector
The UsersAssetLoadProgress component is commonly used with ProtoFlux to tell if a particular User has loaded an asset. The node in particular is the Asset Load Progress ProtoFlux node. This component takes any IAsset as the generic argument for the component.