Skip to main content

AVxcelerate Asset Preparation API 2024 R1

asset_preparation::v2::geometry::MaterialPartProperties Struct Reference

Last update: 16.07.2025

The properties of the material part. More...

Collaboration diagram for asset_preparation::v2::geometry::MaterialPartProperties:

Public Attributes

google::protobuf::StringValue name = 1
 
TransparencyMode transparency_mode = 2
 
google::protobuf::Int32Value surface_source_id = 3
 
google::protobuf::Int32Value material_id = 4
 
google::protobuf::Int32Value start_index = 5
 
google::protobuf::Int32Value indices_count = 6
 
google::protobuf::Int32Value temperature_variation_texture_id = 7
 
google::protobuf::Int32Value temperature_variation_uv_channel = 8
 
google::protobuf::DoubleValue temperature_variation_amplitude = 9
 
repeated common::TagIdentity removed_tags = 10
 
repeated common::Tag added_tags = 11
 

Detailed Description

The properties of the material part.

Member Data Documentation

◆ added_tags

repeated common::Tag asset_preparation::v2::geometry::MaterialPartProperties::added_tags = 11

Tag(s) to add to the material part.

Note
Only LightingType Tags are allowed.

◆ indices_count

google::protobuf::Int32Value asset_preparation::v2::geometry::MaterialPartProperties::indices_count = 6

The number of indices from the indices array to reference vertices where the associated material should be applied.

◆ material_id

google::protobuf::Int32Value asset_preparation::v2::geometry::MaterialPartProperties::material_id = 4

The identifier of the material.

Note
The material reference can be removed by setting the value '-1' and the default material is applied in this case.

◆ name

google::protobuf::StringValue asset_preparation::v2::geometry::MaterialPartProperties::name = 1

The material part name.

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

◆ removed_tags

repeated common::TagIdentity asset_preparation::v2::geometry::MaterialPartProperties::removed_tags = 10

Tag(s) to remove from the material part.

◆ start_index

google::protobuf::Int32Value asset_preparation::v2::geometry::MaterialPartProperties::start_index = 5

The position of the first index from the indices array to reference vertices where the associated material should be applied.

◆ surface_source_id

google::protobuf::Int32Value asset_preparation::v2::geometry::MaterialPartProperties::surface_source_id = 3

The identifier of the surface source.

Note
No surface source is applied if setting the value '-1', which is used to remove the surface source reference.

◆ temperature_variation_amplitude

google::protobuf::DoubleValue asset_preparation::v2::geometry::MaterialPartProperties::temperature_variation_amplitude = 9

The temperature variation amplitude.

Unit: Degree

Note
Must be a double in the range [0,2000].
The default value is 0.
If the temperature variation texture is not defined, the amplitude will be ignored.

◆ temperature_variation_texture_id

google::protobuf::Int32Value asset_preparation::v2::geometry::MaterialPartProperties::temperature_variation_texture_id = 7

The identifier of the temperature variation texture.

Note
The temperature variation texture reference can be removed by setting the value '-1'.

◆ temperature_variation_uv_channel

google::protobuf::Int32Value asset_preparation::v2::geometry::MaterialPartProperties::temperature_variation_uv_channel = 8

The temperature variation UV channel.

Note
Must be 1, 2, 3 or 4.
The default value is 1.

◆ transparency_mode

TransparencyMode asset_preparation::v2::geometry::MaterialPartProperties::transparency_mode = 2

The material part transparency mode.


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

Connect with Ansys