    

 ## On this page

  

 

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

 Last update: 16.07.2025 

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

Collaboration diagram for asset_preparation::v2::directional_light::Custom:

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

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

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

google::protobuf::DoubleValue [power](a00319.xhtml#ab5d2215e940800f2fdec158a6e7ee235) = 1 [SpectrumLibrary](a00327.xhtml) [spectrum\_library](a00319.xhtml#acc7d1dd0fa0f0b04f75cf376c37a429b) = 2 [BlackBody](a00331.xhtml) [black\_body](a00319.xhtml#a5453df3ba46ea6101d0af26fe466ea32) = 3 [Monochromatic](a00335.xhtml) [monochromatic](a00319.xhtml#ae855509540c1a93cf1f98b71f8935af8) = 4 <a id="details" name="details"></a>## Detailed Description

The properties of a custom directional light.



## Member Data Documentation

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

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

ONEOF(spectrum) Spectrum based on a black body.





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

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

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





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

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

The power.

Unit: lm/m2

NoteMust be positive.The default value is 40000. 



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

 [SpectrumLibrary](a00327.xhtml) asset\_preparation::v2::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