The SEDRIS Data Representation Model
APPENDIX A - Classes Light Source Control Link |
---|
An instance of this DRM class specifies an <Expression> instance, the value of which determines the active_light_value of all target <Light Source> instances - that is, which determines whether those <Light Source> instances are on or off.
A <Model> of a lighthouse has a <Geometry Model> with a <Union Of Geometry Hierarchy>, to which is attached an <Spot Light> representing the lighthouse's light. The <Spot Light> has a <Light Source Control Link> that turns the light on or off, depending on the time of day and the weather.
A <Light Source Control Link> controls the active_light_value stored in its <Light Source>, so that the <Light Source> can be turned on and off.
SE_String | description; | (notes) |
---|
SE_Integer_Positive | expr_index; | (notes) |
---|
The description field specifies a text description of the given <Control Link> instance's purpose.
The expr_index field specifies which <Expression> component's value controls whether the controlled <Light Source> instance(s) are on or off. If the <Expression> evaluates to SE_TRUE, the <Light Source> instances are on.
|