from tdw.object_data.composite_object.sub_object.light_dynamic import LightDynamic
Dynamic data for a light sub-object of a composite object.
-
is_onIf True, the light is on. -
sub_object_idThe ID of this sub-object.
LightDynamic(is_on, sub_object_id)
| Parameter | Type | Default | Description |
|---|---|---|---|
| is_on | bool | If True, the light is on. | |
| sub_object_id | int | The ID of this sub-object. |