    

 ## On this page

  

 

 # asset\_preparation::v2::surface\_source::DisplaySourceProperties Struct Reference

 Last update: 16.07.2025 

The properties of a display source. [More...](a01183.xhtml#details)

Collaboration diagram for asset_preparation::v2::surface_source::DisplaySourceProperties:

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

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

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

google::protobuf::DoubleValue [luminance](a01183.xhtml#a4b73b6bacb2069633100d74cf2d833dd) = 1 google::protobuf::DoubleValue [angular\_precision](a01183.xhtml#a0c2ab10a2bbed820c47f9b17cac4abb8) = 2 [LambertianDiagram](a01187.xhtml) [lambertian](a01183.xhtml#a944550db1caa1678e8260053d0a93242) = 3 [LibraryDiagram](a01191.xhtml) [diagram\_library](a01183.xhtml#a5c1091d3288e2e9db671f9549153c564) = 4 [GaussianDiagram](a01195.xhtml) [gaussian](a01183.xhtml#a1fe36d0e57cc9dfa22aa40a01755bac3) = 5 google::protobuf::BoolValue [reverse\_direction](a01183.xhtml#a8681404f98d4f9bb47b79e730d0eec5d) = 6 [common::Empty](a00239.xhtml) [no\_contribution](a01183.xhtml#abc30d72e60929df4f594707e7d0cdffb) = 7 [LightingContribution](a01203.xhtml) [lighting\_contribution](a01183.xhtml#aab9fc871139e8f14e22fb609f5af135e) = 8 [SpectrumLibrary](a01215.xhtml) [spectrum\_library](a01183.xhtml#af966824fbb6d44faf475bfe018367089) = 9 [BlackBody](a01219.xhtml) [black\_body](a01183.xhtml#a1bf4e393ef9c84b6a920a8d8b71ebada) = 10 [Monochromatic](a01223.xhtml) [monochromatic](a01183.xhtml#a5087b042c4567033529689d5e1547457) = 11 google::protobuf::Int32Value [texture\_id](a01183.xhtml#a84cb857973f6e968e79498225f48ca19) = 12 google::protobuf::Int32Value [uv\_channel](a01183.xhtml#a89d054fab409d7a834a1f075352b21ee) = 13 <a id="details" name="details"></a>## Detailed Description

The properties of a display source.

NoteFor display sources, the spectrum is only needed if the display source contributes to lighting. 

## Member Data Documentation

<a id="a0c2ab10a2bbed820c47f9b17cac4abb8"></a>## [◆ ](#a0c2ab10a2bbed820c47f9b17cac4abb8)angular\_precision

 google::protobuf::DoubleValue asset\_preparation::v2::surface\_source::DisplaySourceProperties::angular\_precision = 2

The angular precision.

Unit: Degree

NoteMust be positive.The default value is 0. 



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

 [BlackBody](a01219.xhtml) asset\_preparation::v2::surface\_source::DisplaySourceProperties::black\_body = 10

ONEOF(spectrum) Spectrum based on a black body.





<a id="a5c1091d3288e2e9db671f9549153c564"></a>## [◆ ](#a5c1091d3288e2e9db671f9549153c564)diagram\_library

 [LibraryDiagram](a01191.xhtml) asset\_preparation::v2::surface\_source::DisplaySourceProperties::diagram\_library = 4

ONEOF(angular\_diagram) Intensity based on a library angular diagram.





<a id="a1fe36d0e57cc9dfa22aa40a01755bac3"></a>## [◆ ](#a1fe36d0e57cc9dfa22aa40a01755bac3)gaussian

 [GaussianDiagram](a01195.xhtml) asset\_preparation::v2::surface\_source::DisplaySourceProperties::gaussian = 5

ONEOF(angular\_diagram) Intensity based on a gaussian angular diagram.





<a id="a944550db1caa1678e8260053d0a93242"></a>## [◆ ](#a944550db1caa1678e8260053d0a93242)lambertian

 [LambertianDiagram](a01187.xhtml) asset\_preparation::v2::surface\_source::DisplaySourceProperties::lambertian = 3

ONEOF(angular\_diagram) Intensity based on a Lambertian angular diagram.

NoteThis is the default type of angular diagram. 



<a id="aab9fc871139e8f14e22fb609f5af135e"></a>## [◆ ](#aab9fc871139e8f14e22fb609f5af135e)lighting\_contribution

 [LightingContribution](a01203.xhtml) asset\_preparation::v2::surface\_source::DisplaySourceProperties::lighting\_contribution = 8

ONEOF(contribution) The lighting contribution of the display source.





<a id="a4b73b6bacb2069633100d74cf2d833dd"></a>## [◆ ](#a4b73b6bacb2069633100d74cf2d833dd)luminance

 google::protobuf::DoubleValue asset\_preparation::v2::surface\_source::DisplaySourceProperties::luminance = 1

The display source luminance.

Unit: candela/sq. meter (cd/m2)

NoteMust be positive.The default value is 0. 



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

 [Monochromatic](a01223.xhtml) asset\_preparation::v2::surface\_source::DisplaySourceProperties::monochromatic = 11

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





<a id="abc30d72e60929df4f594707e7d0cdffb"></a>## [◆ ](#abc30d72e60929df4f594707e7d0cdffb)no\_contribution

 [common::Empty](a00239.xhtml) asset\_preparation::v2::surface\_source::DisplaySourceProperties::no\_contribution = 7

ONEOF(contribution) The display source does not contribute to lighting.

NoteThis is the default value. 



<a id="a8681404f98d4f9bb47b79e730d0eec5d"></a>## [◆ ](#a8681404f98d4f9bb47b79e730d0eec5d)reverse\_direction

 google::protobuf::BoolValue asset\_preparation::v2::surface\_source::DisplaySourceProperties::reverse\_direction = 6

Whether the direction of the display source is reversed.





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

 [SpectrumLibrary](a01215.xhtml) asset\_preparation::v2::surface\_source::DisplaySourceProperties::spectrum\_library = 9

ONEOF(spectrum) Spectrum based on a spectrum file.

NoteThis is the default spectrum type. 



<a id="a84cb857973f6e968e79498225f48ca19"></a>## [◆ ](#a84cb857973f6e968e79498225f48ca19)texture\_id

 google::protobuf::Int32Value asset\_preparation::v2::surface\_source::DisplaySourceProperties::texture\_id = 12

The identifier of the display texture (created using the Resource service) referenced in the display source.

NoteThe texture reference can be removed by setting the value '-1'. 



<a id="a89d054fab409d7a834a1f075352b21ee"></a>## [◆ ](#a89d054fab409d7a834a1f075352b21ee)uv\_channel

 google::protobuf::Int32Value asset\_preparation::v2::surface\_source::DisplaySourceProperties::uv\_channel = 13

The UV channel used to map the texture.

NoteMust be in the range \[1,4\].The default value is 1. 



---

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