|
Unity HDRP Product Visualizer 1.0.0
Interactive 3D product showcase built with Unity 6 and HDRP
|
Serialisable data record that defines one studio backdrop look. More...
Public Attributes | |
| string | presetName = "Dark Studio" |
| Human-readable name shown in the on-screen UI (e.g. "Dark Studio"). | |
| Color | topColor = new(0.06f, 0.06f, 0.18f, 1f) |
Top gradient colour fed into the GradientBackground shader's _TopColor. | |
| Color | bottomColor = new(0.01f, 0.01f, 0.04f, 1f) |
Bottom gradient colour fed into _BottomColor. | |
| float | vignette = 1.2f |
Radial vignette intensity fed into _VignetteAmount (0 = off, 4 = heavy). | |
| Color | groundTint = new(0.10f, 0.10f, 0.12f, 1f) |
Tint applied to the ground plane's _BaseColor. | |
Serialisable data record that defines one studio backdrop look.
Each preset drives two renderers through MaterialPropertyBlock overrides:
Definition at line 16 of file BackgroundController.cs.
| Color BackgroundPreset.bottomColor = new(0.01f, 0.01f, 0.04f, 1f) |
Bottom gradient colour fed into _BottomColor.
Definition at line 25 of file BackgroundController.cs.
| Color BackgroundPreset.groundTint = new(0.10f, 0.10f, 0.12f, 1f) |
Tint applied to the ground plane's _BaseColor.
Definition at line 31 of file BackgroundController.cs.
| string BackgroundPreset.presetName = "Dark Studio" |
Human-readable name shown in the on-screen UI (e.g. "Dark Studio").
Definition at line 19 of file BackgroundController.cs.
| Color BackgroundPreset.topColor = new(0.06f, 0.06f, 0.18f, 1f) |
Top gradient colour fed into the GradientBackground shader's _TopColor.
Definition at line 22 of file BackgroundController.cs.
| float BackgroundPreset.vignette = 1.2f |
Radial vignette intensity fed into _VignetteAmount (0 = off, 4 = heavy).
Definition at line 28 of file BackgroundController.cs.