Skip to main content

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.

Chunk-MetadataEntry

asset_preparation_api/common/common.proto

This file describes the messages used in several proto files.

ColorHsv

Hsv value of a color.

ColorRgb

RGB value of a color.

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.

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.

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.

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.

Level

The severity of the feedback on an operation.

asset_preparation_api/common/tag.proto

This file describes the messages used to define tags.

Properties

The properties of a tag.

Tag

The definition of a tag.

TagIdentity

The identity of a tag.

BasicType

Types for a basic element tag.

LightingType

Types for a lighting element tag.

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.

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.

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.

CreateDirectionalLightRequest

The information required to create a directional light.

CreateDirectionalLightResponse

The identifier of the created directional light.

CreateDirectionalLightStateRequest

The information required to create a directional light state.

CreateDirectionalLightStateResponse

The response returned when creating a directional light state.

Custom

The properties of a custom directional light.

DeleteDirectionalLightRequest

The information required to delete a directional light.

DeleteDirectionalLightResponse

The response returned when deleting a directional light.

DeleteDirectionalLightStateRequest

The information required to delete a directional light state.

DeleteDirectionalLightStateResponse

The response returned when deleting a directional light state.

DirectionalLightIdentity

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

DirectionalLightProperties

The properties of a directional light.

DynamicAccurateShadows

The properties of dynamic accurate shadows.

GetDirectionalLightRequest

The information required to examine a directional light.

GetDirectionalLightResponse

The information about a directional light.

GetDirectionalLightStateRequest

The information required to examine a state.

GetDirectionalLightStateResponse

The information about a directional light state.

ListDirectionalLightsResponse

The identities of all directional lights in the collection.

Monochromatic

Monochromatic spectrum.

SpectrumLibrary

Spectrum based on a spectrum file.

Sun

The properties of a sun directional light.

UpdateDirectionalLightRequest

The information required to update a directional light.

UpdateDirectionalLightResponse

The response returned when updating a directional light.

UpdateDirectionalLightStateRequest

The information required to update a directional light state.

UpdateDirectionalLightStateResponse

The response returned when updating a directional light state.

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.

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.

CreateEnvironmentResponse

The identifier of the created environment.

DeleteEnvironmentRequest

The information required to delete an environment.

DeleteEnvironmentResponse

The response returned when deleting an environment.

EnvironmentIdentity

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

EnvironmentProperties

The properties of an environment.

GetEnvironmentRequest

The information required to examine an environment.

GetEnvironmentResponse

The information about an environment.

GetTrackChunksRequest

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

GetTrackFileRequest

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

GetTrackFileResponse

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

ListEnvironmentsResponse

The identities of all environments in the collection.

PutEnvironmentFromTrackFileRequest

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

PutEnvironmentFromTrackResponse

The response returned when uploading a track.

SkyLists

Lists of identifiers for natural skies and HDRI skies.

UpdateEnvironmentRequest

The information required to update an environment.

UpdateEnvironmentResponse

The response returned when updating an environment.

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.

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.

CreateGeometryResponse

The identity of the created geometry.

CreateMaterialPartRequest

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

CreateMaterialPartResponse

The identifier of the created material part.

DeleteGeometryRequest

The information required to delete a geometry.

DeleteGeometryResponse

The response returned when deleting a geometry.

DeleteMaterialPartRequest

The information required to delete a material part.

DeleteMaterialPartResponse

The response returned when deleting a material part.

GeometryIdentity

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

GeometryProperties

The properties of a geometry.

GetGeometryIndicesRequest

The information required to get the geometry indices.

GetGeometryIndicesResponse

The information about the geometry indices.

GetGeometryRequest

The information required to examine a geometry.

GetGeometryResponse

The information about a geometry.

GetGeometryVerticesRequest

The information required to get the geometry vertices.

GetGeometryVerticesResponse

The information about the geometry vertices.

GetMaterialPartRequest

The information required to examine a material part.

GetMaterialPartResponse

The information about a material part.

ListGeometriesResponse

The identities of all geometries in the collection.

MaterialPartIdentity

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

MaterialPartProperties

The properties of the material part.

PushIndicesRequest

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

PushIndicesResponse

The response returned when pushing indices to a geometry.

PushVerticesRequest

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

PushVerticesResponse

The response returned when pushing vertices to a geometry.

UpdateGeometryRequest

The information required to update a geometry.

UpdateGeometryResponse

The response returned when updating a geometry.

UpdateMaterialPartRequest

The information required to update a material part.

UpdateMaterialPartResponse

