User Tools

Site Tools


sdk_asset_lighting_color_scheme

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
sdk_asset_lighting_color_scheme [2019/08/30 10:12]
123
sdk_asset_lighting_color_scheme [2019/08/30 13:37] (current)
123 Added section about creating assets
Line 1: Line 1:
 ====== Lighting Color Scheme ====== ====== Lighting Color Scheme ======
  
-A Lighting Color Scheme asset defines four colors (Primary, Secondary, Tertiary and Fog) for one or more corresponding Energy Level. These colors are sent to the [[sdk_component_light_controller_array|Lighting Controller Array]] by the application to control the color of each light in the array. ​+===== Description ===== 
 + 
 +A Lighting Color Scheme asset defines four colors (Primary, Secondary, Tertiary and Fog) for one or more corresponding Energy Level. These colors are sent to the [[sdk_component_light_controller_array|Lighting Controller Array]] by the application to control the color of each light in the array. Each Lighting Color Array receives the same color scheme from the application,​ so that the colors are uniform across all arrays.
  
 Multiple Lighting Color Scheme assets can be added to a [[sdk_component_scene_lighting_descriptor|Scene Lighting Descriptor]] component, but only one will be active at the same time.  Multiple Lighting Color Scheme assets can be added to a [[sdk_component_scene_lighting_descriptor|Scene Lighting Descriptor]] component, but only one will be active at the same time. 
  
 When a change in energy level is detected by the application,​ the application will select a new color scheme at random (from all color schemes which have that energy level assigned) and activate it. When a change in energy level is detected by the application,​ the application will select a new color scheme at random (from all color schemes which have that energy level assigned) and activate it.
 +----
 +===== Creating a Lighting Color Scheme asset =====
 +
 +To create a new Lighting Color Scheme asset, follow these steps:
 +  - Right click in the Project window or click //Assets// in the menu bar
 +  - Select Create > EntroPi > Environment > Lighting > Colors > Color Scheme
 +  - Name the file that was just created
sdk_asset_lighting_color_scheme.txt · Last modified: 2019/08/30 13:37 by 123