Component:Bounds: Difference between revisions

From Resonite Wiki
imported>AshtonSparx
Created page with "<languages></languages> <translate> <!--T:1--> {{stub}} {{Infobox Component |Image=BoundsComponent.png |Name=Bounds }} <!--T:2--> == Fields == {{Table ComponentFields |Availa..."
 
Fix
 
(5 intermediate revisions by 3 users not shown)
Line 2: Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
Bounds is a component that is used by the [[Component:LegacyRadio|Legacy Radio Component]] When being generated by a UIBuilder, such as when being a legacy radio is created by the [[DevTip]]. This component implements [[Type:IBounded]] so it can be used with anything that accepts a bounds source such as [[Component:BoundingBoxDriver]].
{{Infobox Component
{{Infobox Component
|Image=BoundsComponent.png
|Image=BoundsComponent.png
Line 11: Line 11:
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Available|Bool|
|Available|Bool| Says whether or not this component is ready. Used internally.
|LocalBounds|BoundingBox|
|LocalBounds|BoundingBox| The [[Type:BoundingBox|Bounding Box]] that this component represents
}}
}}


Line 24: Line 24:
== Related Components ==
== Related Components ==
</translate>
</translate>
[[Category:ComponentStubs]]
[[Category:Components{{#translation:}}|Bounds]]
[[Category:Components{{#translation:}}|Bounds]]
[[Category:Components:Uncategorized{{#translation:}}|Bounds]]
[[Category:Components:Uncategorized{{#translation:}}|Bounds]]

Latest revision as of 20:34, 16 February 2025

Bounds is a component that is used by the Legacy Radio Component When being generated by a UIBuilder, such as when being a legacy radio is created by the DevTip. This component implements Type:IBounded so it can be used with anything that accepts a bounds source such as Component:BoundingBoxDriver.

Component image 
Bounds component as seen in the Scene Inspector


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.
Available Bool Says whether or not this component is ready. Used internally.
LocalBounds BoundingBox The Bounding Box that this component represents

Usage

Examples

Related Components