The response returned when updating a material part.

UvCoordinates

The UV coordinates.

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.

TransparencyMode

Transparency mode of a material part.

WindingOrder

Winding order of the vertices inside a geometry.

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.

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.

CreateHdriSkyResponse

The identifier of the created HDRI sky.

CreateHdriSkyStateRequest

The information required to create an HDRI sky state.

CreateHdriSkyStateResponse

The response returned when creating an HDRI sky state.

DeleteHdriSkyRequest

The information required to delete an HDRI sky.

DeleteHdriSkyResponse

The response returned when deleting an HDRI sky.

DeleteHdriSkyStateRequest

The information required to delete an HDRI sky state.

DeleteHdriSkyStateResponse

The response returned when deleting an HDRI sky state.

GetHdriSkyRequest

The information required to examine an HDRI sky.

GetHdriSkyResponse

The information about an HDRI sky.

GetHdriSkyStateRequest

The information required to examine a state.

GetHdriSkyStateResponse

The information about an HDRI sky state.

HdriSkyIdentity

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

HdriSkyProperties

The properties of an HDRI sky.

ListHdriSkiesResponse

The identities of all HDRI skies in the collection.

UpdateHdriSkyRequest

The information required to update an HDRI sky.

UpdateHdriSkyResponse

The response returned when updating an HDRI sky.

UpdateHdriSkyStateRequest

The information required to update an HDRI sky state.

UpdateHdriSkyStateResponse

The response returned when updating an HDRI sky state.

ProjectionType

The type of projection.

asset_preparation_api/information/health.proto

This file describes the Asset Preparation API services’ health.

GetHealthResponse

This message describes the health response.

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.

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.

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.

AnisotropyTexture

The texture properties of an anisotropy.

CreateMaterialRequest

The information required to create a material.

CreateMaterialResponse

The identifier of the created material.

CreateMaterialStateRequest

The information required to create a material state.

CreateMaterialStateResponse

The response returned when creating a material state.

DeleteMaterialRequest

The information required to delete a material.

DeleteMaterialResponse

The response returned when deleting a material.

DeleteMaterialStateRequest

The information required to delete a material state.

DeleteMaterialStateResponse

The response returned when deleting a material state.

DielectricProperties

The dielectric properties of a material.

DiffuseProperties

The diffuse properties of a material.

DiffuseTexture

Texture properties for diffuse contribution.

GetMaterialRequest

The information required to examine a material.

GetMaterialResponse

The information about a material.

GetMaterialStateRequest

The information required to examine a state.

GetMaterialStateResponse

The information about a material state.

GreyLevel

Grey level value. Note: Default value is 128.

Hsv

HSV value of a color. Note: Default value is (0,0,50).

LambertianLayer

The properties of the lambertian layer.

Layer

The layer properties of a material.

LibraryLayer

The properties of the library layer.

LibraryVolumeOpticalProperties

The library volume optical properties of a material.

ListMaterialsResponse

The identities of all materials in the collection.

MaskProperties

The mask properties of a material. Note: No mask properties should be set for layer 1.

MaskTexture

Texture properties for mask.

MaterialIdentity

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

MaterialProperties

The properties of a material.

MirrorLayer

The properties of the mirror layer.

NormalProperties

The normal properties of a material.

NormalTexture

Texture properties for normal contribution.

Opaque

The opaque volume optical type.

OpticVolumeOpticalProperties

The optic volume optical properties of a material.

OpticalPolishLayer

The properties of the optical polish layer.

ReflectionEffect

The reflection effect properties of a material.

ReflectionEffectProperties

The reflection effect properties of a material.

RenderingLayer

The properties of the rendering layer.

Rgb

RGB value of a color. Note: Default value is (128,128,128).

RoughnessProperties

The roughness properties of a material.

RoughnessTexture

The roughness texture properties.

SpecularProperties

The specular properties of a material.

SpecularTexture

Texture properties for specular contribution.

SurfaceOpticalProperties

The surface optical properties of a material.

ThermalProperties

The thermal properties of a material.

UpdateMaterialRequest

The information required to update a material.

UpdateMaterialResponse

The response returned when updating a material.

UpdateMaterialStateRequest

The information required to update a material state.

UpdateMaterialStateResponse

The response returned when updating a material state.

VolumeOpticalProperties

The volume optical properties of a material.

TextureNormalization

The possible types of texture normalization method.

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.

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.

CreateNaturalSkyRequest

The information required to create a natural sky.

CreateNaturalSkyResponse

The identifier of the created natural sky.

