Automated: update component fields |
m Make Gradient nicely displayed as a nested type |
||
Line 14: | Line 14: | ||
|_shader|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv1=true| The [[Shader]] to use. | |_shader|{{RootFieldType|AssetRef`1|[[Type:Shader|Shader]]}}|TypeAdv1=true| The [[Shader]] to use. | ||
|BaseColor|ColorX| The base color of the sky. | |BaseColor|ColorX| The base color of the sky. | ||
|_gradients|{{RootFieldType|SyncList`1|[[#Gradient|Gradient]]}}|TypeAdv3=true| Applies a [[Gradient]] to the sky. | |_gradients|{{RootFieldType|SyncList`1|[[#Gradient|Gradient]]}}|TypeAdv3=true| Applies a [[#Gradient|Gradient]] to the sky. | ||
}} | }} | ||
<!--T:3--> | <!--T:3--> | ||
== Usage == | == Usage == | ||
== Gradient == | |||
'''Gradient''' is a nested type used in the <code>_gradients</code> list. | |||
=== Fields === | |||
{{Table TypeFields | |||
|Direction|Float3| | |||
|FromColor|ColorX| | |||
|ToColor|ColorX| | |||
|Spread|Float| | |||
|From|Float| | |||
|To|Float| | |||
|Exp|Float| | |||
}} | |||
<!--T:4--> | <!--T:4--> | ||
Line 30: | Line 44: | ||
[[Category:Components{{#translation:}}|Gradient Sky Material]] | [[Category:Components{{#translation:}}|Gradient Sky Material]] | ||
[[Category:Components:Assets:Materials:Skybox{{#translation:}}|Gradient Sky Material]] | [[Category:Components:Assets:Materials:Skybox{{#translation:}}|Gradient Sky Material]] | ||
[[Category:Components With Nested Types]] |
Revision as of 22:16, 1 March 2024
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
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. |
HighPriorityIntegration
|
Bool | |
_shader
|
Shader | The Shader to use. |
BaseColor
|
ColorX | The base color of the sky. |
_gradients
|
list of Gradient | Applies a Gradient to the sky. |
Usage
Gradient
Gradient is a nested type used in the _gradients
list.
Fields
Name | Type | Description |
---|---|---|
Direction
|
Float3 | |
FromColor
|
ColorX | |
ToColor
|
ColorX | |
Spread
|
Float | |
From
|
Float | |
To
|
Float | |
Exp
|
Float |