Component:ColorSky: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
Explain the components existence.
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
|Name=Color Sky
|Name=Color Sky
}}
}}
{{stub}}
 
The ColorSky component creates a skybox with a color. Currently when this component is added to a slot, it will be immediately replaced with a Skybox and a material component automatically. It exists as a stub to maintain compatibility with legacy content.
 
{{Note|The ColorSky component is deprecated. Use [[Component:Skybox|Skybox]] with a material instead.|information}}


== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|BaseColor|ColorX|
|BaseColor|ColorX| Internal
|_gradients|{{RootFieldType|SyncList`1|[[#Gradient|Gradient]]}}|TypeAdv1=true|
|_gradients|{{RootFieldType|SyncList`1|[[#Gradient|Gradient]]}}|TypeAdv1=true| Internal
}}
}}


Line 20: Line 23:
[[Category:Components{{#translation:}}|Color Sky]]
[[Category:Components{{#translation:}}|Color Sky]]
[[Category:Components With Nested Types{{#translation:}}|Color Sky]]
[[Category:Components With Nested Types{{#translation:}}|Color Sky]]
[[Category:ComponentStubs]]

Latest revision as of 04:33, 15 October 2024

Component image 
File:ColorSkyComponent.png
Color Sky component as seen in the Scene Inspector


The ColorSky component creates a skybox with a color. Currently when this component is added to a slot, it will be immediately replaced with a Skybox and a material component automatically. It exists as a stub to maintain compatibility with legacy content.

The ColorSky component is deprecated. Use Skybox with a material instead.

Usage

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.
BaseColor ColorX Internal
_gradients list of Gradient Internal

Behavior

Examples

See Also