Class Name: Light Source Control Link

Superclass - Control Link

Definition

The specialized Control Link used to provide the connection between an ordered aggregation of Expressions and the target field of a Light Source.

The expr_index field is a 1-based index into the ordered aggregation of Expressions, and is used to select the specific Expression that controls the active_light_value field of the Light Source.

Primary Page in DRM Diagram:

Secondary Pages in DRM Diagram:

Example

  1. 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.

FAQs

What does a Light Source Control Link control?
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.

Constraints

None.

Composed of (two-way)(inherited)

Component of (two-way)

Inherited Field Elements

SE_STRING description; (notes)

Field Elements

SE_UINT32 expr_index; (notes)

Notes

Fields Notes

description

 A text description of what the Control_Link is for

expr_index

 index of the expression whose value controls whether a light source is
 on or off.  If the expression evaluates to SE_TRUE, the light source is
 on.

Prev: Light Source. Next: Line. Up:Index.