Type Alias: MaterialResource
MaterialResource =
object
Represents a material resource that can be additively applied to a material targeted in the scene.
Properties
albedoMap?
optionalalbedoMap?:Asset
Defines the base color of a surface before any other calculations are made.
alphaMap?
optionalalphaMap?:Asset
Defines the transparency of a surface.
ambientMap?
optionalambientMap?:Asset
Defines shadowing on a surface.
clearCoat
clearCoat:
MaterialEffectMode
When enabled the material will be displayed with a clearcoat affect for simulating coated plastic surfaces.
clearCoatIOR?
optionalclearCoatIOR?:number
Index of refraction when clear coat is enabled.
createdAt
createdAt:
string
The date that this material resource was created
emissionMap?
optionalemissionMap?:Asset
Defines the amount of light being emitted from a surface.
id
id:
string
A unique identified for this material.
metallicMap?
optionalmetallicMap?:Asset
Identical to roughness.
name
name:
string
The name of this material
normalMap?
optionalnormalMap?:Asset
Defines the direction light will bounce in when it hits a point on a surface.
reflectionIntensity?
optionalreflectionIntensity?:number
The intensity of reflection, when reflection is enabled via a texture.
reflectionMap?
optionalreflectionMap?:Asset
Used to define reflection of light on a surface.
reflectionRotation?
optionalreflectionRotation?:number
The rotation of the reflection texture (along the up axis), in degrees.
refractionIntensity?
optionalrefractionIntensity?:number
The intensity of refraction, when refraction is enabled via a texture.
refractionMap?
optionalrefractionMap?:Asset
Used to define refraction of light on a surface.
roughnessMap?
optionalroughnessMap?:Asset
Used to define how smooth a surface is.
updatedAt
updatedAt:
string
The date that this material resource was last updated.