Skip to main content
Version: 2025R1

Reference documentation

asset_preparation_api/common/chunk.proto

This file describes the messages used for import/export.

Chunk

A block of data.

Note: The recommended size is in the range 256kB to 1MB.

No data higher than 2GB can be handled.

FieldTypeLabelDescription
metadataChunk.MetadataEntryrepeated
bytesbytes

Chunk-MetadataEntry

FieldTypeLabelDescription
keystring
valuestring

asset_preparation_api/common/common.proto

This file describes the messages used in several proto files.

ColorHsv

Hsv value of a color.

FieldTypeLabelDescription
huegoogle.protobuf.DoubleValueUnit: Degree
Note: Must be a double in the range [0,360].
saturationgoogle.protobuf.DoubleValueNote: Must be a double in the range [0,100].
valuegoogle.protobuf.DoubleValueNote: Must be a double in the range [0,100].

ColorRgb

RGB value of a color.

FieldTypeLabelDescription
redgoogle.protobuf.Int32ValueNote: Must be an integer in the range [0,255].
greengoogle.protobuf.Int32ValueNote: Must be an integer in the range [0,255].
bluegoogle.protobuf.Int32ValueNote: Must be an integer in the range [0,255].

Empty

An empty message used for none type.

ConflictPolicy

The conflict policy to define what should be imported when there is any name conflict detected between objects from the environment or scene tree to import and the objects already existing on the server.

Note: Scene trees, light instances, nodes and material parts cannot have name conflicts.

NameNumberDescription
CONFLICT_POLICY_UNSPECIFIED0Unspecified conflict policy.
CONFLICT_POLICY_STOP1The import operation is canceled when there is a conflict with the server's objects.
Note: This is the default behavior when no policy is specified.
CONFLICT_POLICY_KEEP_EXISTING2When there is a conflict with the server's objects, the import operation continues without importing the conflicting objects. The already existing objects are used in the imported environment/scene tree.
CONFLICT_POLICY_OVERRIDE3When there is a conflict with the server's objects, the import operation continues and the objects from the imported environment/scene tree override the already existing objects.
CONFLICT_POLICY_KEEP_BOTH4When there is a conflict with the server's objects, the import operation continues and both conflicting objects are kept: the objects already existing remains on the server and the objects coming from the import operation are automatically renamed and used in the imported environment/scene tree.

asset_preparation_api/common/reset.proto

This file describes the service used to reset the server.

Reset

Reset Preparation Service

This service is used to clear the server.

Note: Resetting the server removes from the server all the "in-memory" data, namely all the data imported or created, collections and identifiers.

Method NameRequest TypeResponse TypeDescription
Reset.google.protobuf.EmptyResetResponseReset server, all collections and identifiers.

asset_preparation_api/common/reset_description.proto

This file describes the messages used to reset the server.

ResetResponse

The information required to reset the server.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the reset operation.

asset_preparation_api/common/status.proto

This file describes the status messages used in several proto files.

Status

A status message informing about the success of a request.

FieldTypeLabelDescription
codeint32The status code.
feedback_messagestringThe feedback message.
levelLevelThe severity level.

Level

The severity of the feedback on an operation.

NameNumberDescription
LEVEL_UNSPECIFIED0The severity is unspecified.
LEVEL_ERROR1The operation returned an error.
LEVEL_WARNING2The operation succeeded with warnings.
LEVEL_INFORMATION3The operation fully succeeded.

asset_preparation_api/common/tag.proto

This file describes the messages used to define tags.

Properties

The properties of a tag.

FieldTypeLabelDescription
labelgoogle.protobuf.StringValueOptional label.
Note: It can be added only for the tags with the following types:
BASIC_TYPE_PEDESTRIAN
BASIC_TYPE_VEHICLE
BASIC_TYPE_ANIMAL
BASIC_TYPE_STREET_LIGHT
BASIC_TYPE_ROAD_SIGN
BASIC_TYPE_SIMULATION_OBJECT
BASIC_TYPE_CUSTOM_OBJECT
BASIC_TYPE_ILLUMINANCE_SENSOR
namegoogle.protobuf.StringValueThe name of the custom tag.
Note: Needed only for the tags with the BASIC_TYPE_CUSTOM_OBJECT type.
identifiergoogle.protobuf.Int32ValueThe identifier of the wheel tag.
Note: Needed only for the tags with the BASIC_TYPE_WHEEL type.
Here is the convention for wheel identifier in AVX:
The front left wheel identifier must be 0.
The front right wheel identifier must be 1.
The rear left wheel identifier must be 2.
The rear right wheel identifier must be 3.
positionSidePositionThe position of the lighting element.
Note: Needed only for the tags with the LIGHTING_TYPE_TURN_INDICATOR
and LIGHTING_TYPE_DAYTIME_RUNNING_LIGHT types.
irradiance_map_identifiergoogle.protobuf.Int32ValueOptional identifier of the irradiance map.
Note: It can be added only for the tags
with the BASIC_TYPE_VEHICLE type.

Tag

The definition of a tag.

FieldTypeLabelDescription
basic_typeBasicTypeBasic tag type.
lighting_typeLightingTypeLighting tag type.
propertiesPropertiesProperties of the tag.

TagIdentity

The identity of a tag.

FieldTypeLabelDescription
basic_typeBasicTypeBasic tag type.
lighting_typeLightingTypeLighting tag type.
namegoogle.protobuf.StringValueThe name of the tag.
Note: Needed only for the tags with the BASIC_TYPE_CUSTOM_OBJECT type.

BasicType

Types for a basic element tag.

NameNumberDescription
BASIC_TYPE_UNSPECIFIED0The basic tag type is unspecified.
BASIC_TYPE_PEDESTRIAN1The element is tagged as a pedestrian.
BASIC_TYPE_VEHICLE2The element is tagged as a vehicle.
BASIC_TYPE_ANIMAL3The element is tagged as an animal.
BASIC_TYPE_STREET_LIGHT4The element is tagged as a street light.
BASIC_TYPE_ROAD_SIGN5The element is tagged as a road sign.
BASIC_TYPE_SIMULATION_OBJECT6The element is tagged as a simulation object.
BASIC_TYPE_CUSTOM_OBJECT7The element is tagged as a custom simulation object.
Note: If you want to tag a dynamic asset as a custom simulation object, you must add the custom tag first, then add a second asset tag:
BASIC_TYPE_VEHICLE, BASIC_TYPE_PEDESTRIAN or BASIC_TYPE_ANIMAL,
in this specific order.
BASIC_TYPE_VEHICLE_BODY8The element is tagged as a vehicle body.
BASIC_TYPE_SENSOR_REFERENTIAL9The element is tagged as the sensor referential of a vehicle.
BASIC_TYPE_LIGHTING_SYSTEM_REFERENTIAL10The element is tagged as the lighting system referential of a vehicle.
BASIC_TYPE_WHEEL11The element is tagged as a wheel of a vehicle.
BASIC_TYPE_STEERING_WHEEL12The element is tagged as the steering wheel of a vehicle.
BASIC_TYPE_ILLUMINANCE_SENSOR13The element is tagged as the illuminance sensor anchor node of a vehicle.

LightingType

Types for a lighting element tag.

NameNumberDescription
LIGHTING_TYPE_UNSPECIFIED0The lighting tag type is unspecified.
LIGHTING_TYPE_BRAKE_LIGHT1The lighting element is tagged as a brake light.
LIGHTING_TYPE_LOW_BEAM2The lighting element is tagged as a low beam.
LIGHTING_TYPE_HIGH_BEAM3The lighting element is tagged as a high beam.
LIGHTING_TYPE_TURN_INDICATOR4The lighting element is tagged as a turn indicator.
LIGHTING_TYPE_REAR_FOG_LIGHT5The lighting element is tagged as a rear fog light.
LIGHTING_TYPE_FRONT_FOG_LIGHT6The lighting element is tagged as a front fog light.
LIGHTING_TYPE_SIDE_LIGHT7The lighting element is tagged as a side light.
LIGHTING_TYPE_REAR_POSITION_LIGHT8The lighting element is tagged as a rear position light.
LIGHTING_TYPE_REVERSE_LIGHT9The lighting element is tagged as a reverse light.
LIGHTING_TYPE_LICENSE_PLATE_LIGHT10The lighting element is tagged as a license plate light.
LIGHTING_TYPE_DAYTIME_RUNNING_LIGHT11The lighting element is tagged as a daytime running light.

SidePosition

The position of the lighting element.

Note: Needed only for the tags with the LIGHTING_TYPE_TURN_INDICATOR and LIGHTING_TYPE_DAYTIME_RUNNING_LIGHT types.

NameNumberDescription
SIDE_POSITION_UNSPECIFIED0The position of the lighting element is unspecified.
SIDE_POSITION_LEFT1The lighting element is on the left side of the vehicle.
SIDE_POSITION_RIGHT2The lighting element is on the right side of the vehicle.

asset_preparation_api/directionalLight/directional_light.proto

This file describes the service used to create, edit and manage directional lights.

DirectionalLightPreparation

Directional Light Preparation Service

This service is used to create, edit and manage directional lights.

Method NameRequest TypeResponse TypeDescription
CreateDirectionalLightCreateDirectionalLightRequestCreateDirectionalLightResponseCreates a new directional light with an optional name, type and shadows.
Note: Names must be unique amongst directional lights.
Note: If unspecified, default values are used.
Returns the identifier of the created directional light.
GetDirectionalLightGetDirectionalLightRequestGetDirectionalLightResponseGets the properties of a directional light, given its identifier.
Returns the directional light properties.
ListDirectionalLights.google.protobuf.EmptyListDirectionalLightsResponseLists all the created directional lights.
Returns the identifiers and names of the directional lights.
UpdateDirectionalLightUpdateDirectionalLightRequestUpdateDirectionalLightResponseEdits the properties of a directional light, given its identifier.
Note: Names must be unique amongst directional lights.
DeleteDirectionalLightDeleteDirectionalLightRequestDeleteDirectionalLightResponseDeletes a directional light, given its identifier.
CreateDirectionalLightStateCreateDirectionalLightStateRequestCreateDirectionalLightStateResponseCreates a new directional light state with optional properties.
Note: Names must be unique amongst sibling directional light states.
Note: "Default" name is reserved.
Note: If some properties are not specified, default values are used.
Returns the information about the created directional light state.
GetDirectionalLightStateGetDirectionalLightStateRequestGetDirectionalLightStateResponseGets the properties of a directional light state,
given the parent directional light identifier and the state name.
Returns the directional light state properties.
UpdateDirectionalLightStateUpdateDirectionalLightStateRequestUpdateDirectionalLightStateResponseEdits the properties of a state,
given the parent directional light identifier and the state name.
Note: Names must be unique amongst sibling directional light states.
Note: "Default" name is reserved.
DeleteDirectionalLightStateDeleteDirectionalLightStateRequestDeleteDirectionalLightStateResponseDeletes a directional light state,
given the parent directional light identifier and the state name.

asset_preparation_api/directionalLight/directional_light_description.proto

This file describes the messages used to create, edit and manage directional lights.

BlackBody

Spectrum based on a black body.

FieldTypeLabelDescription
temperaturegoogle.protobuf.DoubleValueThe temperature of the black body.
Unit: Kelvin (K)
Note: Must be in the range [0,30000].
Note: The default value is 5500.

CreateDirectionalLightRequest

The information required to create a directional light.

FieldTypeLabelDescription
namegoogle.protobuf.StringValueThe directional light name.
Note: Names must be unique amongst directional lights.
Note: If no name is defined, a default unique name is automatically set.
propertiesDirectionalLightPropertiesThe directional light properties.

CreateDirectionalLightResponse

The identifier of the created directional light.

FieldTypeLabelDescription
identityDirectionalLightIdentityThe identity of the directional light.
Returns null in case of failure.
statusasset_preparation.v3.common.StatusThe feedback status of the creation operation.

CreateDirectionalLightStateRequest

The information required to create a directional light state.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe directional light identifier.
state_namestringThe state name.
Note: Names must be unique amongst sibling directional light states.
Note: "Default" name is reserved.
base_state_namegoogle.protobuf.StringValueThe name of an already existing state on which will be based the state to create.
Note: If not defined, the directional light properties are used.
state_propertiesDirectionalLightPropertiesThe state properties.

CreateDirectionalLightStateResponse

The response returned when creating a directional light state.

FieldTypeLabelDescription
identifierint32The directional light identifier.
state_namestringThe new state name.
statusasset_preparation.v3.common.StatusThe feedback status of the creation operation.

Custom

The properties of a custom directional light.

FieldTypeLabelDescription
exitancegoogle.protobuf.DoubleValueThe directional light exitance.
Unit: lm/m2
Note: Must be positive.
Note: The default value is 40000.
spectrum_librarySpectrumLibrarySpectrum based on a spectrum file.
Note: This is the default type of spectrum.
black_bodyBlackBodySpectrum based on a black body.
monochromaticMonochromaticMonochromatic spectrum.
color_rgbasset_preparation.v3.common.ColorRgbSpectrum based on a RGB color.
Note: Default value is (255,255,255).
color_hsvasset_preparation.v3.common.ColorHsvSpectrum based on an HSV color.
Note: Default value is (0,0,100).

DeleteDirectionalLightRequest

The information required to delete a directional light.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the directional light to delete.

DeleteDirectionalLightResponse

The response returned when deleting a directional light.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the delete operation.

DeleteDirectionalLightStateRequest

The information required to delete a directional light state.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe directional light identifier.
state_namestringThe name of the state to delete.

DeleteDirectionalLightStateResponse

The response returned when deleting a directional light state.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the delete operation.

DirectionalLightIdentity

The full identity of a directional light, consisting of an identifier and a name.

FieldTypeLabelDescription
identifierint32The directional light identifier.
namestringThe directional light name.

DirectionalLightProperties

The properties of a directional light.

FieldTypeLabelDescription
sunSunSun directional light.
Note: This is the default type of directional light.
customCustomCustom directional light.
no_shadowasset_preparation.v3.common.EmptyThe directional light does not cast shadows.
dynamic_accurate_shadowsDynamicAccurateShadowsThe directional light produces shadows with Parallel-Split Shadow Maps with adaptive details.
Note: This is the default type of shadows.

DynamicAccurateShadows

The properties of dynamic accurate shadows.

FieldTypeLabelDescription
shadow_offset_ratiogoogle.protobuf.DoubleValueThe shadow offset ratio.
Note: Must be above 0.00001.
Note: The default value is 0.01.
shadow_radiusgoogle.protobuf.DoubleValueThe shadow radius.
Note: Must be equal or superior to 0.
Note: The default value is 0.
softnessgoogle.protobuf.DoubleValueThe softness.
Note: Must be in the range [0,2].
Note: The default value is 0.
resolutiongoogle.protobuf.Int32ValueThe resolution.
Note: Must be an integer in the range [1,8].
Note: The default value is 4.
near_field_precisiongoogle.protobuf.DoubleValueThe near field precision.
Note: Must be in the range [0,1].
Note: The default value is 0.99.

GetDirectionalLightRequest

The information required to examine a directional light.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the directional light to examine.

GetDirectionalLightResponse

The information about a directional light.

FieldTypeLabelDescription
identityDirectionalLightIdentityThe directional light identity.
propertiesDirectionalLightPropertiesThe directional light properties.
state_namesstringrepeatedThe names of the directional light states.
statusasset_preparation.v3.common.StatusThe feedback status of the examination operation.

