    

 ## On this page

  

 

 # asset\_preparation::v1::directional\_light::Custom Struct Reference

 Last update: 16.07.2025 

The properties of a custom directional light. [More...](a00187.xhtml#details)

Collaboration diagram for asset_preparation::v1::directional_light::Custom:

![Collaboration graph](/sites/default/files/migrate-content/avxcelerate_asset_preparation_api_2023_r2/a00185.png)

\[[legend](graph_legend.xhtml)\]

## <a id="pub-attribs" name="pub-attribs"></a>Public Attributes

google::protobuf::DoubleValue [power](a00187.xhtml#ac58aec2f6e521975bfe248e87ef12d0f) = 1 [SpectrumLibrary](a00195.xhtml) [spectrum\_library](a00187.xhtml#a64f2abf45a5d9d09397bcfd75424054e) = 2 [BlackBody](a00199.xhtml) [black\_body](a00187.xhtml#acb497840dca182972cce1d20d58fba7b) = 3 [Monochromatic](a00203.xhtml) [monochromatic](a00187.xhtml#ad4d4ebd40276902e12c912d63e981a25) = 4 <a id="details" name="details"></a>## Detailed Description

The properties of a custom directional light.



## Member Data Documentation

<a id="acb497840dca182972cce1d20d58fba7b"></a>## [◆ ](#acb497840dca182972cce1d20d58fba7b)black\_body

 [BlackBody](a00199.xhtml) asset\_preparation::v1::directional\_light::Custom::black\_body = 3

ONEOF(spectrum) Spectrum based on a black body.





<a id="ad4d4ebd40276902e12c912d63e981a25"></a>## [◆ ](#ad4d4ebd40276902e12c912d63e981a25)monochromatic

 [Monochromatic](a00203.xhtml) asset\_preparation::v1::directional\_light::Custom::monochromatic = 4

ONEOF(spectrum) [Monochromatic](a00203.xhtml "Monochromatic spectrum.") spectrum.





<a id="ac58aec2f6e521975bfe248e87ef12d0f"></a>## [◆ ](#ac58aec2f6e521975bfe248e87ef12d0f)power

 google::protobuf::DoubleValue asset\_preparation::v1::directional\_light::Custom::power = 1

The power.

Unit: lm/m2

NoteMust be positive.The default value is 40000. 



<a id="a64f2abf45a5d9d09397bcfd75424054e"></a>## [◆ ](#a64f2abf45a5d9d09397bcfd75424054e)spectrum\_library

 [SpectrumLibrary](a00195.xhtml) asset\_preparation::v1::directional\_light::Custom::spectrum\_library = 2

ONEOF(spectrum) Spectrum based on a spectrum file.

NoteThis is the default type of spectrum. 



---

The documentation for this struct was generated from the following file:- directional\_light\_description.proto