Skip to main content

create_light_source_directional

Function create_light_source_directional 

Source
pub fn create_light_source_directional(
    tx: &mut Transaction,
    model: &Model,
    schema: &Schema,
    draft: LightSourceDraft<'_>,
    orientation: EntityId,
) -> StyleResult<EntityId>
Expand description

Stage an IfcLightSourceDirectional: parallel rays, no position.

ยงErrors

Refuses an out-of-range normalised ratio, and references that do not resolve to their declared types.