Struct USDMaterial
Represents a material in the USD format.
Namespace: Evergine.Runtimes.USD.DTOs.Elements
Assembly: Evergine.Runtimes.USD.dll
Syntax
public struct USDMaterial
Properties
Clearcoat
Gets or sets the clearcoat value of the material.
Declaration
public float Clearcoat { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| float |
ClearcoatRoughness
Gets or sets the roughness of the clearcoat.
Declaration
public float ClearcoatRoughness { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| float |
DiffuseColor
Gets or sets the diffuse color of the material.
Declaration
public Color DiffuseColor { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
DiffuseSampler
Gets or sets the sampler for the diffuse texture.
Declaration
public string DiffuseSampler { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DiffuseTexture
Gets or sets the path to the diffuse texture.
Declaration
public string DiffuseTexture { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DoubleSided
Gets or sets a value indicating whether the material is double-sided.
Declaration
public bool DoubleSided { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
EmissiveColor
Gets or sets the emissive color of the material.
Declaration
public Color EmissiveColor { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
EmissiveSampler
Gets or sets the sampler for the emissive texture.
Declaration
public string EmissiveSampler { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EmissiveTexture
Gets or sets the path to the emissive texture.
Declaration
public string EmissiveTexture { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HasNormals
Gets or sets a value indicating whether the material has normals.
Declaration
public bool HasNormals { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
HasTextureCoordinates
Gets or sets a value indicating whether the material has texture coordinates.
Declaration
public bool HasTextureCoordinates { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
HasVertexColors
Gets or sets a value indicating whether the material has vertex colors.
Declaration
public bool HasVertexColors { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Ior
Gets or sets the index of refraction of the material.
Declaration
public float Ior { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| float |
IsGlossiness
Gets or sets a value indicating whether the material uses glossiness.
Declaration
public bool IsGlossiness { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Metallic
Gets or sets the metallic value of the material.
Declaration
public float Metallic { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| float |
MetallicSampler
Gets or sets the sampler for the metallic texture.
Declaration
public string MetallicSampler { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MetallicTexture
Gets or sets the path to the metallic texture.
Declaration
public string MetallicTexture { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Gets or sets the name of the material.
Declaration
public string Name { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| string |
NormalSampler
Gets or sets the sampler for the normal texture.
Declaration
public string NormalSampler { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| string |
NormalTexture
Gets or sets the path to the normal texture.
Declaration
public string NormalTexture { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OcclusionSampler
Gets or sets the sampler for the occlusion texture.
Declaration
public string OcclusionSampler { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OcclusionTexture
Gets or sets the path to the occlusion texture.
Declaration
public string OcclusionTexture { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Opacity
Gets or sets the opacity of the material.
Declaration
public float Opacity { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| float |
OpacitySampler
Gets or sets the sampler for the opacity texture.
Declaration
public string OpacitySampler { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OpacityTexture
Gets or sets the path to the opacity texture.
Declaration
public string OpacityTexture { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Roughness
Gets or sets the roughness value of the material.
Declaration
public float Roughness { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| float |
RoughnessSampler
Gets or sets the sampler for the roughness texture.
Declaration
public string RoughnessSampler { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RoughnessTexture
Gets or sets the path to the roughness texture.
Declaration
public string RoughnessTexture { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Specular
Gets or sets the specular value of the material.
Declaration
public float Specular { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| float |
SpecularSampler
Gets or sets the sampler for the specular texture.
Declaration
public string SpecularSampler { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SpecularTexture
Gets or sets the path to the specular texture.
Declaration
public string SpecularTexture { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| string |