GetDirectionalLightStateRequest

The information required to examine a state.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the directional light.
state_namestringThe name of the state to examine.

GetDirectionalLightStateResponse

The information about a directional light state.

FieldTypeLabelDescription
identifierint32The identifier of the examined directional light.
state_namestringThe state name.
state_propertiesDirectionalLightPropertiesThe properties of the examined state.
statusasset_preparation.v3.common.StatusThe feedback status of the reading operation.

ListDirectionalLightsResponse

The identities of all directional lights in the collection.

FieldTypeLabelDescription
directional_lightsDirectionalLightIdentityrepeatedDirectional light identities.
statusasset_preparation.v3.common.StatusThe feedback status of the listing operation.

Monochromatic

Monochromatic spectrum.

FieldTypeLabelDescription
wavelengthgoogle.protobuf.DoubleValueThe emission wavelength of the Spectrum.
Unit: nanometer (nm)
Note: Must be in the range [360,813].
Note: The default value is 580.

SpectrumLibrary

Spectrum based on a spectrum file.

FieldTypeLabelDescription
spectrum_identifiergoogle.protobuf.Int32ValueThe identifier of the spectrum (created using the Resource service) referenced in the directional light.
Note: The spectrum reference can be removed by setting the value '-1'.

Sun

The properties of a sun directional light.

FieldTypeLabelDescription
turbiditygoogle.protobuf.DoubleValueThe sun turbidity.
Note: Must be in the range [2,9].
Note: The default value is 3.

UpdateDirectionalLightRequest

The information required to update a directional light.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the directional light to update.
namegoogle.protobuf.StringValueThe directional light name.
Note: Names must be unique amongst directional lights.
Note: If no name is defined, the name is not updated.
propertiesDirectionalLightPropertiesThe directional light properties.
Note: All the properties are optional.

UpdateDirectionalLightResponse

The response returned when updating a directional light.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the update operation.

UpdateDirectionalLightStateRequest

The information required to update a directional light state.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe directional light identifier.
state_namestringThe current name of the state.
state_new_namegoogle.protobuf.StringValueThe new name of the state.
Note: Names must be unique amongst sibling directional light states.
Note: "Default" name is reserved.
state_propertiesDirectionalLightPropertiesThe new state properties.

UpdateDirectionalLightStateResponse

The response returned when updating a directional light state.

FieldTypeLabelDescription
state_namestringThe state name.
statusasset_preparation.v3.common.StatusThe feedback status of the update operation.

asset_preparation_api/environment/environment.proto

This file describes the service used to create, edit and manage environments.

EnvironmentPreparation

Environment Preparation Service

This service is used to create, edit and manage environments.

Method NameRequest TypeResponse TypeDescription
CreateEnvironmentCreateEnvironmentRequestCreateEnvironmentResponseCreates a new environment with an optional given name.
Note: Names must be unique amongst environments.
Returns the identifier of the created environment.
GetEnvironmentGetEnvironmentRequestGetEnvironmentResponseGets an environment properties, given its identifier.
Returns the environment properties.
ListEnvironments.google.protobuf.EmptyListEnvironmentsResponseLists all the created environments.
Returns the identifiers and names of the environments.
UpdateEnvironmentUpdateEnvironmentRequestUpdateEnvironmentResponseEdits the properties of an environment, given its identifier.
Note: Names must be unique amongst environments.
DeleteEnvironmentDeleteEnvironmentRequestDeleteEnvironmentResponseDeletes an environment, given its identifier.
PutEnvironmentFromTrackChunks.asset_preparation.v3.common.Chunk streamPutEnvironmentFromTrackResponseCreates a new environment on the server by uploading a track as a given stream of chunks containing the "AVX ConflictPolicy" metadata.
All dependencies are uploaded into corresponding services, depending on the given conflict policy.
Note: It is not possible to upload a track including an object in which several states have the same name, or including a geometry with several material parts with the same name.
PutEnvironmentFromTrackFilePutEnvironmentFromTrackFileRequestPutEnvironmentFromTrackResponseCreates a new environment on the server by uploading a given track file.
All dependencies are uploaded into corresponding services, depending on the given conflict policy.
Note: It is not possible to upload a track including an object in which several states have the same name, or including a geometry with several material parts with the same name.
GetTrackChunksGetTrackChunksRequest.asset_preparation.v3.common.Chunk streamPackages the environment as a track and exports it as a byte stream.
Note: The last chunk of the stream provides the metadata "AVX Status Error" if an error occurred, "AVX Status Warning" or "AVX Status Info" if the export succeeded.
GetTrackFileGetTrackFileRequestGetTrackFileResponsePackages the environment as a track and exports it as a .track file.

asset_preparation_api/environment/environment_description.proto

This file describes the messages used to create, edit and manage environments.

CreateEnvironmentRequest

The information required to create an environment.

FieldTypeLabelDescription
namegoogle.protobuf.StringValueThe environment name.
Note: Names must be unique amongst environments.
Note: If no name is defined, a default unique name is automatically set.
propertiesEnvironmentPropertiesThe environment properties.

CreateEnvironmentResponse

The identifier of the created environment.

FieldTypeLabelDescription
identityEnvironmentIdentityThe environment identity.
Returns null in case of failure.
statusasset_preparation.v3.common.StatusThe feedback status of the creation operation.

DeleteEnvironmentRequest

The information required to delete an environment.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the environment to delete.

DeleteEnvironmentResponse

The response returned when deleting an environment.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the delete operation.

EnvironmentIdentity

The full identity of an environment, consisting of an identifier and a name.

FieldTypeLabelDescription
identifierint32The environment identifier.
namestringThe environment name.

EnvironmentProperties

The properties of an environment.

FieldTypeLabelDescription
scene_treegoogle.protobuf.Int32ValueThe identifier of the scene tree referenced in the environment.
Note: The scene tree reference can be removed by setting the value '-1'.
Note: A scene tree reference must be provided before exporting the track.
added_skiesSkyListsThe identifiers of the skies to add to the environment.
removed_skiesSkyListsThe identifiers of the skies to remove from the environment.
no_active_skyasset_preparation.v3.common.EmptyNo active sky.
Note: If the active sky is not defined, the first sky added to the environment will be set as active.
If there is no sky in the environment, a default natural sky is created at export and set as active.
active_natural_skyint32The natural sky to set as active.
active_hdri_skyint32The HDRI sky to set as active.

GetEnvironmentRequest

The information required to examine an environment.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the environment to examine.

GetEnvironmentResponse

The information about an environment.

FieldTypeLabelDescription
identityEnvironmentIdentityThe environment identity.
propertiesEnvironmentPropertiesThe environment properties.
statusasset_preparation.v3.common.StatusThe feedback status of the examination operation.

GetTrackChunksRequest

The information required to export an environment as a stream of track chunks.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the environment to export.

GetTrackFileRequest

The information required to export an environment as a track file.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the environment to export.
file_pathstringThe path of the exported file.
overwritegoogle.protobuf.BoolValueDescribes whether the file should be overwritten.
Note: The default value is true.

GetTrackFileResponse

The response returned when exporting an environment as a track file.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the export operation.

ListEnvironmentsResponse

The identities of all environments in the collection.

FieldTypeLabelDescription
environmentsEnvironmentIdentityrepeatedEnvironment identities.
statusasset_preparation.v3.common.StatusThe feedback status of the listing operation.

PutEnvironmentFromTrackFileRequest

The information required to create an environment from an uploaded track file.

FieldTypeLabelDescription
file_pathstringThe path of the .track file to upload.
name_conflict_policyasset_preparation.v3.common.ConflictPolicyThe policy to follow in case of name conflict with server's objects.

PutEnvironmentFromTrackResponse

The response returned when uploading a track.

FieldTypeLabelDescription
identifierint32The imported environment identifier.
statusasset_preparation.v3.common.StatusThe feedback status of the upload operation.

SkyLists

Lists of identifiers for natural skies and HDRI skies.

FieldTypeLabelDescription
hdri_skiesint32repeatedThe identifiers of HDRI skies.
natural_skiesint32repeatedThe identifiers of natural skies.

UpdateEnvironmentRequest

The information required to update an environment.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the environment to update.
namegoogle.protobuf.StringValueThe environment name.
Note: Names must be unique amongst environments.
Note: If no name is defined, the name is not updated.
propertiesEnvironmentPropertiesThe environment properties.
Note: All the properties are optional.

UpdateEnvironmentResponse

The response returned when updating an environment.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the update operation.

asset_preparation_api/geometry/geometry.proto

This file describes the service used to create, edit and manage geometries.

GeometryPreparation

Geometry Preparation Service

This service is used to create, edit and manage geometries.

Method NameRequest TypeResponse TypeDescription
CreateGeometryCreateGeometryRequestCreateGeometryResponseCreates a new geometry with an optional given name and winding order.
Note: Names must be unique amongst geometries.
Returns the identifier of the created geometry.
GetGeometryGetGeometryRequestGetGeometryResponseGets the properties of a geometry, given its identifier.
Returns the geometry properties.
ListGeometries.google.protobuf.EmptyListGeometriesResponseLists all the created geometries.
Returns the identifiers and names of the geometries.
UpdateGeometryUpdateGeometryRequestUpdateGeometryResponseEdits the properties of a geometry, given its identifier.
Note: Names must be unique amongst geometries.
DeleteGeometryDeleteGeometryRequestDeleteGeometryResponseDeletes a geometry, given its identifier.
CreateMaterialPartCreateMaterialPartRequestCreateMaterialPartResponseCreates a material part as a child of a geometry, given the parent geometry identifier, with optional material part parameters.
Note: Names must be unique amongst sibling material parts.
Returns the identifier of the created material part.
GetMaterialPartGetMaterialPartRequestGetMaterialPartResponseGets the properties of a material part, given its identifier.
Returns the material part properties.
UpdateMaterialPartUpdateMaterialPartRequestUpdateMaterialPartResponseEdits the properties of a material part, given its identifier.
Note: Names must be unique amongst sibling material parts.
DeleteMaterialPartDeleteMaterialPartRequestDeleteMaterialPartResponseDeletes a material part, given its identifier.
PushVerticesPushVerticesRequest streamPushVerticesResponsePushes vertices to a geometry, given a stream of geometry identifiers and vertices to push.
PushIndicesPushIndicesRequest streamPushIndicesResponsePushes indices to a geometry, given a stream of geometry identifiers and indices to push.
Note: Indices must reference already pushed vertices.
GetGeometryVerticesGetGeometryVerticesRequestGetGeometryVerticesResponse streamGets the vertices of a geometry, given its identifier.
GetGeometryIndicesGetGeometryIndicesRequestGetGeometryIndicesResponse streamGets the indices of a geometry, given its identifier.

asset_preparation_api/geometry/geometry_description.proto

This file describes the messages used to create, edit and manage geometries.

CreateGeometryRequest

The information required to create a geometry.

FieldTypeLabelDescription
namegoogle.protobuf.StringValueThe geometry name.
Note: Names must be unique amongst geometries.
Note: If no name is defined, a default unique name is automatically set.
propertiesGeometryPropertiesThe properties of a geometry.

CreateGeometryResponse

The identity of the created geometry.

FieldTypeLabelDescription
identityGeometryIdentityThe identity of the geometry.
Returns null in case of failure.
statusasset_preparation.v3.common.StatusThe feedback status of the creation operation.

CreateMaterialPartRequest

The information required to create a material part under a geometry.

FieldTypeLabelDescription
geometry_identifiergoogle.protobuf.Int32ValueThe identifier of the parent geometry.
namegoogle.protobuf.StringValueThe material part name.
Note: Names must be unique amongst sibling material parts.
Note: If no name is defined, a default unique name is automatically set.
propertiesMaterialPartPropertiesThe properties of the material part.

CreateMaterialPartResponse

The identifier of the created material part.

FieldTypeLabelDescription
geometry_identifiergoogle.protobuf.Int32ValueThe identifier of the parent geometry.
material_part_identityMaterialPartIdentityThe identity of the material part.
Returns null in case of failure.
statusasset_preparation.v3.common.StatusThe feedback status of the creation operation.

DeleteGeometryRequest

The information required to delete a geometry.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the geometry to delete.

DeleteGeometryResponse

The response returned when deleting a geometry.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the delete operation.

DeleteMaterialPartRequest

The information required to delete a material part.

FieldTypeLabelDescription
geometry_identifiergoogle.protobuf.Int32ValueThe identifier of the parent geometry.
material_part_identifiergoogle.protobuf.Int32ValueThe identifier of the material part.

DeleteMaterialPartResponse

The response returned when deleting a material part.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the delete operation.

GeometryIdentity

The full identity of a geometry, consisting of an identifier and a name.

FieldTypeLabelDescription
identifierint32The geometry identifier.
namestringThe geometry name.

GeometryProperties

The properties of a geometry.

FieldTypeLabelDescription
winding_orderWindingOrderThe geometry winding order.
has_binormalsgoogle.protobuf.BoolValueWhether the vertices should have binormals defined.
Note: The default value is false.
has_tangentsgoogle.protobuf.BoolValueWhether the vertices should have tangents defined.
Note: The default value is false.
uv_countgoogle.protobuf.Int32ValueThe number of UV coordinates that the vertices should have defined.
Note: The UV count should be in the range [0, 4].
Note: The default value is 0.

GetGeometryIndicesRequest

The information required to get the geometry indices.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the geometry.

GetGeometryIndicesResponse

The information about the geometry indices.

FieldTypeLabelDescription
indicesint32repeatedThe indices of the geometry.
statusasset_preparation.v3.common.StatusThe feedback status of the get indices operation.

GetGeometryRequest

The information required to examine a geometry.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the geometry to examine.

GetGeometryResponse

The information about a geometry.

FieldTypeLabelDescription
identityGeometryIdentityThe identity of the geometry.
propertiesGeometryPropertiesThe geometry properties.
material_partsMaterialPartIdentityrepeatedThe identities of the material parts composing the geometry.
statusasset_preparation.v3.common.StatusThe feedback status of the examination operation.

GetGeometryVerticesRequest

The information required to get the geometry vertices.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the geometry.

GetGeometryVerticesResponse

The information about the geometry vertices.

FieldTypeLabelDescription
verticesVertexrepeatedThe vertices of the geometry.
statusasset_preparation.v3.common.StatusThe feedback status of the get vertices operation.

GetMaterialPartRequest

The information required to examine a material part.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the material part to examine.

GetMaterialPartResponse

The information about a material part.

FieldTypeLabelDescription
identityMaterialPartIdentityThe identity of the material part.
propertiesMaterialPartPropertiesThe material part properties.
statusasset_preparation.v3.common.StatusThe feedback status of the examination operation.

ListGeometriesResponse

The identities of all geometries in the collection.

FieldTypeLabelDescription
geometriesGeometryIdentityrepeatedGeometry identities.
statusasset_preparation.v3.common.StatusThe feedback status of the listing operation.

MaterialPartIdentity

The full identity of a material part, consisting of an identifier and a name.

FieldTypeLabelDescription
identifierint32The material part identifier.
namestringThe material part name.

MaterialPartProperties

The properties of the material part.

