LibreDWG API  0.13.3
LibreDWG API - The DWG Library
_dwg_entity_LIGHT Struct Reference

#include <dwg.h>

Data Fields

struct _dwg_object_entityparent
 
BITCODE_BL class_version
 DXF 90. More...
 
BITCODE_TV name
 DXF 1. More...
 
BITCODE_BL type
 DXF 70, distant = 1; point = 2; spot = 3. More...
 
BITCODE_B status
 DXF 290, on or off. More...
 
BITCODE_CMC light_color
 DXF 63 + 421. More...
 
BITCODE_B plot_glyph
 DXF 291. More...
 
BITCODE_BD intensity
 DXF 40. More...
 
BITCODE_3BD position
 DXF 10. More...
 
BITCODE_3BD target
 DXF 11. More...
 
BITCODE_BL attenuation_type
 DXF 72. More...
 
BITCODE_B use_attenuation_limits
 DXF 292. More...
 
BITCODE_BD attenuation_start_limit
 DXF 41. More...
 
BITCODE_BD attenuation_end_limit
 DXF 42. More...
 
BITCODE_BD hotspot_angle
 DXF 50. More...
 
BITCODE_BD falloff_angle
 DXF 51, with type=spot. More...
 
BITCODE_B cast_shadows
 DXF 293. More...
 
BITCODE_BL shadow_type
 DXF 73, ray_traced=0, shadow_maps=1. More...
 
BITCODE_BS shadow_map_size
 DXF 91 in pixel: 64,128,256,...4096. More...
 
BITCODE_RC shadow_map_softness
 DXF 280 1-10 (num pixels blend into) More...
 
BITCODE_B is_photometric
 
BITCODE_B has_photometric_data
 
BITCODE_B has_webfile
 DXF 290. More...
 
BITCODE_TV webfile
 DXF 300 IES file. More...
 
BITCODE_BS physical_intensity_method
 DXF 70. More...
 
BITCODE_BD physical_intensity
 DXF 40. More...
 
BITCODE_BD illuminance_dist
 DXF 41. More...
 
BITCODE_BS lamp_color_type
 DXF 71 0: in kelvin, 1: as preset. More...
 
BITCODE_BD lamp_color_temp
 DXF 42 Temperature in Kelvin. More...
 
BITCODE_BS lamp_color_preset
 DXF 72. More...
 
BITCODE_BL lamp_color_rgb
 if lamp_color_preset is Custom More...
 
BITCODE_3BD web_rotation
 DXF 43-45 rotation offset in XYZ Euler angles. More...
 
BITCODE_BS extlight_shape
 DXF 73: 0 linear, 1 rect, 2 disk, 3 cylinder, 4 sphere. More...
 
BITCODE_BD extlight_length
 DXF 46. More...
 
BITCODE_BD extlight_width
 DXF 47. More...
 
BITCODE_BD extlight_radius
 DXF 48. More...
 
BITCODE_BS webfile_type
 DXF 74. More...
 
BITCODE_BS web_symetry
 DXF 75. More...
 
BITCODE_BS has_target_grip
 DXF 76 if the light displays a target grip for orienting the light. More...
 
BITCODE_BD web_flux
 DXF 49. More...
 
BITCODE_BD web_angle1
 DXF 50. More...
 
BITCODE_BD web_angle2
 DXF 51. More...
 
BITCODE_BD web_angle3
 DXF 52. More...
 
BITCODE_BD web_angle4
 DXF 53. More...
 
BITCODE_BD web_angle5
 DXF 54. More...
 
BITCODE_BS glyph_display_type
 DXF 77 0:auto, 1:on, 2:off. More...
 

Detailed Description

Entity LIGHT (varies) UNSTABLE, now complete

Field Documentation

◆ attenuation_end_limit

BITCODE_BD _dwg_entity_LIGHT::attenuation_end_limit

DXF 42.

◆ attenuation_start_limit

BITCODE_BD _dwg_entity_LIGHT::attenuation_start_limit

DXF 41.

◆ attenuation_type

BITCODE_BL _dwg_entity_LIGHT::attenuation_type

DXF 72.

None=0, Inverse Linear=1, Inverse Square=2

◆ cast_shadows

BITCODE_B _dwg_entity_LIGHT::cast_shadows

DXF 293.

◆ class_version

BITCODE_BL _dwg_entity_LIGHT::class_version

DXF 90.

◆ extlight_length

BITCODE_BD _dwg_entity_LIGHT::extlight_length

DXF 46.

◆ extlight_radius

BITCODE_BD _dwg_entity_LIGHT::extlight_radius

DXF 48.

◆ extlight_shape

BITCODE_BS _dwg_entity_LIGHT::extlight_shape

