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_MapThe material base color map.
<glTFMaterial>.AlphaMap UndefinedClass default: undefined -- texturemap; Alpha_MapThe material alpha map.
<glTFMaterial>.alphaMode Integer default: 1 -- animatable; integer; AlphaThe alpha mode, where:
- 1 = Opaque
- 2 = Mask
- 3 = Blend
<glTFMaterial>.metalness Float default: 0.0 -- animatable; floatThe metalness value.
<glTFMaterial>.metalnessMap UndefinedClass default: undefined -- texturemap; Metalness_MapThe material metalness map.
<glTFMaterial>.roughness Float default: 0.5 -- animatable; floatThe roughness value.
<glTFMaterial>.roughnessMap UndefinedClass default: undefined -- texturemap; Roughness_MapThe roughness map.
<glTFMaterial>.normal Float default: 1.0 -- animatable; floatThe normal value.
<glTFMaterial>.normalMap UndefinedClass default: undefined -- texturemap; Normal_MapThe normal map.
<glTFMaterial>.ambientOcclusion Float default: 1.0 -- animatable; float; Occlusion__AOThe Occlusion (AO) value.
<glTFMaterial>.ambientOcclusionMap UndefinedClass default: undefined -- texturemap; Occlusion__AO__MapThe 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_MapThe material emission map.
<glTFMaterial>.DoubleSided BooleanClass default: false -- animatable; boolean; Double_SidedSpecifies 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; booleanSpecifies whether the material is unlit.
<glTFMaterial>.enableClearCoat BooleanClass default: false -- animatable; boolean; Enable_ClearcoatSpecifies whether to enable the clearcoat extension.
<glTFMaterial>.clearcoat Float default: 1.0 -- animatable; floatThe clearcoat value.
<glTFMaterial>.clearcoatMap UndefinedClass default: undefined -- texturemap; Clearcoat_MapThe clearcoat map.
<glTFMaterial>.clearcoatNormal Float default: 1.0 -- animatable; float; Clearcoat_NormalThe clearcoat normal value.
<glTFMaterial>.clearcoatNormalMap UndefinedClass default: undefined -- texturemap; Clearcoat_Normal_MapThe clearcoat normal map.
<glTFMaterial>.clearcoatRoughness Float default: 0.0 -- animatable; float; Clearcoat_RoughnessThe clearcoat roughness value.
<glTFMaterial>.clearcoatRoughnessMap UndefinedClass default: undefined -- texturemap; Clearcoat_Roughness_MapThe clearcoat roughness map.
<glTFMaterial>.enableSheen BooleanClass default: false -- animatable; boolean; Enable_SheenSpecifies 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_MapThe sheen color map.
<glTFMaterial>.sheenRoughness Float default: 0.0 -- animatable; float; Sheen_RoughnessThe sheen roughness value.
<glTFMaterial>.sheenRoughnessMap UndefinedClass default: undefined -- texturemap; Sheen_Roughness_MapThe sheen roughness map.
<glTFMaterial>.enableSpecular BooleanClass default: false -- animatable; boolean; Enable_SpecularSpecifies whether to enable the specular extension.
<glTFMaterial>.specular Float default: 1.0 -- animatable; floatThe 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_MapThe specular color map.
<glTFMaterial>.specularMap UndefinedClass default: undefined -- texturemap; Specular_MapThe specular map.
<glTFMaterial>.enableTransmission BooleanClass default: false -- animatable; boolean; Enable_TransmissionSpecifies whether to enable the Transmission extension.
<glTFMaterial>.transmission Float default: 1.0 -- animatable; floatThe transmission value.
<glTFMaterial>.transmissionMap UndefinedClass default: undefined -- texturemap; Transmission_MapThe transmission map.
<glTFMaterial>.enableVolume BooleanClass default: false -- animatable; boolean; Enable_VolumeSpecifies 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_DistanceThe volume distance value.
<glTFMaterial>.volumeThickness Float default: 0.0 -- animatable; float; Volume_ThicknessThe volume thickness value.
<glTFMaterial>.volumeThicknessMap UndefinedClass default: undefined -- texturemap; Volume_Thickness_MapThe volume thickness map.
<glTFMaterial>.enableIndexOfRefraction BooleanClass default: false -- animatable; boolean; Enable_IORSpecifies whether to enable the IOR extension.
<glTFMaterial>.indexOfRefraction Float default: 1.5 -- animatable; float; IORThe IOR value.