FieldTypeLabelDescription
transparency_modeTransparencyModeThe material part transparency mode.
surface_source_identifiergoogle.protobuf.Int32ValueThe identifier of the surface source.
Note: Optional field.
Note: The surface source reference can be removed by setting the value '-1'.
material_identifiergoogle.protobuf.Int32ValueThe 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.
start_indexgoogle.protobuf.Int32ValueThe position of the first index from the indices array to reference vertices where the associated material should be applied.
indices_countgoogle.protobuf.Int32ValueThe number of indices from the indices array to reference vertices where the associated material should be applied.
temperature_variation_texture_identifiergoogle.protobuf.Int32ValueThe identifier of the temperature variation texture.
Note: Optional field.
Note: The temperature variation texture reference can be removed by setting the value '-1'.
temperature_variation_uv_channelgoogle.protobuf.Int32ValueThe temperature variation UV channel.
Note: Must be 1, 2, 3 or 4.
Note: The default value is 1.
temperature_variation_amplitudegoogle.protobuf.DoubleValueThe temperature variation amplitude.
Unit: Degree
Note: Must be a double in the range [0,2000].
Note: The default value is 0.
Note: If the temperature variation texture is not defined, the amplitude will be ignored.
removed_tagsasset_preparation.v3.common.TagIdentityrepeatedTag(s) to remove from the material part.
added_tagsasset_preparation.v3.common.TagrepeatedTag(s) to add to the material part.
Note: Only LightingType Tags are allowed.

PushIndicesRequest

The information required to push indices to a geometry. The recommended size of the request is in range 256kB to 1MB.

FieldTypeLabelDescription
geometry_identifiergoogle.protobuf.Int32ValueThe identifier of the geometry.
indicesint32repeatedThe indices to push in the geometry.

PushIndicesResponse

The response returned when pushing indices to a geometry.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the push operation.

PushVerticesRequest

The information required to push vertices to a geometry. The recommended size of the request is in range 256kB to 1MB.

FieldTypeLabelDescription
geometry_identifiergoogle.protobuf.Int32ValueThe identifier of the geometry.
verticesVertexrepeatedThe vertices to push in the geometry.

PushVerticesResponse

The response returned when pushing vertices to a geometry.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the push operation.

UpdateGeometryRequest

The information required to update a geometry.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the geometry to update.
namegoogle.protobuf.StringValueThe geometry name.
Note: Names must be unique amongst geometries.
Note: If no name is defined, the name is not updated.
propertiesGeometryPropertiesThe geometry properties.
Note: All the properties are optional.

UpdateGeometryResponse

The response returned when updating a geometry.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the update operation.

UpdateMaterialPartRequest

The information required to update a material part.

FieldTypeLabelDescription
geometry_identifiergoogle.protobuf.Int32ValueThe identifier of the parent geometry.
material_part_identifiergoogle.protobuf.Int32ValueThe identifier of the material part.
namegoogle.protobuf.StringValueThe material part name.
Note: Names must be unique amongst sibling material parts.
Note: If no name is defined, the name is not updated.
propertiesMaterialPartPropertiesThe material part properties.
Note: All the properties are optional.

UpdateMaterialPartResponse

The response returned when updating a material part.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the update operation.

UvCoordinates

The UV coordinates.

FieldTypeLabelDescription
xgoogle.protobuf.DoubleValueCoordinate along the X axis.
ygoogle.protobuf.DoubleValueCoordinate along the Y axis.

Vertex

The properties of a vertex.

Note: The X, Y and Z coordinates of the binormals are required only when has_binormals is set to true.

Note: The X, Y and Z coordinates of the tangents are required only when has_tangents is set to true.

FieldTypeLabelDescription
x_positiongoogle.protobuf.DoubleValueThe position of the vertex along the X axis.
Unit: Meter
y_positiongoogle.protobuf.DoubleValueThe position of the vertex along the Y axis.
Unit: Meter
z_positiongoogle.protobuf.DoubleValueThe position of the vertex along the Z axis.
Unit: Meter
x_normalgoogle.protobuf.DoubleValueThe X-coordinate of the normal of the vertex.
Unit: Meter
y_normalgoogle.protobuf.DoubleValueThe Y-coordinate of the normal of the vertex.
Unit: Meter
z_normalgoogle.protobuf.DoubleValueThe Z-coordinate of the normal of the vertex.
Unit: Meter
x_binormalgoogle.protobuf.DoubleValueThe X-coordinate of the binormal of the vertex.
Unit: Meter
Note: Required only when has_binormals is set to true.
y_binormalgoogle.protobuf.DoubleValueThe Y-coordinate of the binormal of the vertex.
Unit: Meter
Note: Required only when has_binormals is set to true.
z_binormalgoogle.protobuf.DoubleValueThe Z-coordinate of the binormal of the vertex.
Unit: Meter
Note: Required only when has_binormals is set to true.
x_tangentgoogle.protobuf.DoubleValueThe X-coordinate of the tangent of the vertex.
Unit: Meter
Note: Required only when has_tangents is set to true.
y_tangentgoogle.protobuf.DoubleValueThe Y-coordinate of the tangent of the vertex.
Unit: Meter
Note: Required only when has_tangents is set to true.
z_tangentgoogle.protobuf.DoubleValueThe Z-coordinate of the tangent of the vertex.
Unit: Meter
Note: Required only when has_tangents is set to true.
uv_coordinatesUvCoordinatesrepeatedThe UV coordinates for each UV layer defined for the vertex.
ambient_occlusiongoogle.protobuf.DoubleValueThe ambient occlusion of the vertex.

TransparencyMode

Transparency mode of a material part.

NameNumberDescription
TRANSPARENCY_MODE_UNSPECIFIED0Unspecified transparency mode.
TRANSPARENCY_MODE_OPAQUE1The material part is opaque.
TRANSPARENCY_MODE_WITH_HOLES2The material part contains holes.
TRANSPARENCY_MODE_SEMI_TRANSPARENT3The material part is semi-transparent.

WindingOrder

Winding order of the vertices inside a geometry.

NameNumberDescription
WINDING_ORDER_UNSPECIFIED0Unspecified winding order.
WINDING_ORDER_DOUBLE_SIDED1For double-sided meshes.
WINDING_ORDER_CLOCKWISE2Vertices are ordered clockwise.
WINDING_ORDER_COUNTER_CLOCKWISE3Vertices are ordered counter-clockwise.

asset_preparation_api/hdriSky/hdri_sky.proto

This file describes the service used to create, edit and manage HDRI skies.

HdriSkyPreparation

HDRI Sky Preparation Service

This service is used to create, edit and manage HDRI skies.

Method NameRequest TypeResponse TypeDescription
CreateHdriSkyCreateHdriSkyRequestCreateHdriSkyResponseCreates a new HDRI sky with an optional name.
Note: Names must be unique amongst skies.
Note: If unspecified, default values are used.
Returns the identifier of the created HDRI sky.
GetHdriSkyGetHdriSkyRequestGetHdriSkyResponseGets the properties of an HDRI sky, given its identifier.
Returns the HDRI sky properties.
ListHdriSkies.google.protobuf.EmptyListHdriSkiesResponseLists all the created HDRI skies.
Returns the identifiers and names of the HDRI skies.
UpdateHdriSkyUpdateHdriSkyRequestUpdateHdriSkyResponseEdits the properties of an HDRI sky, given its identifier.
Note: Names must be unique amongst skies.
DeleteHdriSkyDeleteHdriSkyRequestDeleteHdriSkyResponseDeletes an HDRI sky, given its identifier.
Note: If you delete an HDRI sky that is set as the active_sky in an environment, the environment is updated with the default sky set as the active sky.
CreateHdriSkyStateCreateHdriSkyStateRequestCreateHdriSkyStateResponseCreates a new HDRI sky state with optional properties.
Note: Names must be unique amongst sibling states.
Note: "Default" name is reserved.
Note: If some properties are not specified, default values are used.
Returns the information about the created HDRI sky state.
GetHdriSkyStateGetHdriSkyStateRequestGetHdriSkyStateResponseGets the properties of an HDRI sky state,
given the parent HDRI sky identifier and the state name.
Returns the HDRI sky state properties.
UpdateHdriSkyStateUpdateHdriSkyStateRequestUpdateHdriSkyStateResponseEdits the properties of a state,
given the parent HDRI sky identifier and the state name.
Note: Names must be unique amongst sibling states.
Note: "Default" name is reserved.
DeleteHdriSkyStateDeleteHdriSkyStateRequestDeleteHdriSkyStateResponseDeletes an HDRI sky state,
given the parent HDRI sky identifier and the state name.

asset_preparation_api/hdriSky/hdri_sky_description.proto

This file describes the messages used to create, edit and manage HDRI skies.

CreateHdriSkyRequest

The information required to create an HDRI sky.

FieldTypeLabelDescription
namegoogle.protobuf.StringValueThe HDRI sky name.
Note: Names must be unique amongst skies.
Note: If no name is defined, a default unique name is automatically set.
propertiesHdriSkyPropertiesThe HDRI sky properties.

CreateHdriSkyResponse

The identifier of the created HDRI sky.

FieldTypeLabelDescription
identityHdriSkyIdentityThe identity of an HDRI sky.
Returns null in case of failure.
statusasset_preparation.v3.common.StatusThe feedback status of the creation operation.

CreateHdriSkyStateRequest

The information required to create an HDRI sky state.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe HDRI sky identifier.
state_namestringThe state name.
Note: Names must be unique amongst sibling HDRI sky states.
Note: "Default" name is reserved.
base_state_namegoogle.protobuf.StringValueThe name of an already existing state on which will be based the state to create.
Note: If not defined, the HDRI sky properties are used.
state_propertiesHdriSkyPropertiesThe state properties.

CreateHdriSkyStateResponse

The response returned when creating an HDRI sky state.

FieldTypeLabelDescription
identifierint32The HDRI sky identifier.
state_namestringThe new state name.
statusasset_preparation.v3.common.StatusThe feedback status of the creation operation.

DeleteHdriSkyRequest

The information required to delete an HDRI sky.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the HDRI sky to delete.

DeleteHdriSkyResponse

The response returned when deleting an HDRI sky.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the delete operation.

DeleteHdriSkyStateRequest

The information required to delete an HDRI sky state.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe HDRI sky identifier.
state_namestringThe name of the state to delete.

DeleteHdriSkyStateResponse

The response returned when deleting an HDRI sky state.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the delete operation.

GetHdriSkyRequest

The information required to examine an HDRI sky.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the HDRI sky to examine.

GetHdriSkyResponse

The information about an HDRI sky.

FieldTypeLabelDescription
identityHdriSkyIdentityThe HDRI sky identity.
propertiesHdriSkyPropertiesThe HDRI sky properties.
state_namesstringrepeatedThe names of the HDRI sky states.
statusasset_preparation.v3.common.StatusThe feedback status of the examination operation.

GetHdriSkyStateRequest

The information required to examine a state.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the HDRI sky.
state_namestringThe name of the state to examine.

GetHdriSkyStateResponse

The information about an HDRI sky state.

FieldTypeLabelDescription
identifierint32The identifier of the examined HDRI sky.
state_namestringThe state name.
state_propertiesHdriSkyPropertiesThe properties of the examined state.
statusasset_preparation.v3.common.StatusThe feedback status of the reading operation.

HdriSkyIdentity

The full identity of an HDRI sky, consisting of an identifier and a name.

FieldTypeLabelDescription
identifierint32The HDRI sky identifier.
namestringThe HDRI sky name.

HdriSkyProperties

The properties of an HDRI sky.

FieldTypeLabelDescription
texture_identifiergoogle.protobuf.Int32ValueThe identifier of the texture (created using the Resource service) referenced in the HDRI sky.
Note: The texture reference can be removed by setting the value '-1'.
Note: The identifier must reference a texture with ".hdr" extension.
projection_typeProjectionTypeThe type of projection.
Note: The default value is SPHERE.
ground_radiusgoogle.protobuf.DoubleValueThe radius of the virtual ground.
Note: Must be equal or superior to 0.
Note: The default value is 0.
orientationgoogle.protobuf.DoubleValueThe HDRI sky orientation.
Unit: Degree
Note: Must be in the range [0,359].
Note: The default value is 0.
luminance_factorgoogle.protobuf.DoubleValueThe luminance factor applied to the HDRI texture.
Note: Must be equal or superior to 0.
Note: The default value is 1.
ambient_factorgoogle.protobuf.DoubleValueThe ambient factor for opaque objects in Shadics rendering engine.
Note: Must be equal or superior to 0.
Note: The default value is 1.

ListHdriSkiesResponse

The identities of all HDRI skies in the collection.

FieldTypeLabelDescription
skiesHdriSkyIdentityrepeatedHDRI sky identities.
statusasset_preparation.v3.common.StatusThe feedback status of the listing operation.

UpdateHdriSkyRequest

The information required to update an HDRI sky.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the HDRI sky to update.
namegoogle.protobuf.StringValueThe new HDRI sky name.
Note: Names must be unique amongst skies.
Note: If no name is defined, the name is not updated.
propertiesHdriSkyPropertiesThe HDRI sky properties.
Note: All the properties are optional.

UpdateHdriSkyResponse

The response returned when updating an HDRI sky.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the update operation.

UpdateHdriSkyStateRequest

The information required to update an HDRI sky state.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe HDRI sky identifier.
state_namestringThe current name of the state.
state_new_namegoogle.protobuf.StringValueThe new name of the state.
Note: Names must be unique amongst sibling HDRI sky states.
Note: "Default" name is reserved.
state_propertiesHdriSkyPropertiesThe new state properties.

UpdateHdriSkyStateResponse

The response returned when updating an HDRI sky state.

FieldTypeLabelDescription
state_namestringThe state name.
statusasset_preparation.v3.common.StatusThe feedback status of the update operation.

ProjectionType

The type of projection.

NameNumberDescription
PROJECTION_TYPE_UNSPECIFIED0Unspecified projection type.
PROJECTION_TYPE_SPHERE1The sphere projection.
PROJECTION_TYPE_DOME2The dome projection.

asset_preparation_api/information/health.proto

This file describes the Asset Preparation API services' health.

GetHealthResponse

This message describes the health response.

FieldTypeLabelDescription
is_healthyboolWhether the server is healthy.

asset_preparation_api/information/information.proto

This file describes the service used to check the Asset Preparation API services' health.

Information

Information Service

This service is used to get information about the API services.

Method NameRequest TypeResponse TypeDescription
GetHealth.google.protobuf.EmptyGetHealthResponseTests if the server is healthy.
Note: Checks that all repositories are available for all services to work correctly.

asset_preparation_api/material/material.proto

This file describes the service used to create, edit and manage materials.

MaterialPreparation

Material Preparation Service

This service is used to create, edit and manage materials.

Method NameRequest TypeResponse TypeDescription
CreateMaterialCreateMaterialRequestCreateMaterialResponseCreates a new material with optional properties.
Note: Names must be unique amongst materials.
Note: If some properties are not specified, default values are used and no dielectric properties are defined.
Returns the information about the created material.
GetMaterialGetMaterialRequestGetMaterialResponseGets the properties of a material, given its identifier.
Returns the material properties.
ListMaterials.google.protobuf.EmptyListMaterialsResponseLists all the stored materials.
Returns the identifiers and names of the stored materials.
UpdateMaterialUpdateMaterialRequestUpdateMaterialResponseEdits the properties of a material, given its identifier.
Note: Names must be unique amongst materials.
DeleteMaterialDeleteMaterialRequestDeleteMaterialResponseDeletes a material, given its identifier.
CreateMaterialStateCreateMaterialStateRequestCreateMaterialStateResponseCreates a new material state with optional properties.
Note: Names must be unique amongst sibling material states.
Note: "Default" name is reserved.
Note: If some properties are not specified, default values are used and no dielectric properties are defined.
Returns the information about the created material state.
GetMaterialStateGetMaterialStateRequestGetMaterialStateResponseGets the properties of a material state, given the parent material identifier and the state name.
Returns the material state properties.
UpdateMaterialStateUpdateMaterialStateRequestUpdateMaterialStateResponseEdits the properties of a state, given the parent material identifier and the state name.
Note: Names must be unique amongst sibling material states.
Note: "Default" name is reserved.
DeleteMaterialStateDeleteMaterialStateRequestDeleteMaterialStateResponseDeletes a material state, given the parent material identifier and the state name.

