    

 ## On this page

  

 

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

 Last update: 16.07.2025 

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

Collaboration diagram for asset_preparation::v2::directional_light::DirectionalLightProperties:

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

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

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

google::protobuf::StringValue [name](a00311.xhtml#a9c4c339b5d8bc939956f693bfcce5780) = 1 [Sun](a00315.xhtml) [sun](a00311.xhtml#acba548733008e6263849e7ab6a3ab812) = 2 [Custom](a00319.xhtml) [custom](a00311.xhtml#a6f73dbbd2d18d41d6e2e299cd4074085) = 3 [common::Empty](a00239.xhtml) [no\_shadow](a00311.xhtml#a25e4a826638d6589401e239e959d4a91) = 4 [DynamicAccurateShadows](a00323.xhtml) [dynamic\_accurate\_shadows](a00311.xhtml#a16024101a798b135c00ea65742c98af3) = 5 <a id="details" name="details"></a>## Detailed Description

The properties of a directional light.



## Member Data Documentation

<a id="a6f73dbbd2d18d41d6e2e299cd4074085"></a>## [◆ ](#a6f73dbbd2d18d41d6e2e299cd4074085)custom

 [Custom](a00319.xhtml) asset\_preparation::v2::directional\_light::DirectionalLightProperties::custom = 3

ONEOF(light) [Custom](a00319.xhtml "The properties of a custom directional light.") directional light.





<a id="a16024101a798b135c00ea65742c98af3"></a>## [◆ ](#a16024101a798b135c00ea65742c98af3)dynamic\_accurate\_shadows

 [DynamicAccurateShadows](a00323.xhtml) asset\_preparation::v2::directional\_light::DirectionalLightProperties::dynamic\_accurate\_shadows = 5

ONEOF(shadows) The directional light produces shadows with Parallel-Split Shadow Maps with adaptive details.

NoteThis is the default type of shadows. 



<a id="a9c4c339b5d8bc939956f693bfcce5780"></a>## [◆ ](#a9c4c339b5d8bc939956f693bfcce5780)name

 google::protobuf::StringValue asset\_preparation::v2::directional\_light::DirectionalLightProperties::name = 1

The directional light name.

NoteNames must be unique amongst sibling directional lights.If no name is defined, a default unique name is automatically set. 



<a id="a25e4a826638d6589401e239e959d4a91"></a>## [◆ ](#a25e4a826638d6589401e239e959d4a91)no\_shadow

 [common::Empty](a00239.xhtml) asset\_preparation::v2::directional\_light::DirectionalLightProperties::no\_shadow = 4

ONEOF(shadows) The directional light does not cast shadows.





<a id="acba548733008e6263849e7ab6a3ab812"></a>## [◆ ](#acba548733008e6263849e7ab6a3ab812)sun

 [Sun](a00315.xhtml) asset\_preparation::v2::directional\_light::DirectionalLightProperties::sun = 2

ONEOF(light) [Sun](a00315.xhtml "The properties of a sun directional light.") directional light.

NoteThis is the default type of directional light. 



---

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