Struct UsdMaterialDescription
Describes the parameters of a specific material.
Inherited Members
Namespace: Unity.Importer.USD
Assembly: Unity.Importer.USD.dll
Syntax
public struct UsdMaterialDescription
Fields
clearCoatMaskTextureSampler
The texture sampler data for the clearcoat mask texture.
Declaration
public TextureSamplerSettings clearCoatMaskTextureSampler
Field Value
Type | Description |
---|---|
Texture |
clearCoatRoughnessTextureSampler
The texture sampler data for the clearcoat roughness texture.
Declaration
public TextureSamplerSettings clearCoatRoughnessTextureSampler
Field Value
Type | Description |
---|---|
Texture |
clearcoat
Clear-coat mask of the material.
Declaration
public float clearcoat
Field Value
Type | Description |
---|---|
float |
clearcoatRoughness
Clear-coat roughness of the material.
Declaration
public float clearcoatRoughness
Field Value
Type | Description |
---|---|
float |
diffuseColor
Diffuse Color of the material.
Declaration
public Color diffuseColor
Field Value
Type | Description |
---|---|
Color |
diffusePrimvarName
The primvar name of diffuse color. Null if no primvar is connected to diffuse color.
Declaration
public string diffusePrimvarName
Field Value
Type | Description |
---|---|
string |
diffuseTextureSampler
The texture sampler data for the diffuse texture.
Declaration
public TextureSamplerSettings diffuseTextureSampler
Field Value
Type | Description |
---|---|
Texture |
displacementTextureSampler
The texture sampler data for the displacement texture.
Declaration
public TextureSamplerSettings displacementTextureSampler
Field Value
Type | Description |
---|---|
Texture |
emissiveColor
Emissive Color of the material.
Declaration
public Color emissiveColor
Field Value
Type | Description |
---|---|
Color |
emissiveColorTextureSampler
The texture sampler data for the emissive color texture.
Declaration
public TextureSamplerSettings emissiveColorTextureSampler
Field Value
Type | Description |
---|---|
Texture |
emissivePrimvarName
The primvar name of emissive color. Null if no primvar is connected to emissive color.
Declaration
public string emissivePrimvarName
Field Value
Type | Description |
---|---|
string |
metallic
Metallic factor of the material.
Declaration
public float metallic
Field Value
Type | Description |
---|---|
float |
metallicTextureSampler
The texture sampler data for the metallic texture.
Declaration
public TextureSamplerSettings metallicTextureSampler
Field Value
Type | Description |
---|---|
Texture |
name
Name of the material.
Declaration
public string name
Field Value
Type | Description |
---|---|
string |
normalTextureSampler
The texture sampler data for the normal map texture.
Declaration
public TextureSamplerSettings normalTextureSampler
Field Value
Type | Description |
---|---|
Texture |
occlusionTextureSampler
The texture sampler data for the occlusion texture.
Declaration
public TextureSamplerSettings occlusionTextureSampler
Field Value
Type | Description |
---|---|
Texture |
opacity
Opacity of the material.
Declaration
public float opacity
Field Value
Type | Description |
---|---|
float |
opacityTextureSampler
The texture sampler data for the opacity texture.
Declaration
public TextureSamplerSettings opacityTextureSampler
Field Value
Type | Description |
---|---|
Texture |
opacityThreshold
Opacity threshold of the material used for alpha clipping, a value of 0 indicates that no alpha clipping is required
Declaration
public float opacityThreshold
Field Value
Type | Description |
---|---|
float |
roughness
Roughness of the material.
Declaration
public float roughness
Field Value
Type | Description |
---|---|
float |
roughnessTextureSampler
The texture sampler data for the roughness texture.
Declaration
public TextureSamplerSettings roughnessTextureSampler
Field Value
Type | Description |
---|---|
Texture |
specularColor
Specular Color of the material.
Declaration
public Color specularColor
Field Value
Type | Description |
---|---|
Color |
specularColorTextureSampler
The texture sampler data for the specular color texture.
Declaration
public TextureSamplerSettings specularColorTextureSampler
Field Value
Type | Description |
---|---|
Texture |
specularPrimvarName
The primvar name of specular color. Null if no primvar is connected to specular color.
Declaration
public string specularPrimvarName
Field Value
Type | Description |
---|---|
string |
useSpecularWorkflow
1 if material uses specular workflow, 0 if material uses metallic workflow
Declaration
public int useSpecularWorkflow
Field Value
Type | Description |
---|---|
int |