asset_preparation_api/material/material_description.proto

This file describes the messages used to create, edit and manage materials.

AnisotropyProperties

The anisotropy properties of a material.

FieldTypeLabelDescription
no_anisotropyasset_preparation.v3.common.EmptyNo anisotropy.
Note: This is the default anisotropy contribution type.
textureAnisotropyTextureAnisotropy based on an anisotropic tangent map file.
colorGreyLevelAnisotropy based on a color, in grey level.

AnisotropyTexture

The texture properties of an anisotropy.

FieldTypeLabelDescription
map_identifiergoogle.protobuf.Int32ValueThe identifier of the anisotropy map referenced in the material.
Note: The anisotropy map reference can be removed by setting the value '-1'.
map_uv_channelgoogle.protobuf.Int32ValueThe anisotropy map UV channel.
Note: Must be 1, 2, 3 or 4.
Note: The default value is 1.

CreateMaterialRequest

The information required to create a material.

FieldTypeLabelDescription
namegoogle.protobuf.StringValueThe material name.
Note: Names must be unique amongst materials.
Note: If no name is defined, a default unique name is automatically set.
propertiesMaterialPropertiesThe properties of a material.
Note: If no properties are defined, the default properties are automatically set.

CreateMaterialResponse

The identifier of the created material.

FieldTypeLabelDescription
identityMaterialIdentityThe new material identity.
Returns null in case of failure.
statusasset_preparation.v3.common.StatusThe feedback status of the creation operation.

CreateMaterialStateRequest

The information required to create a material state.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe material identifier.
state_namestringThe state name.
Note: Names must be unique amongst sibling material states.
Note: "Default" name is reserved.
base_state_namegoogle.protobuf.StringValueThe name of an already existing state on which will be based the state to create.
Note: If not defined, the material properties are used.
state_propertiesMaterialPropertiesThe state properties.

CreateMaterialStateResponse

The response returned when creating a material state.

FieldTypeLabelDescription
identifierint32The material identifier.
state_namestringThe new state name.
statusasset_preparation.v3.common.StatusThe feedback status of the creation operation.

DeleteMaterialRequest

The information required to delete a material.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the material to delete.

DeleteMaterialResponse

The response returned when deleting a material.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the delete operation.

DeleteMaterialStateRequest

The information required to delete a material state.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe material identifier.
state_namestringThe name of the state to delete.

DeleteMaterialStateResponse

The response returned when deleting a material state.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the delete operation.

DielectricProperties

The dielectric properties of a material.

FieldTypeLabelDescription
dielectric_material_identifiergoogle.protobuf.Int32ValueThe identifier of the dielectric material referenced in the material.
Note: The dielectric material reference can be removed by setting the value '-1'.

DiffuseProperties

The diffuse properties of a material.

FieldTypeLabelDescription
color_rgbRgbDiffuse based on a RGB color.
color_hsvHsvDiffuse based on an HSV color.
textureDiffuseTextureDiffuse based on a diffuse map file.
Note: This is the default diffuse contribution type.

DiffuseTexture

Texture properties for diffuse contribution.

FieldTypeLabelDescription
map_identifiergoogle.protobuf.Int32ValueThe identifier of the diffuse map referenced in the material.
Note: The diffuse map reference can be removed by setting the value '-1'.
map_uv_channelgoogle.protobuf.Int32ValueThe diffuse map UV channel.
Note: Must be 1, 2, 3 or 4.
Note: The default value is 1.
alpha_uv_channelgoogle.protobuf.Int32ValueThe diffuse alpha map UV channel.
Note: Must be 1, 2, 3 or 4.
Note: The default value is 1.
Note: It can be set only for layer 1.

GetMaterialRequest

The information required to examine a material.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the material to examine.

GetMaterialResponse

The information about a material.

FieldTypeLabelDescription
identityMaterialIdentityThe material identity.
propertiesMaterialPropertiesThe material properties.
state_namesstringrepeatedThe names of the material states.
statusasset_preparation.v3.common.StatusThe feedback status of the examination operation.

GetMaterialStateRequest

The information required to examine a state.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the material.
state_namestringThe name of the state to examine.

GetMaterialStateResponse

The information about a material state.

FieldTypeLabelDescription
identifierint32The identifier of the examined material.
state_namestringThe state name.
state_propertiesMaterialPropertiesThe properties of the examined state.
statusasset_preparation.v3.common.StatusThe feedback status of the reading operation.

GreyLevel

Grey level value.

Note: Default value is 128.

FieldTypeLabelDescription
levelint32Note: Must be an integer in the range [0,255].

Hsv

HSV value of a color.

Note: Default value is (0,0,50).

FieldTypeLabelDescription
huedoubleUnit: Degree
Note: Must be a double in the range [0,360].
saturationdoubleNote: Must be a double in the range [0,100].
valuedoubleNote: Must be a double in the range [0,100].

LambertianLayer

The properties of the lambertian layer.

FieldTypeLabelDescription
absorptiongoogle.protobuf.DoubleValueThe Lambertian absorption.
Unit: Percentage (%)
Note: Must be a double in the range [0,100].
Note: The default value is 0.
diffuse_propertiesDiffusePropertiesThe diffuse properties.
normal_propertiesNormalPropertiesThe normal properties.
anisotropy_propertiesAnisotropyPropertiesThe anisotropy properties.
mask_propertiesMaskPropertiesThe Mask properties.
Note: Layer 1 must not contain a Mask.

Layer

The layer properties of a material.

FieldTypeLabelDescription
no_layerasset_preparation.v3.common.EmptyNo layer.
Note: This is the default type for layer 2 and layer 3.
lambertian_layerLambertianLayerLambertian layer type.
Note: This is the default type for layer 1.
mirror_layerMirrorLayerMirror layer type.
optical_polish_layerOpticalPolishLayerOptical polish layer type.
library_layerLibraryLayerLibrary layer type.
rendering_layerRenderingLayerRendering layer type.

LibraryLayer

The properties of the library layer.

FieldTypeLabelDescription
surface_state_identifiergoogle.protobuf.Int32ValueThe identifier of the surface state referenced in the material.
Note: The surface state reference can be removed by setting the value '-1'.
diffuse_propertiesDiffusePropertiesThe diffuse properties.
normal_propertiesNormalPropertiesThe normal properties.
anisotropy_propertiesAnisotropyPropertiesThe anisotropy properties.
mask_propertiesMaskPropertiesThe Mask properties.
Note: Layer 1 must not contain a Mask.

LibraryVolumeOpticalProperties

The library volume optical properties of a material.

FieldTypeLabelDescription
volume_material_identifiergoogle.protobuf.Int32ValueThe identifier of the volume material referenced in the material.
Note: The volume material reference can be removed by setting the value '-1'.

ListMaterialsResponse

The identities of all materials in the collection.

FieldTypeLabelDescription
materialsMaterialIdentityrepeatedMaterial identities.
statusasset_preparation.v3.common.StatusThe feedback status of the listing operation.

MaskProperties

The mask properties of a material.

Note: No mask properties should be set for layer 1.

FieldTypeLabelDescription
colorGreyLevelMask based on a color in grey level.
textureMaskTextureMask based on a texture file.
Note: This is the default mask contribution type.

MaskTexture

Texture properties for mask.

FieldTypeLabelDescription
map_identifiergoogle.protobuf.Int32ValueThe identifier of the mask map referenced in the material.
Note: The mask map reference can be removed by setting the value '-1'.
map_uv_channelgoogle.protobuf.Int32ValueThe mask map UV channel.
Note: Must be 1, 2, 3 or 4.
Note: The default value is 1.

MaterialIdentity

The full identity of a material, consisting of an identifier and a name.

FieldTypeLabelDescription
identifierint32The material identifier.
namestringThe material name.

MaterialProperties

The properties of a material.

FieldTypeLabelDescription
surface_optical_propertiesSurfaceOpticalPropertiesThe surface optical properties.
volume_optical_propertiesVolumeOpticalPropertiesThe volume optical properties.
thermal_propertiesThermalPropertiesThe thermal properties.
dielectric_propertiesDielectricPropertiesThe dielectric properties.
Note: Optional field.
reflection_effectReflectionEffectPropertiesThe reflection effect properties.

MirrorLayer

The properties of the mirror layer.

FieldTypeLabelDescription
reflectivitygoogle.protobuf.DoubleValueThe mirror reflectivity.
Unit: Percentage (%)
Note: Must be a double in the range [0,100].
Note: The default value is 100.
diffuse_propertiesDiffusePropertiesThe diffuse properties.
normal_propertiesNormalPropertiesThe normal properties.
anisotropy_propertiesAnisotropyPropertiesThe anisotropy properties.
mask_propertiesMaskPropertiesThe Mask properties.
Note: Layer 1 must not contain a Mask.

NormalProperties

The normal properties of a material.

FieldTypeLabelDescription
no_normalasset_preparation.v3.common.EmptyNo normal.
textureNormalTextureNormal properties based on a normal map.
Note: This is the default normal contribution type.

NormalTexture

Texture properties for normal contribution.

FieldTypeLabelDescription
map_identifiergoogle.protobuf.Int32ValueThe identifier of the normal map referenced in the material.
Note: The normal map reference can be removed by setting the value '-1'.
map_uv_channelgoogle.protobuf.Int32ValueThe normal map UV channel.
Note: Must be 1, 2, 3 or 4.
Note: The default value is 1.
intensitygoogle.protobuf.DoubleValueThe normal intensity.
Unit: Percentage (%)
Note: Must be a double in the range [-100,100].
Note: The default value is 100.
Note: If the normal map is not defined, the intensity will be ignored.

Opaque

The opaque volume optical type.

OpticVolumeOpticalProperties

The optic volume optical properties of a material.

FieldTypeLabelDescription
absorptiongoogle.protobuf.DoubleValueThe optical absorption.
Unit: Inverse millimeter (mm-1)
Note: Must be equal or superior to 0.
Note: The default value is 0.
refractive_indexgoogle.protobuf.DoubleValueThe refractive index.
Note: The default value is 1.52.
constringencygoogle.protobuf.DoubleValueThe constringency.
Note: Must be a double in the range [20,90].
Note: The default value is 40.

OpticalPolishLayer

The properties of the optical polish layer.

FieldTypeLabelDescription
diffuse_propertiesDiffusePropertiesThe diffuse properties.
normal_propertiesNormalPropertiesThe normal properties.
anisotropy_propertiesAnisotropyPropertiesThe anisotropy properties.
mask_propertiesMaskPropertiesThe Mask properties.
Note: Layer 1 must not contain a Mask.

ReflectionEffect

The reflection effect properties of a material.

FieldTypeLabelDescription
reflectivitygoogle.protobuf.DoubleValueThe reflection effect reflectivity.
Unit: Percentage (%)
Note: Must be a double in the range [0,100].
Note: The default value is 100.
sizegoogle.protobuf.DoubleValueThe reflection effect size.
Unit: meter (m)
Note: The default value is 0.
index_of_refractiongoogle.protobuf.DoubleValueThe index of refraction.
Note: Must be a double in the range [1,100].
Note: The default value is 1.45.

ReflectionEffectProperties

The reflection effect properties of a material.

FieldTypeLabelDescription
no_reflection_effectasset_preparation.v3.common.EmptyNo reflection effect on material.
note This is the default reflection effect contribution type.
scene_hdriReflectionEffectApply a reflection effect that projects an HDRI Sky on the material.

RenderingLayer

The properties of the rendering layer.

FieldTypeLabelDescription
specular_propertiesSpecularPropertiesThe specular properties.
roughness_propertiesRoughnessPropertiesThe roughness properties.
diffuse_propertiesDiffusePropertiesThe diffuse properties.
normal_propertiesNormalPropertiesThe normal properties.
anisotropy_propertiesAnisotropyPropertiesThe anisotropy properties.
mask_propertiesMaskPropertiesThe Mask properties.
Note: Layer 1 must not contain a Mask.

Rgb

RGB value of a color.

Note: Default value is (128,128,128).

FieldTypeLabelDescription
redint32Note: Must be an integer in the range [0,255].
greenint32Note: Must be an integer in the range [0,255].
blueint32Note: Must be an integer in the range [0,255].

RoughnessProperties

The roughness properties of a material.

FieldTypeLabelDescription
textureRoughnessTextureRoughness texture type.
Note: This is the default roughness contribution type.
colorGreyLevelColor roughness type, in grey level.

RoughnessTexture

The roughness texture properties.

FieldTypeLabelDescription
map_identifiergoogle.protobuf.Int32ValueThe identifier of the roughness map referenced in the material.
Note: The roughness map reference can be removed by setting the value '-1'.
map_uv_channelgoogle.protobuf.Int32ValueThe roughness map UV channel.
Note: Must be an integer in the range [1,4].
Note: The default value is 1.
intensitygoogle.protobuf.DoubleValueThe roughness intensity.
Note: Must be a double in the range [0,200].
Note: The default value is 100.
Note: If the roughness map is not defined, the intensity will be ignored.

SpecularProperties

The specular properties of a material.

FieldTypeLabelDescription
color_rgbRgbSpecular based on a RGB color.
color_hsvHsvSpecular based on an HSV color.
textureSpecularTextureSpecular based on a specular map file.
Note: This is the default specular contribution type.

SpecularTexture

Texture properties for specular contribution.

FieldTypeLabelDescription
map_identifiergoogle.protobuf.Int32ValueThe identifier of the specular map referenced in the material.
Note: The specular map reference can be removed by setting the value '-1'.
map_uv_channelgoogle.protobuf.Int32ValueThe UV channel.
Note: Must be 1, 2, 3 or 4.
Note: The default value is 1.
intensitygoogle.protobuf.DoubleValueThe specular intensity.
Note: Must be a double in the range [0,200].
Note: The default value is 100.
Note: If the specular map is not defined, the intensity will be ignored.

SurfaceOpticalProperties

The surface optical properties of a material.

FieldTypeLabelDescription
texture_normalizationTextureNormalizationTexture normalization type.
Note: The default value is None.
layer_1LayerThe surface optical layers.
Note: Layer 1 is mandatory. Layers 2 and 3 are optional.
Note: Layer 3 must not be set without layer 2.
layer_2Layer
layer_3Layer

ThermalProperties

The thermal properties of a material.

