glTFMaterial : material
glTFMaterial - superclass: material; super-superclass:MAXWrapper - 44:0 - classID: #(943849874L, 1174294043L)
This material provides an accurate representation of what assets will look like when exported using the glTF exporter.
Properties
glTF 2.0 Material Properties
<glTFMaterial>.baseColor Color default: (color 255 255 255) -- animatable; color; Base_Color; Controller Scaling: ([1,1,1,1] : (color 255 255 255)); WeirdScaled ([1,1,1,1])
The material base color.
<glTFMaterial>.baseColorMap UndefinedClass default: undefined -- texturemap; Base_Color_Map
The material base color map.
<glTFMaterial>.AlphaMap UndefinedClass default: undefined -- texturemap; Alpha_Map
The material alpha map.
<glTFMaterial>.alphaMode Integer default: 1 -- animatable; integer; Alpha
The alpha mode, where:
- 1 = Opaque
- 2 = Mask
- 3 = Blend
<glTFMaterial>.metalness Float default: 0.0 -- animatable; float
The metalness value.
<glTFMaterial>.metalnessMap UndefinedClass default: undefined -- texturemap; Metalness_Map
The material metalness map.
<glTFMaterial>.roughness Float default: 0.5 -- animatable; float
The roughness value.
<glTFMaterial>.roughnessMap UndefinedClass default: undefined -- texturemap; Roughness_Map
The roughness map.
<glTFMaterial>.normal Float default: 1.0 -- animatable; float
The normal value.
<glTFMaterial>.normalMap UndefinedClass default: undefined -- texturemap; Normal_Map
The normal map.
<glTFMaterial>.ambientOcclusion Float default: 1.0 -- animatable; float; Occlusion__AO
The Occlusion (AO) value.
<glTFMaterial>.ambientOcclusionMap UndefinedClass default: undefined -- texturemap; Occlusion__AO__Map
The Occlusion map.
<glTFMaterial>.emissionColor Color default: (color 0 0 0) -- animatable; color; Emission; Controller Scaling: ([1,1,1,1] : (color 255 255 255)); WeirdScaled ([1,1,1,1])
The material emission color.
<glTFMaterial>.emissionMap UndefinedClass default: undefined -- texturemap; Emission_Map
The material emission map.
<glTFMaterial>.DoubleSided BooleanClass default: false -- animatable; boolean; Double_Sided
Specifies whether the material is double-sided.
glTF Extensions Properties
The following properties are supported by various glTF 2.0 extensions.
<glTFMaterial>.unlit BooleanClass default: false -- animatable; boolean
Specifies whether the material is unlit.
<glTFMaterial>.enableClearCoat BooleanClass default: false -- animatable; boolean; Enable_Clearcoat
Specifies whether to enable the clearcoat extension.
<glTFMaterial>.clearcoat Float default: 1.0 -- animatable; float
The clearcoat value.
<glTFMaterial>.clearcoatMap UndefinedClass default: undefined -- texturemap; Clearcoat_Map
The clearcoat map.
<glTFMaterial>.clearcoatNormal Float default: 1.0 -- animatable; float; Clearcoat_Normal
The clearcoat normal value.
<glTFMaterial>.clearcoatNormalMap UndefinedClass default: undefined -- texturemap; Clearcoat_Normal_Map
The clearcoat normal map.
<glTFMaterial>.clearcoatRoughness Float default: 0.0 -- animatable; float; Clearcoat_Roughness
The clearcoat roughness value.
<glTFMaterial>.clearcoatRoughnessMap UndefinedClass default: undefined -- texturemap; Clearcoat_Roughness_Map
The clearcoat roughness map.
<glTFMaterial>.enableSheen BooleanClass default: false -- animatable; boolean; Enable_Sheen
Specifies whether to enable the Sheen extension.
<glTFMaterial>.sheenColor Color default: (color 255 255 255) -- animatable; color; Sheen_Color; Controller Scaling: ([1,1,1,1] : (color 255 255 255)); WeirdScaled ([1,1,1,1])
The sheen color value.
<glTFMaterial>.sheenColorMap UndefinedClass default: undefined -- texturemap; Sheen_Color_Map
The sheen color map.
<glTFMaterial>.sheenRoughness Float default: 0.0 -- animatable; float; Sheen_Roughness
The sheen roughness value.
<glTFMaterial>.sheenRoughnessMap UndefinedClass default: undefined -- texturemap; Sheen_Roughness_Map
The sheen roughness map.
<glTFMaterial>.enableSpecular BooleanClass default: false -- animatable; boolean; Enable_Specular
Specifies whether to enable the specular extension.
<glTFMaterial>.specular Float default: 1.0 -- animatable; float
The specular value.
<glTFMaterial>.specularcolor Color default: (color 255 255 255) -- animatable; color; Specular_Color; Controller Scaling: ([1,1,1,1] : (color 255 255 255)); WeirdScaled ([1,1,1,1])
The specular color.
<glTFMaterial>.specularColorMap UndefinedClass default: undefined -- texturemap; Specular_Color_Map
The specular color map.
<glTFMaterial>.specularMap UndefinedClass default: undefined -- texturemap; Specular_Map
The specular map.
<glTFMaterial>.enableTransmission BooleanClass default: false -- animatable; boolean; Enable_Transmission
Specifies whether to enable the Transmission extension.
<glTFMaterial>.transmission Float default: 1.0 -- animatable; float
The transmission value.
<glTFMaterial>.transmissionMap UndefinedClass default: undefined -- texturemap; Transmission_Map
The transmission map.
<glTFMaterial>.enableVolume BooleanClass default: false -- animatable; boolean; Enable_Volume
Specifies whether to enable Transmission Volume.
<glTFMaterial>.volumeColor Color default: (color 255 255 255) -- animatable; color; Volume_Color; Controller Scaling: ([1,1,1,1] : (color 255 255 255)); WeirdScaled ([1,1,1,1])
The volume color.
<glTFMaterial>.volumeDistance Float default: 0.0 -- animatable; float; Volume_Distance
The volume distance value.
<glTFMaterial>.volumeThickness Float default: 0.0 -- animatable; float; Volume_Thickness
The volume thickness value.
<glTFMaterial>.volumeThicknessMap UndefinedClass default: undefined -- texturemap; Volume_Thickness_Map
The volume thickness map.
<glTFMaterial>.enableIndexOfRefraction BooleanClass default: false -- animatable; boolean; Enable_IOR
Specifies whether to enable the IOR extension.
<glTFMaterial>.indexOfRefraction Float default: 1.5 -- animatable; float; IOR
The IOR value.