CreateNaturalSkyStateRequest

The information required to create a natural sky state.

CreateNaturalSkyStateResponse

The response returned when creating a natural sky state.

Date

The date of a natural sky.

DeleteNaturalSkyRequest

The information required to delete a natural sky.

DeleteNaturalSkyResponse

The response returned when deleting a natural sky.

DeleteNaturalSkyStateRequest

The information required to delete a natural sky state.

DeleteNaturalSkyStateResponse

The response returned when deleting a natural sky state.

DynamicAccurateShadows

The properties of dynamic accurate shadows.

GetNaturalSkyRequest

The information required to examine a natural sky.

GetNaturalSkyResponse

The information about a natural sky.

GetNaturalSkyStateRequest

The information required to examine a state.

GetNaturalSkyStateResponse

The information about a natural sky state.

ListNaturalSkiesResponse

The identities of all the natural skies in the collection.

Location

The location properties.

NaturalSkyIdentity

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

NaturalSkyProperties

The properties of a natural sky.

Time

The time of a natural sky.

UpdateNaturalSkyRequest

The information required to update a natural sky.

UpdateNaturalSkyResponse

The response returned when updating a natural sky.

UpdateNaturalSkyStateRequest

The information required to update a natural sky state.

UpdateNaturalSkyStateResponse

The response returned when updating a natural sky state.

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.

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.

CreatePointLightRequest

The information required to create a point light.

CreatePointLightResponse

The identifier of the created point light.

CreatePointLightStateRequest

The information required to create a point light state.

CreatePointLightStateResponse

The response returned when creating a point light state.

DeletePointLightRequest

The information required to delete a point light.

DeletePointLightResponse

The response returned when deleting a point light.

DeletePointLightStateRequest

The information required to delete a point light state.

DeletePointLightStateResponse

The response returned when deleting a point light state.

GaussianDiagram

The properties of gaussian angular diagram.

GetPointLightRequest

The information required to examine a point light.

GetPointLightResponse

The information about a point light.

GetPointLightStateRequest

The information required to examine a state.

GetPointLightStateResponse

The information about a point light state.

Intensity

The properties of a custom point light.

IsotropicDiagram

Isotropic angular diagram.

LambertianDiagram

Lambertian angular diagram.

LibraryDiagram

The properties of library angular diagram.

ListPointLightsResponse

The identities of all point lights in the collection.

Monochromatic

Monochromatic spectrum.

PointLightIdentity

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

PointLightProperties

The properties of a point light.

Rendering

The rendering properties.

Shadows

The properties of shadows.

SpectrumLibrary

Spectrum based on a spectrum file.

UpdatePointLightRequest

The information required to update a point light.

UpdatePointLightResponse

The response returned when updating a point light.

UpdatePointLightStateRequest

The information required to update a point light state.

UpdatePointLightStateResponse

The response returned when updating a point light state.

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.

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.

DeleteResourceResponse

The response returned when deleting a resource.

DownloadResourceAsChunksRequest

The request to export a resource as a stream.

DownloadResourceAsFileRequest

The request to export a resource as a file.

DownloadResourceAsFileResponse

The response returned when downloading a resource as a file.

ListResourcesRequest

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

ListResourcesResponse

The identities of all resources in the collection.

ResourceIdentity

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

UploadResourceResponse

The identity of the uploaded resource.

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.

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.

CreateDirectionalLightInstanceResponse

The identifier of the created directional light instance.

CreateGeometryInstanceRequest

The information required to create a geometry instance under a node. Note: The geometry instance is visible by default.

CreateGeometryInstanceResponse

The identifier of the created geometry instance.

CreateNodeRequest

The information required to create a node under a scene tree or a node. Note: The node is visible by default.

CreateNodeResponse

The identifier of the created node.

CreatePointLightInstanceRequest

The information required to create a point light instance under a node. Note: The point light instance is visible by default.

CreatePointLightInstanceResponse

The identifier of the created point light instance.

CreateSceneTreeRequest

The information required to create a scene tree.

CreateSceneTreeResponse

The identity of the created scene tree.

CustomTemperature

The custom temperature. Unit: Degree Celsius Note: Must be in the range [-40,100]. Note: The default value is 0.

DeleteDirectionalLightInstanceRequest

The information required to delete a directional light instance.

DeleteDirectionalLightInstanceResponse

The response returned when deleting a directional light instance.

DeleteGeometryInstanceRequest

The information required to delete a geometry instance.

DeleteGeometryInstanceResponse

The response returned when deleting a geometry instance.