FieldTypeLabelDescription
emissivitygoogle.protobuf.DoubleValueThe emissivity.
Unit: Percentage (%)
Note: Must be a double in the range [0,100].
Note: The default value is 0.
emissivity_variation_texture_identifiergoogle.protobuf.Int32ValueThe identifier of the emissivity variation texture referenced in the material.
Note: Optional field.
Note: The emissivity variation texture reference can be removed by setting the value '-1'.
emissivity_variation_uv_channelgoogle.protobuf.Int32ValueThe emissivity variation UV channel.
Note: Must be 1, 2, 3 or 4.
Note: The default value is 1.
emissivity_variation_amplitudegoogle.protobuf.DoubleValueThe emissivity variation amplitude.
Unit: Percentage (%)
Note: Must be a double in the range [0,100].
Note: The default value is 0.
Note: If the emissivity variation texture is not defined,
the amplitude will be ignored.
reflection_coefficientgoogle.protobuf.DoubleValueThe reflection coefficient.
Unit: Percentage (%)
Note: Must be a double in the range [0,100].
Note: The default value is 0.
shininessgoogle.protobuf.DoubleValueThe shininess.
Note: Must be a double in the range [1,10].
Note: The default value is 1.
thermal_coefficientgoogle.protobuf.DoubleValueThe thermal coefficient.
Note: Must be a double in the range [0,1].
Note: The default value is 1.

UpdateMaterialRequest

The information required to update a material.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the material to update.
namegoogle.protobuf.StringValueThe material name.
Note: Names must be unique amongst materials.
Note: If no name is defined, the name is not updated.
propertiesMaterialPropertiesThe material properties.
Note: All the properties are optional.

UpdateMaterialResponse

The response returned when updating a material.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the update operation.

UpdateMaterialStateRequest

The information required to update a material state.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe material identifier.
state_namestringThe current name of the state.
state_new_namegoogle.protobuf.StringValueThe new name of the state.
Note: Names must be unique amongst sibling material states.
Note: "Default" name is reserved.
state_propertiesMaterialPropertiesThe new state properties.

UpdateMaterialStateResponse

The response returned when updating a material state.

FieldTypeLabelDescription
state_namestringThe state name.
statusasset_preparation.v3.common.StatusThe feedback status of the update operation.

VolumeOpticalProperties

The volume optical properties of a material.

FieldTypeLabelDescription
opaqueOpaqueOpaque for non transparent material.
Note: This is the default volume optical properties contribution type.
opticOpticVolumeOpticalPropertiesOptic for transparent colorless material without bulk scattering.
volume_optical_libraryLibraryVolumeOpticalPropertiesVolume optical property based on a VOP file.
fast_transmission_gatheringgoogle.protobuf.BoolValueEnable fast transmission gathering.
Note: The default value is false.

TextureNormalization

The possible types of texture normalization method.

NameNumberDescription
TEXTURE_NORMALIZATION_UNSPECIFIED0Unspecified texture normalization type.
TEXTURE_NORMALIZATION_NONE1No texture normalization.
Note: The BRDF is blended with the texture not preserving the color and luminance.
TEXTURE_NORMALIZATION_COLOR_FROM_TEXTURE2Blend using the Color from texture mode.
TEXTURE_NORMALIZATION_COLOR_FROM_BRDF3Blend using the Color from BRDF mode.

asset_preparation_api/naturalSky/natural_sky.proto

This file describes the service used to create, edit and manage natural skies.

NaturalSkyPreparation

Natural Sky Preparation Service

This service is used to create, edit and manage natural skies.

Method NameRequest TypeResponse TypeDescription
CreateNaturalSkyCreateNaturalSkyRequestCreateNaturalSkyResponseCreates a new natural sky with an optional name.
Note: Names must be unique amongst skies.
Note: If unspecified, default values are used.
Returns the identifier of the created natural sky.
GetNaturalSkyGetNaturalSkyRequestGetNaturalSkyResponseGets the properties of a natural sky, given its identifier.
Returns the natural sky properties.
ListNaturalSkies.google.protobuf.EmptyListNaturalSkiesResponseLists all the created natural skies.
Returns the identifiers and names of the natural skies.
UpdateNaturalSkyUpdateNaturalSkyRequestUpdateNaturalSkyResponseEdits the properties of a natural sky, given its identifier.
Note: Names must be unique amongst skies.
DeleteNaturalSkyDeleteNaturalSkyRequestDeleteNaturalSkyResponseDeletes a natural sky, given its identifier.
Note: If you delete a natural sky that is set as the active_sky in an environment, the environment is updated with the default sky set as the active sky.
CreateNaturalSkyStateCreateNaturalSkyStateRequestCreateNaturalSkyStateResponseCreates a new natural sky state with optional properties.
Note: Names must be unique amongst sibling states.
Note: "Default" name is reserved.
Note: If some properties are not specified, default values are used.
Returns the information about the created natural sky state.
GetNaturalSkyStateGetNaturalSkyStateRequestGetNaturalSkyStateResponseGets the properties of a natural sky state,
given the parent natural sky identifier and the state name.
Returns the natural sky state properties.
UpdateNaturalSkyStateUpdateNaturalSkyStateRequestUpdateNaturalSkyStateResponseEdits the properties of a state,
given the parent natural sky identifier and the state name.
Note: Names must be unique amongst sibling states.
Note: "Default" name is reserved.
DeleteNaturalSkyStateDeleteNaturalSkyStateRequestDeleteNaturalSkyStateResponseDeletes a natural sky state,
given the parent natural sky identifier and the state name.

asset_preparation_api/naturalSky/natural_sky_description.proto

This file describes the messages used to create, edit and manage natural skies.

AmbientConditions

The ambient conditions properties.

FieldTypeLabelDescription
turbiditygoogle.protobuf.DoubleValueThe sky turbidity.
Note: Must be in the range [2,9].
Note: The default value is 3.
ambient_temperaturegoogle.protobuf.DoubleValueThe ambient temperature.
Unit: Degree Celsius
Note: Must be in the range [-25,65].
Note: The default value is 25.
relative_humiditygoogle.protobuf.DoubleValueThe relative humidity.
Unit: Percentage (%)
Note: Must be in the range [0,100].
Note: The default value is 50.
no_overrideasset_preparation.v3.common.EmptyThe maximum solar warming is not overridden.
Note: This is the default mode.
Note: With this mode, the max_solar_warming is automatically computed.
max_solar_warminggoogle.protobuf.DoubleValueThe maximum solar warming, describing the maximal temperature difference between shadowed and sun-exposed road.
Unit: Degree Celsius
Note: Must be in the range [0,100].
Note: The default value is 0.
mean_road_emissivitygoogle.protobuf.DoubleValueMean road emissivity.
Unit: Percentage (%)
Note: Must be in the range [0,100].
Note: The default value is 10.

CreateNaturalSkyRequest

The information required to create a natural sky.

FieldTypeLabelDescription
namegoogle.protobuf.StringValueThe natural sky name.
Note: Names must be unique amongst skies.
Note: If no name is defined, a default unique name is automatically set.
propertiesNaturalSkyPropertiesThe natural sky properties.

CreateNaturalSkyResponse

The identifier of the created natural sky.

FieldTypeLabelDescription
identityNaturalSkyIdentityThe identity of a natural sky.
Returns null in case of failure.
statusasset_preparation.v3.common.StatusThe feedback status of the creation operation.

CreateNaturalSkyStateRequest

The information required to create a natural sky state.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe natural sky identifier.
state_namestringThe state name.
Note: Names must be unique amongst sibling states.
Note: "Default" name is reserved.
base_state_namegoogle.protobuf.StringValueThe name of an already existing state on which will be based the state to create.
Note: If not defined, the natural sky properties are used.
state_propertiesNaturalSkyPropertiesThe state properties.

CreateNaturalSkyStateResponse

The response returned when creating a natural sky state.

FieldTypeLabelDescription
identifierint32The natural sky identifier.
state_namestringThe new state name.
statusasset_preparation.v3.common.StatusThe feedback status of the creation operation.

Date

The date of a natural sky.

FieldTypeLabelDescription
dayint32
monthint32
yearint32

DeleteNaturalSkyRequest

The information required to delete a natural sky.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the natural sky to delete.

DeleteNaturalSkyResponse

The response returned when deleting a natural sky.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the delete operation.

DeleteNaturalSkyStateRequest

The information required to delete a natural sky state.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe natural sky identifier.
state_namestringThe name of the state to delete.

DeleteNaturalSkyStateResponse

The response returned when deleting a natural sky state.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the delete operation.

DynamicAccurateShadows

The properties of dynamic accurate shadows.

FieldTypeLabelDescription
shadow_offset_ratiogoogle.protobuf.DoubleValueThe shadow offset ratio.
Note: Must be above 0.00001.
Note: The default value is 0.01.
shadow_radiusgoogle.protobuf.DoubleValueThe shadow radius.
Note: Must be equal or superior to 0.
Note: The default value is 0.
softnessgoogle.protobuf.DoubleValueThe softness.
Note: Must be in the range [0,2].
Note: The default value is 0.
resolutiongoogle.protobuf.Int32ValueThe resolution.
Note: Must be an integer in the range [1,8].
Note: The default value is 4.
near_field_precisiongoogle.protobuf.DoubleValueThe near field precision.
Note: Must be in the range [0,1].
Note: The default value is 0.99.

GetNaturalSkyRequest

The information required to examine a natural sky.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the natural sky to examine.

GetNaturalSkyResponse

The information about a natural sky.

FieldTypeLabelDescription
identityNaturalSkyIdentityThe natural sky identity.
propertiesNaturalSkyPropertiesThe natural sky properties.
state_namesstringrepeatedThe names of the natural sky states.
statusasset_preparation.v3.common.StatusThe feedback status of the examination operation.

GetNaturalSkyStateRequest

The information required to examine a state.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the natural sky.
state_namestringThe name of the state to examine.

GetNaturalSkyStateResponse

The information about a natural sky state.

FieldTypeLabelDescription
identifierint32The identifier of the examined natural sky.
state_namestringThe state name.
state_propertiesNaturalSkyPropertiesThe properties of the examined state.
statusasset_preparation.v3.common.StatusThe feedback status of the reading operation.

ListNaturalSkiesResponse

The identities of all the natural skies in the collection.

FieldTypeLabelDescription
skiesNaturalSkyIdentityrepeatedNatural sky identities.
statusasset_preparation.v3.common.StatusThe feedback status of the listing operation.

Location

The location properties.

FieldTypeLabelDescription
latitudegoogle.protobuf.DoubleValueThe latitude describing the south-north position.
Unit: Degree
Note: Must be in the range [-90,90].
Note: The default value is 48.
longitudegoogle.protobuf.DoubleValueThe longitude describing the east-west position.
Unit: Degree
Note: Must be in the range [-180,180].
Note: The default value is 2.
cardinal_directiongoogle.protobuf.DoubleValueThe cardinal direction for the X axis of the environment.
Unit: Degree
Note: Must be in the range [0,359].
Note: The default value is 0.

NaturalSkyIdentity

The full identity of a natural sky, consisting of an identifier and a name.

FieldTypeLabelDescription
identifierint32The natural sky identifier.
namestringThe natural sky name.

NaturalSkyProperties

The properties of a natural sky.

FieldTypeLabelDescription
timeTimeThe time of the day.
Note: The default value is 12:00.
dateDateThe date.
Note: The default value is 02-15-2018 (mm-dd-yyyy).
locationLocationThe location.
ambient_conditionsAmbientConditionsThe ambient conditions.
no_shadowasset_preparation.v3.common.EmptyThe sky does not cast shadows.
dynamic_accurate_shadowsDynamicAccurateShadowsThe sky produces shadows with Parallel-Split Shadow Maps with adaptive detailed.
Note: this is the default type of shadows.

Time

The time of a natural sky.

FieldTypeLabelDescription
hoursint32
minutesint32

UpdateNaturalSkyRequest

The information required to update a natural sky.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the natural sky to update.
namegoogle.protobuf.StringValueThe new natural sky name.
Note: Names must be unique amongst skies.
Note: If no name is defined, the name is not updated.
propertiesNaturalSkyPropertiesThe natural sky properties.
Note: All the properties are optional.

UpdateNaturalSkyResponse

The response returned when updating a natural sky.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the update operation.

UpdateNaturalSkyStateRequest

The information required to update a natural sky state.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe natural sky identifier.
state_namestringThe current name of the state.
state_new_namegoogle.protobuf.StringValueThe new name of the state.
Note: Names must be unique amongst sibling states.
Note: "Default" name is reserved.
state_propertiesNaturalSkyPropertiesThe new state properties.

UpdateNaturalSkyStateResponse

The response returned when updating a natural sky state.

FieldTypeLabelDescription
state_namestringThe state name.
statusasset_preparation.v3.common.StatusThe feedback status of the update operation.

asset_preparation_api/pointLight/point_light.proto

This file describes the service used to create, edit and manage point lights.

PointLightPreparation

Point Light Preparation Service

This service is used to create, edit and manage point lights.

Method NameRequest TypeResponse TypeDescription
CreatePointLightCreatePointLightRequestCreatePointLightResponseCreates a new point light with optional properties.
Note: Names must be unique amongst point lights.
Note: If unspecified, default values are used.
Returns the identifier of the created point light.
GetPointLightGetPointLightRequestGetPointLightResponseGets the properties of a point light, given its identifier.
Returns the point light properties.
ListPointLights.google.protobuf.EmptyListPointLightsResponseLists all the created point lights.
Returns the identifiers and names of the point lights.
UpdatePointLightUpdatePointLightRequestUpdatePointLightResponseEdits the properties of a point light, given its identifier.
Note: Names must be unique amongst point lights.
DeletePointLightDeletePointLightRequestDeletePointLightResponseDeletes a point light, given its identifier.
CreatePointLightStateCreatePointLightStateRequestCreatePointLightStateResponseCreates a new point light state with optional properties.
Note: Names must be unique amongst sibling point light states.
Note: "Default" name is reserved.
Note: If some properties are not specified, default values are used.
Returns the information about the created point light state.
GetPointLightStateGetPointLightStateRequestGetPointLightStateResponseGets the properties of a point light state,
given the parent point light identifier and the state name.
Returns the point light state properties.
UpdatePointLightStateUpdatePointLightStateRequestUpdatePointLightStateResponseEdits the properties of a state,
given the parent point light identifier and the state name.
Note: Names must be unique amongst sibling point light states.
Note: "Default" name is reserved.
DeletePointLightStateDeletePointLightStateRequestDeletePointLightStateResponseDeletes a point light state,
given the parent point light identifier and the state name.

asset_preparation_api/pointLight/point_light_description.proto

This file describes the messages used to create, edit and manage point lights.

BlackBody

Spectrum based on a black body.

FieldTypeLabelDescription
temperaturegoogle.protobuf.DoubleValueThe temperature of the black body.
Unit: Kelvin (K)
Note: Must be in the range [0,30000].
Note: The default value is 5500.

CreatePointLightRequest

The information required to create a point light.

FieldTypeLabelDescription
namegoogle.protobuf.StringValueThe point light name.
Note: Names must be unique amongst point lights.
Note: If no name is defined, a default unique name is automatically set.
propertiesPointLightPropertiesThe point light properties.

CreatePointLightResponse

The identifier of the created point light.

FieldTypeLabelDescription
identityPointLightIdentityThe identity of a point light.
Returns null in case of failure.
statusasset_preparation.v3.common.StatusThe feedback status of the creation operation.

CreatePointLightStateRequest

The information required to create a point light state.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe point light identifier.
state_namestringThe state name.
Note: Names must be unique amongst sibling point light states.
Note: "Default" name is reserved.
base_state_namegoogle.protobuf.StringValueThe name of an already existing state on which will be based the state to create.
Note: If not defined, the point light properties are used.
state_propertiesPointLightPropertiesThe state properties.

