    

 ## On this page

  

 

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

 Last update: 16.07.2025 

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

Collaboration diagram for asset_preparation::v1::directional_light::DirectionalLightProperties:

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

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

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

google::protobuf::StringValue [name](a00179.xhtml#a798bab9622e59b37002ec98ec4cb3b12) = 1 [Sun](a00183.xhtml) [sun](a00179.xhtml#a7a56b0ad770e4e06a745ddbef2bc9a2a) = 2 [Custom](a00187.xhtml) [custom](a00179.xhtml#acc0e60b72a2ee28171218544fbd80acb) = 3 [common::Empty](a00107.xhtml) [no\_shadow](a00179.xhtml#ae69472ddaa868283c56f715c37fa11c8) = 4 [DynamicAccurateShadows](a00191.xhtml) [dynamic\_accurate\_shadows](a00179.xhtml#abf50aa21a1e18b75dca35e5680b9558b) = 5 <a id="details" name="details"></a>## Detailed Description

The properties of a directional light.



## Member Data Documentation

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

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

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





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

 [DynamicAccurateShadows](a00191.xhtml) asset\_preparation::v1::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="a798bab9622e59b37002ec98ec4cb3b12"></a>## [◆ ](#a798bab9622e59b37002ec98ec4cb3b12)name

 google::protobuf::StringValue asset\_preparation::v1::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="ae69472ddaa868283c56f715c37fa11c8"></a>## [◆ ](#ae69472ddaa868283c56f715c37fa11c8)no\_shadow

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

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





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

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

ONEOF(light) [Sun](a00183.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