Skip to main content

AVxcelerate Asset Preparation API 2024 R1

asset_preparation::v2::directional_light::DirectionalLightProperties Struct Reference

Last update: 16.07.2025

The properties of a directional light. More...

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

Public Attributes

google::protobuf::StringValue name = 1
 
Sun sun = 2
 
Custom custom = 3
 
common::Empty no_shadow = 4
 
DynamicAccurateShadows dynamic_accurate_shadows = 5
 

Detailed Description

The properties of a directional light.

Member Data Documentation

◆ custom

Custom asset_preparation::v2::directional_light::DirectionalLightProperties::custom = 3

ONEOF(light) Custom directional light.

◆ dynamic_accurate_shadows

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

Note
This is the default type of shadows.

◆ name

google::protobuf::StringValue asset_preparation::v2::directional_light::DirectionalLightProperties::name = 1

The directional light name.

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

◆ no_shadow

common::Empty asset_preparation::v2::directional_light::DirectionalLightProperties::no_shadow = 4

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

◆ sun

Sun asset_preparation::v2::directional_light::DirectionalLightProperties::sun = 2

ONEOF(light) Sun directional light.

Note
This is the default type of directional light.

The documentation for this struct was generated from the following file:
  • directional_light_description.proto

Connect with Ansys