CreatePointLightStateResponse

The response returned when creating a point light state.

FieldTypeLabelDescription
identifierint32The point light identifier.
state_namestringThe new state name.
statusasset_preparation.v3.common.StatusThe feedback status of the creation operation.

DeletePointLightRequest

The information required to delete a point light.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the point light to delete.

DeletePointLightResponse

The response returned when deleting a point light.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the delete operation.

DeletePointLightStateRequest

The information required to delete a point light state.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe point light identifier.
state_namestringThe name of the state to delete.

DeletePointLightStateResponse

The response returned when deleting a point light state.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the delete operation.

GaussianDiagram

The properties of gaussian angular diagram.

FieldTypeLabelDescription
xgoogle.protobuf.DoubleValueValue along the X axis.
Unit: Degree
Note: Must be in the range [0,180].
Note: The default value is 45.
ygoogle.protobuf.DoubleValueValue along the Y axis.
Unit: Degree
Note: Must be in the range [0,180].
Note: The default value is 45.

GetPointLightRequest

The information required to examine a point light.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the point light to examine.

GetPointLightResponse

The information about a point light.

FieldTypeLabelDescription
identityPointLightIdentityThe point light identity.
propertiesPointLightPropertiesThe point light properties.
state_namesstringrepeatedThe names of the point light states.
statusasset_preparation.v3.common.StatusThe feedback status of the examination operation.

GetPointLightStateRequest

The information required to examine a state.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the point light.
state_namestringThe name of the state to examine.

GetPointLightStateResponse

The information about a point light state.

FieldTypeLabelDescription
identifierint32The identifier of the examined point light.
state_namestringThe state name.
state_propertiesPointLightPropertiesThe properties of the examined state.
statusasset_preparation.v3.common.StatusThe feedback status of the reading operation.

Intensity

The properties of a custom point light.

FieldTypeLabelDescription
fluxgoogle.protobuf.DoubleValueThe flux.
Unit: lm
Note: Must be positive.
Note: The default value is 1000.
angular_precisiongoogle.protobuf.DoubleValueThe angular precision.
Unit: Degree
Note: Must be in the range [0,57].
Note: The default value is 0.
diagram_libraryLibraryDiagramIntensity based on a library angular diagram.
lambertianLambertianDiagramIntensity based on a lambertian angular diagram.
gaussianGaussianDiagramIntensity based on a gaussian angular diagram.
isotropicIsotropicDiagramIntensity based on an isotropic angular diagram.
Note: This is the default type of angular diagram.

IsotropicDiagram

Isotropic angular diagram.

LambertianDiagram

Lambertian angular diagram.

LibraryDiagram

The properties of library angular diagram.

FieldTypeLabelDescription
diagram_identifiergoogle.protobuf.Int32ValueThe identifier of the intensity diagram (created using the
Resource service) referenced in the point light.
Note: The intensity diagram reference can be removed by setting the value '-1'.

ListPointLightsResponse

The identities of all point lights in the collection.

FieldTypeLabelDescription
point_lightsPointLightIdentityrepeatedPoint light identities.
statusasset_preparation.v3.common.StatusThe feedback status of the listing operation.

Monochromatic

Monochromatic spectrum.

FieldTypeLabelDescription
wavelengthgoogle.protobuf.DoubleValueThe emission wavelength of the Spectrum.
Unit: nanometer (nm)
Note: Must be in the range [360,813].
Note: The default value is 580.

PointLightIdentity

The full identity of a point light, consisting of an identifier and a name.

FieldTypeLabelDescription
identifierint32The point light identifier.
namestringThe point light name.

PointLightProperties

The properties of a point light.

FieldTypeLabelDescription
intensityIntensityThe intensity.
spectrum_librarySpectrumLibrarySpectrum based on a spectrum file.
black_bodyBlackBodySpectrum based on a black body.
Note: This is the default type of spectrum.
monochromaticMonochromaticMonochromatic spectrum.
color_rgbasset_preparation.v3.common.ColorRgbSpectrum based on a RGB color.
Note: Default value is (255,255,255).
color_hsvasset_preparation.v3.common.ColorHsvSpectrum based on an HSV color.
Note: Default value is (0,0,100).
no_shadowasset_preparation.v3.common.EmptyThe point light does not cast shadows.
static_shadowsShadowsThe point light produces static shadows.
dynamic_shadowsShadowsThe point light produces dynamic shadows.
Note: This is the default type of shadows.
renderingRenderingThe rendering properties.

Rendering

The rendering properties.

FieldTypeLabelDescription
rangegoogle.protobuf.DoubleValueThe range describing the maximum distance of the light radiation.
Unit: Meter (m)
Note: Must be positive.
Note: The default value is 128.

Shadows

The properties of shadows.

FieldTypeLabelDescription
near_clipgoogle.protobuf.DoubleValueThe near clip.
Unit: Meter (m)
Note: Must be positive.
Note: The default value is 0.1.
shadows_offset_ratiogoogle.protobuf.DoubleValueThe shadow offset ratio.
Note: Must be above 0.00001.
Note: The default value is 0.01.
softnessgoogle.protobuf.DoubleValueThe softness.
Note: Must be in the range [0,2].
Note: The default value is 0.

SpectrumLibrary

Spectrum based on a spectrum file.

FieldTypeLabelDescription
spectrum_identifiergoogle.protobuf.Int32ValueThe identifier of the spectrum (created using the Resource service)
referenced in the point light.
Note: The spectrum reference can be removed by setting the value '-1'.

UpdatePointLightRequest

The information required to update a point light.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the point light to update.
namegoogle.protobuf.StringValueThe point light name.
Note: Names must be unique amongst point lights.
Note: If no name is defined, the name is not updated.
propertiesPointLightPropertiesThe point light properties.
Note: All the properties are optional.

UpdatePointLightResponse

The response returned when updating a point light.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the update operation.

UpdatePointLightStateRequest

The information required to update a point light state.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe point light identifier.
state_namestringThe current name of the state.
state_new_namegoogle.protobuf.StringValueThe new name of the state.
Note: Names must be unique amongst sibling point light states.
Note: "Default" name is reserved.
state_propertiesPointLightPropertiesThe new state properties.

UpdatePointLightStateResponse

The response returned when updating a point light state.

FieldTypeLabelDescription
state_namestringThe state name.
statusasset_preparation.v3.common.StatusThe feedback status of the update operation.

asset_preparation_api/resource/resource.proto

This file describes the service used to manage resources.

ResourcePreparation

Resource Preparation Service

This service is used to manage resources.

Method NameRequest TypeResponse TypeDescription
UploadResource.asset_preparation.v3.common.Chunk streamUploadResourceResponseUploads a new resource with a given stream of chunks containing the "AVX MIMEType" metadata.
Note: A resource name can be provided using the "AVX DataName"
key in the metadata.
Note: Importing an irradiance map may take several minutes.
The server response may be "freezing" during the import time.
Returns the identity of the created resource.
DownloadResourceAsChunksDownloadResourceAsChunksRequest.asset_preparation.v3.common.Chunk streamDownloads a resource binary content as a stream of chunks with a given identifier and type.
Note: The first chunk of the stream provides the metadata
"AVX MIMEType" and "AVX DataName". The last chunk of the stream provides the metadata "AVX Status Error" if an error occurred,
"AVX Status Warning" or "AVX Status Info" if the export succeeded.
Note: Irradiance maps cannot be downloaded.
DownloadResourceAsFileDownloadResourceAsFileRequestDownloadResourceAsFileResponseDownloads a resource file with a given identifier, type and destination path.
Note: Irradiance maps cannot be downloaded.
ListResourcesListResourcesRequestListResourcesResponseLists the identity of each resource of the given type.
Note: If no type is provided, all the resources are listed.
DeleteResourceDeleteResourceRequestDeleteResourceResponseDeletes a resource, given its identifier and type.
Note: If no identifier and type are provided, all the resources are released.
Note: If only the type is provided, all the resources of the given type are released.

asset_preparation_api/resource/resource_description.proto

This file describes the messages used to manage resources.

DeleteResourceRequest

The information required to delete a resource from the collection.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the resource to delete.
typegoogle.protobuf.StringValueThe type of the resource to delete.

DeleteResourceResponse

The response returned when deleting a resource.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the delete operation.

DownloadResourceAsChunksRequest

The request to export a resource as a stream.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the resource to download.
typestringThe type of the resource to download.

DownloadResourceAsFileRequest

The request to export a resource as a file.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the resource to download.
typestringThe type of the resource to download.
file_pathstringThe path of the exported file.
Note: The file extension must be correct according to the resource type.
overwritegoogle.protobuf.BoolValueDescribes whether the file should be overwritten.
Note: The default value is true.

DownloadResourceAsFileResponse

The response returned when downloading a resource as a file.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the download operation.

ListResourcesRequest

The request to list all the uploaded resources of a specific type, if defined.

FieldTypeLabelDescription
typegoogle.protobuf.StringValueThe type of resources to list.

ListResourcesResponse

The identities of all resources in the collection.

FieldTypeLabelDescription
identifiersResourceIdentityrepeatedResource identities.
statusasset_preparation.v3.common.StatusThe feedback status of the listing operation.

ResourceIdentity

The full identity of a resource, consisting of an identifier, a type and a name.

FieldTypeLabelDescription
identifierint32The identifier of the resource.
typestringThe type of the resource.
namestringThe name of the resource.

UploadResourceResponse

The identity of the uploaded resource.

FieldTypeLabelDescription
identityResourceIdentityThe resource identity.
statusasset_preparation.v3.common.StatusThe feedback status of the upload operation.

asset_preparation_api/scenetree/scenetree.proto

This file describes the service used to define, edit and manage scene trees.

SceneTreePreparation

Scene Tree Preparation Service

This service is used to create, edit and manage scene trees.

Method NameRequest TypeResponse TypeDescription
CreateSceneTreeCreateSceneTreeRequestCreateSceneTreeResponseCreates a new scene tree with an optional given name.
Returns the identifier of the created scene tree.
GetSceneTreeGetSceneTreeRequestGetSceneTreeResponseGets the properties of a scene tree, given its identifier.
Returns the scene tree properties.
ListSceneTrees.google.protobuf.EmptyListSceneTreesResponseLists all the created scene trees.
Returns the identifiers and names of the scene trees.
UpdateSceneTreeUpdateSceneTreeRequestUpdateSceneTreeResponseEdits the properties of a scene tree, given its identifier.
DeleteSceneTreeDeleteSceneTreeRequestDeleteSceneTreeResponseDeletes a scene tree, given its identifier.
CreateNodeCreateNodeRequestCreateNodeResponseCreates a node given the parent scene tree or node identifier, with optional node parameters.
Note: Names must be unique amongst sibling nodes.
Note: The node is visible by default.
Returns the identifier of the created node.
GetNodeGetNodeRequestGetNodeResponseGets the properties of a node, given its identifier.
Returns the node properties.
UpdateNodeUpdateNodeRequestUpdateNodeResponseEdits the properties of a node, given its identifier.
Note: Names must be unique amongst sibling nodes.
DeleteNodeDeleteNodeRequestDeleteNodeResponseDeletes a node, given its identifier.
CreateGeometryInstanceCreateGeometryInstanceRequestCreateGeometryInstanceResponseCreates a geometry instance under a node, given the node identifier and geometry instance parameters.
Note: The geometry instance is visible by default.
Returns the identifier of the created geometry instance.
GetGeometryInstanceGetGeometryInstanceRequestGetGeometryInstanceResponseGets the properties of a geometry instance, given its identifier.
Returns the geometry instances properties.
UpdateGeometryInstanceUpdateGeometryInstanceRequestUpdateGeometryInstanceResponseEdits the properties of a geometry instance, given its identifier.
DeleteGeometryInstanceDeleteGeometryInstanceRequestDeleteGeometryInstanceResponseDeletes a geometry instance, given its identifier.
CreateDirectionalLightInstanceCreateDirectionalLightInstanceRequestCreateDirectionalLightInstanceResponseCreates a directional light instance under a node, given the node identifier and directional light instance parameters.
Note: The directional light instance is visible by default.
Returns the identifier of the created directional light instance.
GetDirectionalLightInstanceGetDirectionalLightInstanceRequestGetDirectionalLightInstanceResponseGets the properties of a directional light instance, given its identifier.
Returns the directional light instance properties.
UpdateDirectionalLightInstanceUpdateDirectionalLightInstanceRequestUpdateDirectionalLightInstanceResponseEdits the properties of a directional light instance, given its identifier.
DeleteDirectionalLightInstanceDeleteDirectionalLightInstanceRequestDeleteDirectionalLightInstanceResponseDeletes a directional light instance, given its identifier.
CreatePointLightInstanceCreatePointLightInstanceRequestCreatePointLightInstanceResponseCreates a point light instance under a node, given the node identifier and point light instance parameters.
Note: The point light instance is visible by default.
Returns the identifier of the created point light instance.
GetPointLightInstanceGetPointLightInstanceRequestGetPointLightInstanceResponseGets the properties of a point light instance, given its identifier.
Returns the point light instance properties.
UpdatePointLightInstanceUpdatePointLightInstanceRequestUpdatePointLightInstanceResponseEdits the properties of a point light instance, given its identifier.
DeletePointLightInstanceDeletePointLightInstanceRequestDeletePointLightInstanceResponseDeletes a point light instance, given its identifier.
PutSceneTreeFromAssetChunks.asset_preparation.v3.common.Chunk streamPutSceneTreeFromAssetResponseCreates a new scene tree on the server by uploading an asset as a given stream of chunks containing the "AVX ConflictPolicy" metadata.
All dependencies are uploaded into corresponding services, depending on the given conflict policy.
Note: It is not possible to upload an asset including an object in which several states have the same name, or including a geometry with several material parts with the same name.
PutSceneTreeFromAssetFilePutSceneTreeFromAssetFileRequestPutSceneTreeFromAssetResponseCreates a new scene tree on the server by uploading a given asset file.
All dependencies are uploaded into corresponding services, depending on the given conflict policy.
Note: It is not possible to upload an asset including an object in which several states have the same name, or including a geometry with several material parts with the same name.
GetAssetChunksGetAssetChunksRequest.asset_preparation.v3.common.Chunk streamPackages the scene tree as an asset and exports it as a byte stream.
Note: The last chunk of the stream provides the metadata
"AVX Status Error" if an error occurred, "AVX Status Warning" or
"AVX Status Info" if the export succeeded.
GetAssetFileGetAssetFileRequestGetAssetFileResponsePackages the scene tree as an asset and exports it as a .asset file.

asset_preparation_api/scenetree/scenetree_description.proto

This file describes the messages used to define, edit and manage scene trees.

CreateDirectionalLightInstanceRequest

The information required to create a directional light instance under a node.

Note: The directional light instance is visible by default.

FieldTypeLabelDescription
node_identifiergoogle.protobuf.Int32ValueThe identifier of the parent node.
namegoogle.protobuf.StringValueThe name of the directional light instance.
Note: Names must be unique amongst siblings
(nodes, geometries and light instances).
Note: If no name is defined, a default unique name is automatically set.
propertiesDirectionalLightInstancePropertiesThe directional light instance properties.

CreateDirectionalLightInstanceResponse

The identifier of the created directional light instance.

FieldTypeLabelDescription
node_identifiergoogle.protobuf.Int32ValueThe identifier of the parent node.
instance_identityDirectionalLightInstanceIdentityThe identifier of the directional light instance.
Returns null in case of failure.
statusasset_preparation.v3.common.StatusThe feedback status of the creation operation.

