Documentation

Support

Asset Transformer SDK


User Manual

Python API

C# API

Changelog

Discussions

Asset Transformer SDK


Material

Python API types
Read time 9 minutesLast updated 16 hours ago

BlurFilter

Enum of core.Int

Name

Value

Box0
Gaussian1
Functions accepting this type or a list of this type as a parameter:

CoeffOrTexture

Select between:

ColorMaterialInfos

Fields

Type

Name

Default

Description

nameCore.String
colorColorAlpha

ColorOrTexture

Select between:

CustomMaterialPattern

A Custom MaterialPattern is an entity which defines an abstract custom Shader. It is used by the Materials. Base class: core.Entity
Functions accepting this type or a list of this type as a parameter:

EdgeFilter

Enum of core.Int

Name

Value

Clamp0
Extend1
Repeat2
Mirror3
Functions accepting this type or a list of this type as a parameter:

Image

An Image is an entity which represents an image in the Image library. Base class: core.Entity
Functions accepting this type or a list of this type as a parameter:

ImageChangeType

Enum of core.Long

Name

Value

ADDED0
REMOVED1
CHANGED2
RESET3
REPLACED4

ImageComponentType

Enum of core.Int

Name

Value

Undefined0
UInt8_Norm1
UInt8_Int2
SInt8_Norm3
SInt8_Int4
UInt16_Norm5
UInt16_Int6
SInt16_Norm7
SInt16_Int8
Float169
UInt32_Norm10
UInt32_Int11
SInt32_Norm12
SInt32_Int13
Float3214
UInt64_Norm15
UInt64_Int16
SInt64_Norm17
SInt64_Int18
Float6419
Functions accepting this type or a list of this type as a parameter:

ImageDefinition

Fields

Type

Name

Default

Description

idImage0
nameCore.String
widthCore.Int0
heightCore.Int0
layoutImageLayoutRGBA
typeImageComponentTypeUInt8_Norm
dataByteList
Functions accepting this type or a list of this type as a parameter:

ImageDefinitionList

List of material.ImageDefinition Functions accepting this type or a list of this type as a parameter:

ImageLayout

Enum of core.Int

Name

Value

Undefined0
R1
G2
B3
A4
RG5
RGB6
RGBA7
BGR8
BGRA9
ABGR10
Lum11
LumA12
Functions accepting this type or a list of this type as a parameter:

ImageList

List of material.Image Functions accepting this type or a list of this type as a parameter:

ImpostorMaterialInfos

Fields

Type

Name

Default

Description

nameCore.String
albedoColorOrTexture
normalColorOrTexture
roughnessCoeffOrTexture
aoCoeffOrTexture
depthCoeffOrTexture
nbFramesCore.Int0
fullOctaCore.Boolean1
octaDiameterCore.Double1.0
linearStepsCore.Int30
binaryStepsCore.Int1

Material

The Material is an Entity that contains visual definition that can be applied to the Components of the scene. Base class: core.Entity
Functions accepting this type or a list of this type as a parameter:

MaterialChangeType

Enum of core.Long

Name

Value

CHANGED0
PATTERN_CHANGED1
RELOAD2
DESTROYED3
ICON_CHANGED4
ADDED5
REMOVED6

MaterialDefinition

Fields

Type

Name

Default

Description

nameCore.String
idMaterial0
albedoColorOrTexture
normalColorOrTexture
metallicCoeffOrTexture
roughnessCoeffOrTexture
aoCoeffOrTexture
opacityCoeffOrTexture
emissiveColorOrTexture
Functions accepting this type or a list of this type as a parameter:

MaterialDefinitionList

List of material.MaterialDefinition Functions accepting this type or a list of this type as a parameter:

MaterialFromMapsReturn

Fields

Type

Name

Default

Description

importedTextureCountCore.Int0Number of newly imported textures.
createdMaterialCountCore.Int0Number of newly created materials.
updatedMaterialCountCore.Int0

MaterialList

List of material.Material Functions accepting this type or a list of this type as a parameter:

MaterialListList

List of material.MaterialList Functions accepting this type or a list of this type as a parameter:

MaterialPatternType

Enum of core.Int

Name

Value

CUSTOM0
COLOR1
STANDARD2
UNLIT_TEXTURE3
PBR4
IMPOSTOR5
LINE6

MaterialUserData

Identifier of materials userdata. Base class: core.Ident
Functions accepting this type or a list of this type as a parameter:

PBRMaterialInfos

Fields

Type

Name

Default

Description

nameCore.String
albedoColorOrTexture
normalColorOrTexture
metallicCoeffOrTexture
roughnessCoeffOrTexture
aoCoeffOrTexture
opacityCoeffOrTexture
Functions accepting this type or a list of this type as a parameter:

PixelInfo

Fields

Type

Name

Default

Description

layoutImageLayoutUndefined
typeImageComponentTypeUndefined
componentCountCore.Int0
bitsPerComponentCore.Int0
bytesPerComponentCore.Int0
bytesPerPixelCore.Int0
isFloatBooleanFalse
isSignedBooleanFalse
isNormalizedBooleanFalse

ResizeFilterMethod

Enum of core.Int

Name

Value

DEFAULT0
BOX1
TRIANGLE2
CUBICBSPLINE3
CATMULLROM4
MITCHELL5
Functions accepting this type or a list of this type as a parameter:

RoI

Fields

Type

Name

Default

Description

xCore.Int0
yCore.Int0
wCore.Int0
hCore.Int0

ShaderUniformType

The possible types of shader uniform parameters. Enum of core.Long

Name

Value

INTEGER2
BOOLEAN9
REAL11
COEFF13
POINT323
POINT222
COLOR15
COLOR_ALPHA16
TEXTURE34
COLORORTEXTURE35
COEFFORTEXTURE36
Functions accepting this type or a list of this type as a parameter:

StandardMaterialInfos

Fields

Type

Name

Default

Description

nameCore.String
diffuseColorOrTexture
specularColorOrTexture
ambientColorOrTexture
emissiveColorOrTexture
shininessCoeff0.0
transparencyCoeff0.0

Texture

Fields

Type

Name

Default

Description

imageImage0
channelCore.Int0
offsetPoint2
tillingPoint2

UnlitTextureMaterialInfos

Fields

Type

Name

Default

Description

nameCore.String
textureTexture