Skip to content

Commit

Permalink
v1.1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
adizanni authored Feb 4, 2022
1 parent eeb85cc commit 706873b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ When you are finished, configure a new card (either in panel mode or regular) wi
| overlay | string | no | 'yes' if you want to show an overlay panel for displaying data on the objects on click |
| click | string | no | 'yes' if you want to enable the click event. This will automatically disable the double click, you can manage the click behaviour at entity level via the action parameter |
| lock_camera | string | no | 'yes' to stop the zoom and rotate camera actions on the model |
| show_axes | string | no | 'yes' to show the axes in the scene. It can help define the direction vector for the spotlight |
| overlay\_<style> | string | various | allow to manage the aspect of the overlay panel (colors, fonts, etc.) |

For each entity in the entities list you need to specify the following options:
Expand Down Expand Up @@ -181,6 +182,9 @@ entities:
light:
lumens: <max light lumens range: 0-4000 for regular led/bulb lights>
shadow: <'no', if you do not want this light to case a shadow. This is to cope with the limit of max lights casting shadow in a model>
vertical_alignment: <'top', 'middle', 'bottom', when you activate shadows it allows to avoid that the lamp itself block the light>
light_target: when this parameter is filled, the light becomes a spotlight, you need to put here the object_id of the target of the spot
light_direction: when this parameter is filled, the light becomes a spotlight, you put here the direction vector of the spotlight. It can only be changed in the code editor. in the format x: xxx, y: yyy, z: zzz
```

light_name is the name of the light object that will be created in the model to do the actual illumination.
Expand Down

0 comments on commit 706873b

Please sign in to comment.