CreateGeometryInstanceRequest

The information required to create a geometry instance under a node.

Note: The geometry instance is visible by default.

FieldTypeLabelDescription
node_identifiergoogle.protobuf.Int32ValueThe identifier of the parent node.
namegoogle.protobuf.StringValueThe name of the geometry instance.
Note: Names must be unique amongst siblings
(nodes, geometries and light instances).
Note: If no name is defined, a default unique name is automatically set.
propertiesGeometryInstancePropertiesThe geometry instance properties.

CreateGeometryInstanceResponse

The identifier of the created geometry instance.

FieldTypeLabelDescription
node_identifiergoogle.protobuf.Int32ValueThe identifier of the parent node.
instance_identityGeometryInstanceIdentityThe identity of the geometry instance.
Returns null in case of failure.
statusasset_preparation.v3.common.StatusThe feedback status of the creation operation.

CreateNodeRequest

The information required to create a node under a scene tree or a node.

Note: The node is visible by default.

FieldTypeLabelDescription
scene_tree_identifierint32The identifier of the parent scene tree.
node_identifierint32The identifier of the parent node.
namegoogle.protobuf.StringValueThe node name.
Note: Names must be unique amongst siblings
(nodes, geometries and light instances).
Note: If no name is defined, a default unique name is automatically set.
propertiesNodePropertiesThe node properties.

CreateNodeResponse

The identifier of the created node.

FieldTypeLabelDescription
scene_tree_identifierint32The identifier of the parent scene tree.
node_identifierint32The identifier of the parent node.
identityNodeIdentityThe identity of the node.
Returns null in case of failure.
statusasset_preparation.v3.common.StatusThe feedback status of the creation operation.

CreatePointLightInstanceRequest

The information required to create a point light instance under a node.

Note: The point light instance is visible by default.

FieldTypeLabelDescription
node_identifiergoogle.protobuf.Int32ValueThe identifier of the parent node.
namegoogle.protobuf.StringValueThe name of the point light instance.
Note: Names must be unique amongst siblings
(nodes, geometries and light instances).
Note: If no name is defined, a default unique name is automatically set.
propertiesPointLightInstancePropertiesThe point light instance properties.

CreatePointLightInstanceResponse

The identifier of the created point light instance.

FieldTypeLabelDescription
node_identifiergoogle.protobuf.Int32ValueThe identifier of the parent node.
instance_identityPointLightInstanceIdentityThe identity of the point light instance.
Returns null in case of failure.
statusasset_preparation.v3.common.StatusThe feedback status of the creation operation.

CreateSceneTreeRequest

The information required to create a scene tree.

FieldTypeLabelDescription
namegoogle.protobuf.StringValueThe scene tree name.
Note: If no name is defined, a default unique name is automatically set.

CreateSceneTreeResponse

The identity of the created scene tree.

FieldTypeLabelDescription
identitySceneTreeIdentityThe scene tree identity.
Returns null in case of failure.
statusasset_preparation.v3.common.StatusThe feedback status of the creation operation.

CustomTemperature

The custom temperature.

Unit: Degree Celsius

Note: Must be in the range [-40,100].

Note: The default value is 0.

FieldTypeLabelDescription
valuegoogle.protobuf.DoubleValueThe temperature value.

DeleteDirectionalLightInstanceRequest

The information required to delete a directional light instance.

FieldTypeLabelDescription
node_identifiergoogle.protobuf.Int32ValueThe identifier of the parent node.
instance_identifiergoogle.protobuf.Int32ValueThe identifier of the directional light instance.

DeleteDirectionalLightInstanceResponse

The response returned when deleting a directional light instance.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the delete operation.

DeleteGeometryInstanceRequest

The information required to delete a geometry instance.

FieldTypeLabelDescription
node_identifiergoogle.protobuf.Int32ValueThe identifier of the parent node.
instance_identifiergoogle.protobuf.Int32ValueThe identifier of the geometry instance.

DeleteGeometryInstanceResponse

The response returned when deleting a geometry instance.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the delete operation.

DeleteNodeRequest

The information required to delete a node.

FieldTypeLabelDescription
scene_tree_identifierint32The identifier of the parent scene tree.
node_identifierint32The identifier of the parent node.
identifiergoogle.protobuf.Int32ValueThe identifier of the node.

DeleteNodeResponse

The response returned when deleting a node.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the delete operation.

DeletePointLightInstanceRequest

The information required to delete a point light instance.

FieldTypeLabelDescription
node_identifiergoogle.protobuf.Int32ValueThe identifier of the parent node.
instance_identifiergoogle.protobuf.Int32ValueThe identifier of the point light instance.

DeletePointLightInstanceResponse

The response returned when deleting a point light instance.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the delete operation.

DeleteSceneTreeRequest

The information required to delete a scene tree.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the scene tree to delete.

DeleteSceneTreeResponse

The response returned when deleting a scene tree.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the delete operation.

DirectionalLightInstanceIdentity

The full identity of a directional light instance, consisting of an identifier and a name.

FieldTypeLabelDescription
identifierint32The directional light instance identifier.
namestringThe directional light instance name.

DirectionalLightInstanceProperties

The properties of a directional light instance.

FieldTypeLabelDescription
directional_light_identifiergoogle.protobuf.Int32ValueThe identifier of the referenced directional light.
Note: Mandatory for creation. Ignored during edition.
transformTransformThe directional light instance transformation.
Note: The scale should not be set for light instances.
If defined, it will be ignored.
visibilitygoogle.protobuf.BoolValueThe directional light instance visibility.
Note: The directional light instance is visible by default.

GeometryInstanceIdentity

The full identity of a geometry instance, consisting of an identifier and a name.

FieldTypeLabelDescription
identifierint32The geometry instance identifier.
namestringThe geometry instance name.

GeometryInstanceProperties

The properties of a geometry instance.

FieldTypeLabelDescription
geometry_identifiergoogle.protobuf.Int32ValueThe identifier of the referenced geometry.
Note: Mandatory for creation. Ignored during edition.
transformTransformThe geometry instance transformation.
visibilitygoogle.protobuf.BoolValueThe geometry instance visibility.
Note: The geometry instance is visible by default.
thermal_propertiesThermalPropertiesThe thermal properties of the instance.
Note: The thermal properties are not set by default.
removed_tagsasset_preparation.v3.common.TagIdentityrepeatedTags to remove from the geometry instance.
added_tagsasset_preparation.v3.common.TagrepeatedTag(s) to add to the geometry instance.
Note: If you want to tag a dynamic asset as a custom simulation object,
you must add the custom tag first, then add a second asset tag:
BASIC_TYPE_VEHICLE, BASIC_TYPE_PEDESTRIAN or BASIC_TYPE_ANIMAL,
in this specific order.

GetAssetChunksRequest

The information required to export a scene tree as a stream of asset chunks.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the scene tree to export.

GetAssetFileRequest

The information required to export a scene tree as an asset file.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the scene tree to export.
file_pathstringThe path of the exported file.
overwritegoogle.protobuf.BoolValueDescribes whether the file should be overwritten.

GetAssetFileResponse

The response returned when exporting a scene tree as an asset file.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the export operation.

GetDirectionalLightInstanceRequest

The information required to examine a directional light instance.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the directional light instance to examine.

GetDirectionalLightInstanceResponse

The information about a directional light instance.

FieldTypeLabelDescription
identityDirectionalLightInstanceIdentityThe identity of the directional light instance.
propertiesDirectionalLightInstancePropertiesThe directional light instance properties.
statusasset_preparation.v3.common.StatusThe feedback status of the examination operation.

GetGeometryInstanceRequest

The information required to examine a geometry instance.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the geometry instance to examine.

GetGeometryInstanceResponse

The information about a geometry instance.

FieldTypeLabelDescription
identityGeometryInstanceIdentityThe identity of the geometry instance.
propertiesGeometryInstancePropertiesThe geometry instance properties.
statusasset_preparation.v3.common.StatusThe feedback status of the examination operation.

GetNodeRequest

The information required to examine a node.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the node to examine.

GetNodeResponse

The information about a node.

FieldTypeLabelDescription
identityNodeIdentityThe identity of the node.
propertiesNodePropertiesThe node properties.
nodesNodeIdentityrepeatedThe identities of all the direct child nodes.
geometry_instancesGeometryInstanceIdentityrepeatedThe identities of all the geometries instantiated under the current node.
directional_light_instancesDirectionalLightInstanceIdentityrepeatedThe identities of all the directional lights instantiated under the current node.
point_light_instancesPointLightInstanceIdentityrepeatedThe identities of all the point lights instantiated under the current node.
statusasset_preparation.v3.common.StatusThe feedback status of the examination operation.

GetPointLightInstanceRequest

The information required to examine a point light instance.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the point light instance to examine.

GetPointLightInstanceResponse

The information about a point light instance.

FieldTypeLabelDescription
identityPointLightInstanceIdentityThe identity of the point light instance.
propertiesPointLightInstancePropertiesThe point light instance properties.
statusasset_preparation.v3.common.StatusThe feedback status of the examination operation.

GetSceneTreeRequest

The information required to examine a scene tree.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the scene tree to examine.

GetSceneTreeResponse

The information about a scene tree.

FieldTypeLabelDescription
identitySceneTreeIdentityThe scene tree identity.
nodesNodeIdentityrepeatedThe identities of all the nodes in the scene tree (direct children only).
statusasset_preparation.v3.common.StatusThe feedback status of the examination operation.

ListSceneTreesResponse

The identities of all scene trees in the collection.

FieldTypeLabelDescription
scene_treesSceneTreeIdentityrepeatedScene tree identities.
statusasset_preparation.v3.common.StatusThe feedback status of the listing operation.

NodeIdentity

The full identity of a node, consisting of an identifier and a name.

FieldTypeLabelDescription
identifierint32The node identifier.
namestringThe node name.

NodeProperties

The properties of a node.

FieldTypeLabelDescription
transformTransformThe node transformation.
visibilitygoogle.protobuf.BoolValueThe node visibility.
Note: The node is visible by default.
removed_tagsasset_preparation.v3.common.TagIdentityrepeatedTag(s) to remove from the node.
added_tagsasset_preparation.v3.common.TagrepeatedTag(s) to add to the node.
Note: If you want to tag a dynamic asset as a custom simulation object,
you must add the custom tag first, then add a second asset tag:
BASIC_TYPE_VEHICLE, BASIC_TYPE_PEDESTRIAN or BASIC_TYPE_ANIMAL,
in this specific order.

PointLightInstanceIdentity

The full identity of a point light instance, consisting of an identifier and a name.

FieldTypeLabelDescription
identifierint32The point light instance identifier.
namestringThe point light instance name.

PointLightInstanceProperties

The properties of a point light instance.

FieldTypeLabelDescription
point_light_identifiergoogle.protobuf.Int32ValueThe identifier of the referenced point light.
Note: Mandatory for creation. Ignored during edition.
transformTransformThe point light instance transformation.
Note: The scale should not be set for light instances.
If defined, it will be ignored.
visibilitygoogle.protobuf.BoolValueThe point light instance visibility.
Note: The point light instance is visible by default.
removed_tagsasset_preparation.v3.common.TagIdentityrepeatedTags to remove from the point light instance.
added_tagsasset_preparation.v3.common.TagrepeatedTag(s) to add to the point light instance.
Note: Only LightingType Tags are allowed.

PutSceneTreeFromAssetFileRequest

The information required to create a scene tree from an uploaded asset file.

FieldTypeLabelDescription
file_pathstringThe path of the .asset file to upload.
name_conflict_policyasset_preparation.v3.common.ConflictPolicyThe policy to follow in case of name conflict with server's objects.

PutSceneTreeFromAssetResponse

The response returned when uploading an asset.

FieldTypeLabelDescription
identifierint32The imported scene tree identifier.
statusasset_preparation.v3.common.StatusThe feedback status of the upload operation.

SceneTreeIdentity

The full identity of a scene tree, consisting of an identifier and a name.

FieldTypeLabelDescription
identifierint32The scene tree identifier.
namestringThe scene tree name.

ThermalProperties

The thermal properties.

FieldTypeLabelDescription
no_custom_temperatureasset_preparation.v3.common.EmptyNo custom temperature.
Note: This is the default mode.
With this mode, if a natural sky is set in the environment, the temperature of the geometry instance will be the Ambient Temperature set in the sky properties.
custom_temperatureCustomTemperatureThe custom temperature.

UpdateDirectionalLightInstanceRequest

The information required to edit the properties of a directional light instance.

FieldTypeLabelDescription
node_identifiergoogle.protobuf.Int32ValueThe identifier of the parent node.
instance_identifiergoogle.protobuf.Int32ValueThe identifier of the directional light instance.
namegoogle.protobuf.StringValueThe name of the directional light instance.
Note: Names must be unique amongst siblings
(nodes, geometries and light instances).
Note: If no name is defined, the name is not updated.
propertiesDirectionalLightInstancePropertiesThe new directional light instance properties.
Note: All the properties are optional.

UpdateDirectionalLightInstanceResponse

The response returned when updating a directional light instance.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the update operation.

UpdateGeometryInstanceRequest

The information required to update a geometry instance.

FieldTypeLabelDescription
node_identifiergoogle.protobuf.Int32ValueThe identifier of the parent node.
instance_identifiergoogle.protobuf.Int32ValueThe identifier of the geometry instance.
namegoogle.protobuf.StringValueThe name of the geometry instance.
Note: Names must be unique amongst siblings
(nodes, geometries and light instances).
Note: If no name is defined, the name is not updated.
propertiesGeometryInstancePropertiesThe geometry instance properties.
Note: All the properties are optional.

UpdateGeometryInstanceResponse

The response returned when updating a geometry instance.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the update operation.

UpdateNodeRequest

The information required to update a node.

FieldTypeLabelDescription
scene_tree_identifierint32The identifier of the parent scene tree.
node_identifierint32The identifier of the parent node.
identifiergoogle.protobuf.Int32ValueThe identifier of the node.
namegoogle.protobuf.StringValueThe node name.
Note: Names must be unique amongst siblings
(nodes, geometries and light instances).
Note: If no name is defined, the name is not updated.
propertiesNodePropertiesThe node properties.
Note: All the properties are optional.

UpdateNodeResponse

The response returned when updating a node.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the update operation.

UpdatePointLightInstanceRequest

The information required to update a point light instance.

FieldTypeLabelDescription
node_identifiergoogle.protobuf.Int32ValueThe identifier of the parent node.
instance_identifiergoogle.protobuf.Int32ValueThe identifier of the point light instance.
namegoogle.protobuf.StringValueThe name of the point light instance.
Note: Names must be unique amongst siblings
(nodes, geometries and light instances).
Note: If no name is defined, the name is not updated.
propertiesPointLightInstancePropertiesThe new point light instance properties.
Note: All the properties are optional.

UpdatePointLightInstanceResponse

The response returned when updating a point light instance.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the update operation.

UpdateSceneTreeRequest

The information required to update a scene tree.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the scene tree to update.
namegoogle.protobuf.StringValueThe scene tree name.
Note: If no name is defined, the name is not updated.

UpdateSceneTreeResponse

The response returned when updating a scene tree.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the update operation.

asset_preparation_api/scenetree/transform.proto

This file describes the messages used to transform objects in the scene tree hierarchy.

EulerAngles

