Component:LegacyCloudStorageSpaceIndicator: Difference between revisions

From Resonite Wiki
Automated: update component fields
add info
 
Line 7: Line 7:
|Name=Legacy Cloud Storage Space Indicator
|Name=Legacy Cloud Storage Space Indicator
}}
}}
The '''LegacyCloudStorageSpaceIndicator''' component was used in old migrated legacy content that showed the cloud storage usage for a user. This component should not be used in new content and should be replaced when possible.


<!--T:2-->
<!--T:2-->
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Source|'''[[Component:StorageUsageStatus|StorageUsageStatus]]'''|TypeAdv0=true|
|Source|'''[[Component:StorageUsageStatus|StorageUsageStatus]]'''|TypeAdv0=true| The source of the cloud usage data.
|ContainerColor|ColorX|
|ContainerColor|ColorX| The color of the UI container.
|UsedColor|ColorX|
|UsedColor|ColorX| The normal color when storage has been used.
|LowSpaceColor|ColorX|
|LowSpaceColor|ColorX| The color to use when space is low.
|CriticalSpaceColor|ColorX|
|CriticalSpaceColor|ColorX| The color to use when space is almost filled or beyond filled.
|LowSpaceThreshold|Float|
|LowSpaceThreshold|Float| The percentage 0 to 1 for cloud storage to be considered low space.
|CriticalSpaceThreshold|Float|
|CriticalSpaceThreshold|Float| The percentage from 0 to 1 for cloud storage to be considered critically full.
|_ownerLabel|'''[[Component:TextRenderer|TextRenderer]]'''|TypeAdv7=true|
|_ownerLabel|'''[[Component:TextRenderer|TextRenderer]]'''|TypeAdv7=true| The text renderer that shows the owner of this cloud storage indicator.
|_usageLabel|'''[[Component:TextRenderer|TextRenderer]]'''|TypeAdv8=true|
|_usageLabel|'''[[Component:TextRenderer|TextRenderer]]'''|TypeAdv8=true| The text renderer that shows the usage of the cloud storage for the user.
|_percentLabel|'''[[Component:TextRenderer|TextRenderer]]'''|TypeAdv9=true|
|_percentLabel|'''[[Component:TextRenderer|TextRenderer]]'''|TypeAdv9=true| The text renderer that shows the percentage full for the cloud storage of the user.
|_progressBar|'''[[Component:LegacyProgressBar|LegacyProgressBar]]'''|TypeAdv10=true|
|_progressBar|'''[[Component:LegacyProgressBar|LegacyProgressBar]]'''|TypeAdv10=true| The UI used to show the amount of storage used as a progress bar.
|__legacyOwnerId|String|
|__legacyOwnerId|String| The legacy owner ID for what user this component was supposed to show the cloud storage for.
|__legacyMemberQuota|Bool|
|__legacyMemberQuota|Bool| Whether this component was supposed to show the amount of storage a user was using for a group shared storage that they were allocated.
}}
}}


<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
Just don't.


<!--T:4-->
<!--T:4-->
== Examples ==
== Examples ==
{{stub}}


<!--T:5-->
<!--T:5-->
== Related Components ==
== See Also ==
</translate>
</translate>
[[Category:ComponentStubs]]
[[Category:Components{{#translation:}}|Legacy Cloud Storage Space Indicator]]
[[Category:Components{{#translation:}}|Legacy Cloud Storage Space Indicator]]
[[Category:Components:Cloud{{#translation:}}|Legacy Cloud Storage Space Indicator]]
[[Category:Components:Cloud{{#translation:}}|Legacy Cloud Storage Space Indicator]]

Latest revision as of 20:04, 21 January 2025


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


Component image 
Legacy Cloud Storage Space Indicator component as seen in the Scene Inspector

The LegacyCloudStorageSpaceIndicator component was used in old migrated legacy content that showed the cloud storage usage for a user. This component should not be used in new content and should be replaced when possible.

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.
Source StorageUsageStatus The source of the cloud usage data.
ContainerColor ColorX The color of the UI container.
UsedColor ColorX The normal color when storage has been used.
LowSpaceColor ColorX The color to use when space is low.
CriticalSpaceColor ColorX The color to use when space is almost filled or beyond filled.
LowSpaceThreshold Float The percentage 0 to 1 for cloud storage to be considered low space.
CriticalSpaceThreshold Float The percentage from 0 to 1 for cloud storage to be considered critically full.
_ownerLabel TextRenderer The text renderer that shows the owner of this cloud storage indicator.
_usageLabel TextRenderer The text renderer that shows the usage of the cloud storage for the user.
_percentLabel TextRenderer The text renderer that shows the percentage full for the cloud storage of the user.
_progressBar LegacyProgressBar The UI used to show the amount of storage used as a progress bar.
__legacyOwnerId String The legacy owner ID for what user this component was supposed to show the cloud storage for.
__legacyMemberQuota Bool Whether this component was supposed to show the amount of storage a user was using for a group shared storage that they were allocated.

Usage

Just don't.

Examples

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


See Also