    

 ## On this page

  

 

 # asset\_preparation::v3::surface\_source::LightingContribution Struct Reference

 Last update: 16.07.2025 

Describes how a surface or display source contributes to the scene lighting, including whether the different surfaces composing the geometry must be joint or disjoint. [More...](structasset__preparation_1_1v3_1_1surface__source_1_1_lighting_contribution.xhtml#details)

Collaboration diagram for asset_preparation::v3::surface_source::LightingContribution:

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

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

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

[common::Empty](structasset__preparation_1_1v3_1_1common_1_1_empty.xhtml) [joint](structasset__preparation_1_1v3_1_1surface__source_1_1_lighting_contribution.xhtml#a4ece76c55fb0685a336737904a1f18f7) = 1 [DisjointFluxDistributionType](namespaceasset__preparation_1_1v3_1_1surface__source.xhtml#a6a45da8df827d9f80c88853db7c80001) [disjoint\_flux\_distribution](structasset__preparation_1_1v3_1_1surface__source_1_1_lighting_contribution.xhtml#a56ad1d9f519896711a745cf2a69be255) = 2 [Vector3](structasset__preparation_1_1v3_1_1surface__source_1_1_vector3.xhtml) [orientation\_offset](structasset__preparation_1_1v3_1_1surface__source_1_1_lighting_contribution.xhtml#aadd6ebe33c0d080db09d0aa230c29447) = 3 google::protobuf::DoubleValue [position\_offset](structasset__preparation_1_1v3_1_1surface__source_1_1_lighting_contribution.xhtml#ac083643c3189465becc835f1f84126ac) = 4 [Rendering](structasset__preparation_1_1v3_1_1surface__source_1_1_rendering.xhtml) [rendering](structasset__preparation_1_1v3_1_1surface__source_1_1_lighting_contribution.xhtml#a8686b4add2f583a83cb1c75ba30b837a) = 5 [common::Empty](structasset__preparation_1_1v3_1_1common_1_1_empty.xhtml) [no\_shadow](structasset__preparation_1_1v3_1_1surface__source_1_1_lighting_contribution.xhtml#ab5146182e79f7f54be0cc7490334521e) = 6 [Shadows](structasset__preparation_1_1v3_1_1surface__source_1_1_shadows.xhtml) [static\_shadows](structasset__preparation_1_1v3_1_1surface__source_1_1_lighting_contribution.xhtml#ab14309e0e008d644403d65890887cbb8) = 7 [Shadows](structasset__preparation_1_1v3_1_1surface__source_1_1_shadows.xhtml) [dynamic\_shadows](structasset__preparation_1_1v3_1_1surface__source_1_1_lighting_contribution.xhtml#ad956cdf2123904333d5c545f56653036) = 8 <a id="details" name="details"></a>## Detailed Description

Describes how a surface or display source contributes to the scene lighting, including whether the different surfaces composing the geometry must be joint or disjoint.



## Member Data Documentation

<a id="a4ece76c55fb0685a336737904a1f18f7"></a>## [◆ ](#a4ece76c55fb0685a336737904a1f18f7)joint

 [common::Empty](structasset__preparation_1_1v3_1_1common_1_1_empty.xhtml) asset\_preparation::v3::surface\_source::LightingContribution::joint = 1

ONEOF(disjoint\_surfaces) With joint surfaces, the surface or display source acts as a single point light for contribution to the scene lighting.

NoteThis is the default value. 



<a id="a56ad1d9f519896711a745cf2a69be255"></a>## [◆ ](#a56ad1d9f519896711a745cf2a69be255)disjoint\_flux\_distribution

 [DisjointFluxDistributionType](namespaceasset__preparation_1_1v3_1_1surface__source.xhtml#a6a45da8df827d9f80c88853db7c80001) asset\_preparation::v3::surface\_source::LightingContribution::disjoint\_flux\_distribution = 2

ONEOF(disjoint\_surfaces) With disjoint surfaces, the surface or display source acts as several point lights (as many point lights as there are surfaces in the geometry) for contribution to the scene lighting.





<a id="aadd6ebe33c0d080db09d0aa230c29447"></a>## [◆ ](#aadd6ebe33c0d080db09d0aa230c29447)orientation\_offset

 [Vector3](structasset__preparation_1_1v3_1_1surface__source_1_1_vector3.xhtml) asset\_preparation::v3::surface\_source::LightingContribution::orientation\_offset = 3

The orientation offset.

Unit: Degree





<a id="ac083643c3189465becc835f1f84126ac"></a>## [◆ ](#ac083643c3189465becc835f1f84126ac)position\_offset

 google::protobuf::DoubleValue asset\_preparation::v3::surface\_source::LightingContribution::position\_offset = 4

The position offset.

Unit: Millimeter (mm)

NoteThe default value is 0. 



<a id="a8686b4add2f583a83cb1c75ba30b837a"></a>## [◆ ](#a8686b4add2f583a83cb1c75ba30b837a)rendering

 [Rendering](structasset__preparation_1_1v3_1_1surface__source_1_1_rendering.xhtml) asset\_preparation::v3::surface\_source::LightingContribution::rendering = 5

The rendering properties.





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

 [common::Empty](structasset__preparation_1_1v3_1_1common_1_1_empty.xhtml) asset\_preparation::v3::surface\_source::LightingContribution::no\_shadow = 6

ONEOF(shadows) The surface source does not cast shadows.

NoteThis is the default value. 



<a id="ab14309e0e008d644403d65890887cbb8"></a>## [◆ ](#ab14309e0e008d644403d65890887cbb8)static\_shadows

 [Shadows](structasset__preparation_1_1v3_1_1surface__source_1_1_shadows.xhtml) asset\_preparation::v3::surface\_source::LightingContribution::static\_shadows = 7

ONEOF(shadows) The surface source produces static shadows.





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

 [Shadows](structasset__preparation_1_1v3_1_1surface__source_1_1_shadows.xhtml) asset\_preparation::v3::surface\_source::LightingContribution::dynamic\_shadows = 8

ONEOF(shadows) The surface source produces dynamic shadows.





---

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