Skip to main content

AVxcelerate Asset Preparation API 2024 R2

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...

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

Public Attributes

common::Empty joint = 1
 
DisjointFluxDistributionType disjoint_flux_distribution = 2
 
Vector3 orientation_offset = 3
 
google::protobuf::DoubleValue position_offset = 4
 
Rendering rendering = 5
 
common::Empty no_shadow = 6
 
Shadows static_shadows = 7
 
Shadows dynamic_shadows = 8
 

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

◆ joint

common::Empty 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.

Note
This is the default value.

◆ disjoint_flux_distribution

DisjointFluxDistributionType 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.

◆ orientation_offset

Vector3 asset_preparation::v3::surface_source::LightingContribution::orientation_offset = 3

The orientation offset.

Unit: Degree

◆ position_offset

google::protobuf::DoubleValue asset_preparation::v3::surface_source::LightingContribution::position_offset = 4

The position offset.

Unit: Millimeter (mm)

Note
The default value is 0.

◆ rendering

Rendering asset_preparation::v3::surface_source::LightingContribution::rendering = 5

The rendering properties.

◆ no_shadow

common::Empty asset_preparation::v3::surface_source::LightingContribution::no_shadow = 6

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

Note
This is the default value.

◆ static_shadows

Shadows asset_preparation::v3::surface_source::LightingContribution::static_shadows = 7

ONEOF(shadows) The surface source produces static shadows.

◆ dynamic_shadows

Shadows 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

Connect with Ansys