Euler angles.

Unit: Degree

Note: Rotations expressed in Euler Angles are applied following the intrinsic sequence: pitch (X), yaw (Y), roll (Z). When a rotation is set around 2 axes or more, the vertex is rotated first around the X axis. Then, the rotation around the Y axis is applied to the vertex rotated on X. Finally, the rotation around the Z axis is applied to the vertex rotated on X and Y.

FieldTypeLabelDescription
xdoubleRotation along the X axis.
ydoubleRotation along the Y axis.
zdoubleRotation along the Z axis.

Quaternion

A quaternion.

FieldTypeLabelDescription
xdoubleX value of the quaternion.
ydoubleY value of the quaternion.
zdoubleZ value of the quaternion.
wdoubleW value of the quaternion.

Transform

The transformation of an object in the scene tree hierarchy.

FieldTypeLabelDescription
x_positiongoogle.protobuf.DoubleValuePosition along the X axis.
Unit: meter (m)
y_positiongoogle.protobuf.DoubleValuePosition along the Y axis.
Unit: meter (m)
z_positiongoogle.protobuf.DoubleValuePosition along the Z axis.
Unit: meter (m)
quaternionQuaternionRotation expressed as a quaternion.
euler_anglesEulerAnglesRotation expressed as Euler angles.
x_scalegoogle.protobuf.DoubleValueScale along the X axis.
y_scalegoogle.protobuf.DoubleValueScale along the Y axis.
z_scalegoogle.protobuf.DoubleValueScale along the Z axis.
relativityRelativityRelativity.

Relativity

Relativity of a transformation.

NameNumberDescription
RELATIVITY_UNSPECIFIED0The transformation relativity is unspecified.
RELATIVITY_RELATIVE1The transformation is relative to the object's parent.
RELATIVITY_ABSOLUTE2The transformation is in world coordinates.

asset_preparation_api/surfaceSource/surface_source.proto

This file describes the service used to create, edit and manage surface sources.

SurfaceSourcePreparation

Surface Source Preparation Service

This service is used to create, edit and manage surface sources.

Method NameRequest TypeResponse TypeDescription
CreateSurfaceSourceCreateSurfaceSourceRequestCreateSurfaceSourceResponseCreates a new surface source with an optional name and properties.
Note: If unspecified, default values are used.
Returns the identifier of the created surface source.
GetSurfaceSourceGetSurfaceSourceRequestGetSurfaceSourceResponseGets the properties of a surface source, given its identifier.
Returns the surface source or display source properties.
ListSurfaceSources.google.protobuf.EmptyListSurfaceSourcesResponseLists all the created surface sources.
Returns the identifiers and names of the surface sources.
UpdateSurfaceSourceUpdateSurfaceSourceRequestUpdateSurfaceSourceResponseEdits the properties of a surface source, given its identifier.
Note: Names must be unique amongst surface sources.
DeleteSurfaceSourceDeleteSurfaceSourceRequestDeleteSurfaceSourceResponseDeletes a surface source, given its identifier.
CreateSurfaceSourceStateCreateSurfaceSourceStateRequestCreateSurfaceSourceStateResponseCreates a new surface source state with optional properties.
Note: Names must be unique amongst sibling surface source states.
Note: "Default" name is reserved.
Note: If some properties are not specified, default values are used.
Returns the information about the created surface source state.
GetSurfaceSourceStateGetSurfaceSourceStateRequestGetSurfaceSourceStateResponseGets the properties of a surface source state,
given the parent surface source identifier and the state name.
Returns the surface source state properties.
UpdateSurfaceSourceStateUpdateSurfaceSourceStateRequestUpdateSurfaceSourceStateResponseEdits the properties of a state,
given the parent surface source identifier and the state name.
Note: Names must be unique amongst sibling surface source states.
Note: "Default" name is reserved.
DeleteSurfaceSourceStateDeleteSurfaceSourceStateRequestDeleteSurfaceSourceStateResponseDeletes a surface source state,
given the parent surface source identifier and the state name.

asset_preparation_api/surfaceSource/surface_source_description.proto

This file describes the messages used to create, edit and manage surface sources.

BlackBody

Spectrum based on a black body.

FieldTypeLabelDescription
temperaturegoogle.protobuf.DoubleValueThe temperature of the black body.
Unit: Kelvin (K)
Note: Must be in the range [0,30000].
Note: The default value is 5500.

CreateSurfaceSourceRequest

The information required to create a surface source.

FieldTypeLabelDescription
namegoogle.protobuf.StringValueThe surface source name.
Note: Names must be unique amongst surface sources.
Note: If no name is defined, a default unique name is automatically set.
propertiesSourcePropertiesThe source properties.

CreateSurfaceSourceResponse

The identity of the created surface source.

FieldTypeLabelDescription
identitySurfaceSourceIdentityThe identity of a surface source.
Returns null in case of failure.
statusasset_preparation.v3.common.StatusThe feedback status of the creation operation.

CreateSurfaceSourceStateRequest

The information required to create a surface source state.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe surface source identifier.
state_namestringThe state name.
Note: Names must be unique amongst sibling surface source states.
Note: "Default" name is reserved.
base_state_namegoogle.protobuf.StringValueThe name of an already existing state on which will be based the state to create.
Note: If not defined, the surface source properties are used.
state_propertiesSourcePropertiesThe state properties.

CreateSurfaceSourceStateResponse

The response returned when creating a surface source state.

FieldTypeLabelDescription
identifierint32The surface source identifier.
state_namestringThe new state name.
statusasset_preparation.v3.common.StatusThe feedback status of the creation operation.

DeleteSurfaceSourceRequest

The information required to delete a surface source.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the surface source to delete.

DeleteSurfaceSourceResponse

The response returned when deleting a surface source.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the delete operation.

DeleteSurfaceSourceStateRequest

The information required to delete a surface source state.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe surface source identifier.
state_namestringThe name of the state to delete.

DeleteSurfaceSourceStateResponse

The response returned when deleting a surface source state.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the delete operation.

DisplaySourceProperties

The properties of a display source.

Note: For display sources, the spectrum is only needed if the display source contributes to lighting.

FieldTypeLabelDescription
luminancegoogle.protobuf.DoubleValueThe display source luminance.
Unit: candela/sq. meter (cd/m2)
Note: Must be positive.
Note: The default value is 0.
angular_precisiongoogle.protobuf.DoubleValueThe angular precision.
Unit: Degree
Note: Must be in the range [0,57].
Note: The default value is 0.
lambertianLambertianDiagramIntensity based on a Lambertian angular diagram.
Note: This is the default type of angular diagram.
diagram_libraryLibraryDiagramIntensity based on a library angular diagram.
gaussianGaussianDiagramIntensity based on a gaussian angular diagram.
reverse_directiongoogle.protobuf.BoolValueWhether the direction of the display source is reversed.
no_contributionasset_preparation.v3.common.EmptyThe display source does not contribute to lighting.
Note: This is the default value.
lighting_contributionLightingContributionThe lighting contribution of the display source.
spectrum_librarySpectrumLibrarySpectrum based on a spectrum file.
Note: This is the default spectrum type.
black_bodyBlackBodySpectrum based on a black body.
monochromaticMonochromaticMonochromatic spectrum.
color_rgbasset_preparation.v3.common.ColorRgbSpectrum based on a RGB color.
Note: Default value is (255,255,255).
color_hsvasset_preparation.v3.common.ColorHsvSpectrum based on an HSV color.
Note: Default value is (0,0,100).
texture_identifiergoogle.protobuf.Int32ValueThe identifier of the display texture (created using the Resource service)
referenced in the display source.
Note: The texture reference can be removed by setting the value '-1'.
uv_channelgoogle.protobuf.Int32ValueThe UV channel used to map the texture.
Note: Must be in the range [1,4].
Note: The default value is 1.

GaussianDiagram

The properties of gaussian angular diagram.

FieldTypeLabelDescription
xgoogle.protobuf.DoubleValueValue along the X axis.
Unit: Degree
Note: Must be in the range [0,180].
Note: The default value is 45.
ygoogle.protobuf.DoubleValueValue along the Y axis.
Unit: Degree
Note: Must be in the range [0,180].
Note: The default value is 45.

GetSurfaceSourceRequest

The information required to examine a surface source.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the surface source to examine.

GetSurfaceSourceResponse

The properties of a surface source.

FieldTypeLabelDescription
identitySurfaceSourceIdentityThe identifier of the surface source.
propertiesSourcePropertiesThe surface source properties.
state_namesstringrepeatedThe names of the surface source states.
statusasset_preparation.v3.common.StatusThe feedback status of the examination operation.

GetSurfaceSourceStateRequest

The information required to examine a state.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe identifier of the surface source.
state_namestringThe name of the state to examine.

GetSurfaceSourceStateResponse

The information about a surface source state.

FieldTypeLabelDescription
identifierint32The identifier of the examined surface source.
state_namestringThe state name.
state_propertiesSourcePropertiesThe properties of the examined state.
statusasset_preparation.v3.common.StatusThe feedback status of the reading operation.

LambertianDiagram

Lambertian angular diagram.

LibraryDiagram

The properties of library angular diagram.

FieldTypeLabelDescription
diagram_identifiergoogle.protobuf.Int32ValueThe identifier of the intensity diagram (created using the
Resource service) referenced in the surface source.
Note: The intensity diagram reference can be removed by setting the value '-1'.
offsetVector3The intensity diagram offset.
Unit: Degree

LightingContribution

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.

FieldTypeLabelDescription
jointasset_preparation.v3.common.EmptyWith 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_distributionDisjointFluxDistributionTypeWith 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_offsetVector3The orientation offset.
Unit: Degree
position_offsetgoogle.protobuf.DoubleValueThe position offset.
Unit: Millimeter (mm)
Note: The default value is 0.
renderingRenderingThe rendering properties.
no_shadowasset_preparation.v3.common.EmptyThe surface source does not cast shadows.
Note: This is the default value.
static_shadowsShadowsThe surface source produces static shadows.
dynamic_shadowsShadowsThe surface source produces dynamic shadows.

ListSurfaceSourcesResponse

The identities of all surface sources in the collection.

FieldTypeLabelDescription
surface_sourcesSurfaceSourceIdentityrepeatedSurface source identities.
statusasset_preparation.v3.common.StatusThe feedback status of the listing operation.

Monochromatic

Monochromatic spectrum.

FieldTypeLabelDescription
wavelengthgoogle.protobuf.DoubleValueThe emission wavelength of the Spectrum.
Unit: nanometer (nm)
Note: Must be in the range [360,813].
Note: The default value is 580.

Rendering

The rendering properties.

FieldTypeLabelDescription
rangegoogle.protobuf.DoubleValueThe range describing the maximum distance of the light radiation.
Unit: Meter (m)
Note: Must be positive.
Note: The default value is 128.

Shadows

The properties of shadows.

FieldTypeLabelDescription
near_clipgoogle.protobuf.DoubleValueThe near clip.
Unit: Meter (m)
Note: Must be positive.
Note: The default value is 0.1.
shadows_offset_ratiogoogle.protobuf.DoubleValueThe shadow offset ratio.
Note: Must be above 0.00001.
Note: The default value is 0.01.
softnessgoogle.protobuf.DoubleValueThe softness.
Note: Must be in the range [0,2].
Note: The default value is 0.

SourceProperties

The source properties.

FieldTypeLabelDescription
surface_sourceSurfaceSourcePropertiesSurface source.
Note: This is the default type.
display_sourceDisplaySourcePropertiesDisplay source.

SpectrumLibrary

Spectrum based on a spectrum file.

FieldTypeLabelDescription
spectrum_identifiergoogle.protobuf.Int32ValueThe identifier of the spectrum (created using the Resource service)
referenced in the surface source.
Note: The spectrum reference can be removed by setting the value '-1'.

SurfaceSourceIdentity

The full identity of a surface source, consisting of an identifier and a name.

FieldTypeLabelDescription
identifierint32The surface source identifier.
namestringThe surface source name.

SurfaceSourceProperties

The properties of a surface source.

FieldTypeLabelDescription
fluxgoogle.protobuf.DoubleValueThe surface source flux.
Unit: lumen (lm)
Note: Must be positive.
Note: The default value is 500.
angular_precisiongoogle.protobuf.DoubleValueThe angular precision.
Unit: Degree
Note: Must be in the range [0,57].
Note: The default value is 0.
lambertianLambertianDiagramIntensity based on a lambertian angular diagram.
diagram_libraryLibraryDiagramIntensity based on a library angular diagram.
Note: This is the default type of angular diagram.
gaussianGaussianDiagramIntensity based on a gaussian angular diagram.
reverse_directiongoogle.protobuf.BoolValueWhether the direction of the surface source is reversed.
no_contributionasset_preparation.v3.common.EmptyThe surface source does not contribute to lighting.
Note: This is the default value.
lighting_contributionLightingContributionThe lighting contribution of the surface source.
spectrum_librarySpectrumLibrarySpectrum based on a spectrum file.
Note: This is the default spectrum type.
black_bodyBlackBodySpectrum based on a black body.
monochromaticMonochromaticMonochromatic spectrum.
color_rgbasset_preparation.v3.common.ColorRgbSpectrum based on a RGB color.
color_hsvasset_preparation.v3.common.ColorHsvSpectrum based on an HSV color.

UpdateSurfaceSourceRequest

The information required to update a surface source.

Note: All the properties are optional so you can modify only one property.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe surface source identifier.
namegoogle.protobuf.StringValueThe surface source name.
Note: Names must be unique amongst surface sources.
Note: If no name is defined, the name is not updated.
propertiesSourcePropertiesThe surface source properties.

UpdateSurfaceSourceResponse

The response returned when updating a surface source.

FieldTypeLabelDescription
statusasset_preparation.v3.common.StatusThe feedback status of the update operation.

UpdateSurfaceSourceStateRequest

The information required to update a surface source state.

FieldTypeLabelDescription
identifiergoogle.protobuf.Int32ValueThe surface source identifier.
state_namestringThe current name of the state.
state_new_namegoogle.protobuf.StringValueThe new name of the state.
Note: Names must be unique amongst sibling surface source states.
Note: "Default" name is reserved.
state_propertiesSourcePropertiesThe new state properties.

UpdateSurfaceSourceStateResponse

The response returned when updating a surface source state.

FieldTypeLabelDescription
state_namestringThe state name.
statusasset_preparation.v3.common.StatusThe feedback status of the update operation.

Vector3

Vector in a 3D referential.

Note: The default value is 0.

FieldTypeLabelDescription
xgoogle.protobuf.DoubleValueValue along the X axis.
ygoogle.protobuf.DoubleValueValue along the Y axis.
zgoogle.protobuf.DoubleValueValue along the Z axis.

DisjointFluxDistributionType

The type of disjoint flux distribution.

NameNumberDescription
DISTRIBUTION_TYPE_UNSPECIFIED0Unspecified disjoint flux distribution type.
DISTRIBUTION_TYPE_PROPORTIONAL1Flux distributed proportionally to the area of each disjoint surface.
Note: With this distribution type, the power emitted by one disjoint surface is equal to the power defined in the surface
source properties multiplied by the ratio of area of the disjoint surface to the total area.
DISTRIBUTION_TYPE_EVEN2Flux distributed evenly among the disjoint surfaces.
Note: With this distribution type, each disjoint surface emits the same power. The power of each disjoint surface is equal to the power defined in the surface source properties divided by the number of surfaces.