DeleteNodeRequest

The information required to delete a node.

DeleteNodeResponse

The response returned when deleting a node.

DeletePointLightInstanceRequest

The information required to delete a point light instance.

DeletePointLightInstanceResponse

The response returned when deleting a point light instance.

DeleteSceneTreeRequest

The information required to delete a scene tree.

DeleteSceneTreeResponse

The response returned when deleting a scene tree.

DirectionalLightInstanceIdentity

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

DirectionalLightInstanceProperties

The properties of a directional light instance.

GeometryInstanceIdentity

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

GeometryInstanceProperties

The properties of a geometry instance.

GetAssetChunksRequest

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

GetAssetFileRequest

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

GetAssetFileResponse

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

GetDirectionalLightInstanceRequest

The information required to examine a directional light instance.

GetDirectionalLightInstanceResponse

The information about a directional light instance.

GetGeometryInstanceRequest

The information required to examine a geometry instance.

GetGeometryInstanceResponse

The information about a geometry instance.

GetNodeRequest

The information required to examine a node.

GetNodeResponse

The information about a node.

GetPointLightInstanceRequest

The information required to examine a point light instance.

GetPointLightInstanceResponse

The information about a point light instance.

GetSceneTreeRequest

The information required to examine a scene tree.

GetSceneTreeResponse

The information about a scene tree.

ListSceneTreesResponse

The identities of all scene trees in the collection.

NodeIdentity

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

NodeProperties

The properties of a node.

PointLightInstanceIdentity

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

PointLightInstanceProperties

The properties of a point light instance.

PutSceneTreeFromAssetFileRequest

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

PutSceneTreeFromAssetResponse

The response returned when uploading an asset.

SceneTreeIdentity

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

ThermalProperties

The thermal properties.

UpdateDirectionalLightInstanceRequest

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

UpdateDirectionalLightInstanceResponse

The response returned when updating a directional light instance.

UpdateGeometryInstanceRequest

The information required to update a geometry instance.

UpdateGeometryInstanceResponse

The response returned when updating a geometry instance.

UpdateNodeRequest

The information required to update a node.

UpdateNodeResponse

The response returned when updating a node.

UpdatePointLightInstanceRequest

The information required to update a point light instance.

UpdatePointLightInstanceResponse

The response returned when updating a point light instance.

UpdateSceneTreeRequest

The information required to update a scene tree.

UpdateSceneTreeResponse

The response returned when updating a scene tree.

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.

Quaternion

A quaternion.

Transform

The transformation of an object in the scene tree hierarchy.

Relativity

Relativity of a transformation.

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.

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.

CreateSurfaceSourceRequest

The information required to create a surface source.

CreateSurfaceSourceResponse

The identity of the created surface source.

CreateSurfaceSourceStateRequest

The information required to create a surface source state.

CreateSurfaceSourceStateResponse

The response returned when creating a surface source state.

DeleteSurfaceSourceRequest

The information required to delete a surface source.

DeleteSurfaceSourceResponse

The response returned when deleting a surface source.

DeleteSurfaceSourceStateRequest

The information required to delete a surface source state.

DeleteSurfaceSourceStateResponse

The response returned when deleting a surface source state.

DisplaySourceProperties

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

GaussianDiagram

The properties of gaussian angular diagram.

GetSurfaceSourceRequest

The information required to examine a surface source.

GetSurfaceSourceResponse

The properties of a surface source.

GetSurfaceSourceStateRequest

The information required to examine a state.

GetSurfaceSourceStateResponse

The information about a surface source state.

LambertianDiagram

Lambertian angular diagram.

LibraryDiagram

The properties of library angular diagram.

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.

ListSurfaceSourcesResponse

The identities of all surface sources in the collection.

Monochromatic

Monochromatic spectrum.

Rendering

The rendering properties.

Shadows

The properties of shadows.

SourceProperties

The source properties.

SpectrumLibrary

Spectrum based on a spectrum file.

SurfaceSourceIdentity

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

SurfaceSourceProperties

The properties of a surface source.

UpdateSurfaceSourceRequest

The information required to update a surface source. Note: All the properties are optional so you can modify only one property.

UpdateSurfaceSourceResponse

The response returned when updating a surface source.

UpdateSurfaceSourceStateRequest

The information required to update a surface source state.

UpdateSurfaceSourceStateResponse

The response returned when updating a surface source state.

Vector3

Vector in a 3D referential. Note: The default value is 0.

DisjointFluxDistributionType

The type of disjoint flux distribution.