Component:GradientSkyMaterial: Difference between revisions

From Resonite Wiki
m Make Gradient nicely displayed as a nested type
Automated: update 'HighPriorityIntegration' description
 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|HighPriorityIntegration|Bool|
|HighPriorityIntegration|Bool|{{Asset HighPriorityIntegration Field}}
|_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.
Line 44: 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]]
[[Category:Materials:Skybox{{#translation:}}|Gradient Sky Material]]
[[Category:Materials{{#translation:}}|Gradient Sky Material]]
[[Category:Components With Nested Types{{#translation:}}|Gradient Sky Material]]

Latest revision as of 11:59, 1 August 2024


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


Component image 
Gradient Sky Material 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.
HighPriorityIntegration Bool If true, integrating this asset (e.g. processing procedural assets) gets higher priority than assets with this flag off. An example is user laser procedural meshes.
_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

Fields
Name Type Description
Direction Float3
FromColor ColorX
ToColor ColorX
Spread Float
From Float
To Float
Exp Float


Examples

Related Components