DXF 73: 0 linear, 1 rect, 2 disk, 3 cylinder, 4 sphere.

◆ extlight_width

BITCODE_BD _dwg_entity_LIGHT::extlight_width

DXF 47.

◆ falloff_angle

BITCODE_BD _dwg_entity_LIGHT::falloff_angle

DXF 51, with type=spot.

◆ glyph_display_type

BITCODE_BS _dwg_entity_LIGHT::glyph_display_type

DXF 77 0:auto, 1:on, 2:off.

◆ has_photometric_data

BITCODE_B _dwg_entity_LIGHT::has_photometric_data

◆ has_target_grip

BITCODE_BS _dwg_entity_LIGHT::has_target_grip

DXF 76 if the light displays a target grip for orienting the light.

◆ has_webfile

BITCODE_B _dwg_entity_LIGHT::has_webfile

DXF 290.

◆ hotspot_angle

BITCODE_BD _dwg_entity_LIGHT::hotspot_angle

DXF 50.

◆ illuminance_dist

BITCODE_BD _dwg_entity_LIGHT::illuminance_dist

DXF 41.

◆ intensity

BITCODE_BD _dwg_entity_LIGHT::intensity

DXF 40.

◆ is_photometric

BITCODE_B _dwg_entity_LIGHT::is_photometric

◆ lamp_color_preset

BITCODE_BS _dwg_entity_LIGHT::lamp_color_preset

DXF 72.

◆ lamp_color_rgb

BITCODE_BL _dwg_entity_LIGHT::lamp_color_rgb

if lamp_color_preset is Custom

◆ lamp_color_temp

BITCODE_BD _dwg_entity_LIGHT::lamp_color_temp

DXF 42 Temperature in Kelvin.

◆ lamp_color_type

BITCODE_BS _dwg_entity_LIGHT::lamp_color_type

DXF 71 0: in kelvin, 1: as preset.

◆ light_color

BITCODE_CMC _dwg_entity_LIGHT::light_color

DXF 63 + 421.

r2000: 90 for rgb

◆ name

BITCODE_TV _dwg_entity_LIGHT::name

DXF 1.

◆ parent

struct _dwg_object_entity* _dwg_entity_LIGHT::parent

◆ physical_intensity

BITCODE_BD _dwg_entity_LIGHT::physical_intensity

DXF 40.

◆ physical_intensity_method

BITCODE_BS _dwg_entity_LIGHT::physical_intensity_method

DXF 70.

◆ plot_glyph

BITCODE_B _dwg_entity_LIGHT::plot_glyph

DXF 291.

◆ position

BITCODE_3BD _dwg_entity_LIGHT::position

DXF 10.

◆ shadow_map_size

BITCODE_BS _dwg_entity_LIGHT::shadow_map_size

DXF 91 in pixel: 64,128,256,...4096.

◆ shadow_map_softness

BITCODE_RC _dwg_entity_LIGHT::shadow_map_softness

DXF 280 1-10 (num pixels blend into)

◆ shadow_type

BITCODE_BL _dwg_entity_LIGHT::shadow_type

DXF 73, ray_traced=0, shadow_maps=1.

◆ status

BITCODE_B _dwg_entity_LIGHT::status

DXF 290, on or off.

◆ target

BITCODE_3BD _dwg_entity_LIGHT::target

DXF 11.

◆ type

BITCODE_BL _dwg_entity_LIGHT::type

DXF 70, distant = 1; point = 2; spot = 3.

◆ use_attenuation_limits

BITCODE_B _dwg_entity_LIGHT::use_attenuation_limits

DXF 292.

◆ web_angle1

BITCODE_BD _dwg_entity_LIGHT::web_angle1

DXF 50.

◆ web_angle2

BITCODE_BD _dwg_entity_LIGHT::web_angle2

DXF 51.

◆ web_angle3

BITCODE_BD _dwg_entity_LIGHT::web_angle3

DXF 52.

◆ web_angle4

BITCODE_BD _dwg_entity_LIGHT::web_angle4

DXF 53.

◆ web_angle5

BITCODE_BD _dwg_entity_LIGHT::web_angle5

DXF 54.

◆ web_flux

BITCODE_BD _dwg_entity_LIGHT::web_flux

DXF 49.

◆ web_rotation

BITCODE_3BD _dwg_entity_LIGHT::web_rotation

DXF 43-45 rotation offset in XYZ Euler angles.

◆ web_symetry

BITCODE_BS _dwg_entity_LIGHT::web_symetry

DXF 75.

◆ webfile

BITCODE_TV _dwg_entity_LIGHT::webfile

DXF 300 IES file.

◆ webfile_type

BITCODE_BS _dwg_entity_LIGHT::webfile_type

DXF 74.


The documentation for this struct was generated from the following file: