Component:ColorSky: Difference between revisions

From Resonite Wiki
Added a note to the component page.
Explain the components existence.
 
(One intermediate revision by one other user 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.
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}}
{{Note|The ColorSky component is deprecated. Use [[Component:Skybox|Skybox]] with a material instead.|information}}
Line 11: Line 10:
== 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 24: 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