Component:MeshRendererLoadStatus

From Resonite Wiki
This page contains changes which are not marked for translation.
Component image 
Mesh Renderer Load Status component as seen in the Scene Inspector

The MeshRendererLoadStatus component keeps track of how many meshes in the list of meshes have been loaded for the local user. The meshes can be skinned mesh renderers or mesh renderers. The loaded status checks for if the mesh is loaded, including for any materials on those mesh/skinned mesh renderers.

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.
Renderers list of MeshRenderer A list of skinned mesh renderers or mesh renderers to keep track of the load progress for.
IsLoaded raw output of Bool Whether all meshes are finished loading
LoadProgress raw output of Float The percentage of meshes that have loaded.
ProgressWeight raw output of Float The number of not null meshes that exist in Renderers.

Usage

Can be used for a loading indicator for worlds or avatars.

Examples

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


See Also