GltfMaterial
Overview
GltfMaterial is a interface in Aspose.3D FOSS for TypeScript.
GltfMaterial.name stores the material’s identifier used in the glTF asset.
Properties: alphaCutoff, alphaMode, baseColorFactor, emissiveFactor, metallicFactor, name, and 2 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | : string | Read | Gets the name. |
pbrMetallicRoughness | `: { |
baseColorFactor?: number[];
metallicFactor?: number;
roughnessFactor?: number;
}` | Read | Gets the pbr metallic roughness. |
| baseColorFactor | : number[] | Read | Gets the base color factor. |
| metallicFactor | : number | Read | Gets the metallic factor. |
| roughnessFactor | : number | Read | Gets the roughness factor. |
| emissiveFactor | : number[] | Read | Gets the emissive factor. |
| alphaMode | : string | Read | Gets the alpha mode. |
| alphaCutoff | : number | Read | Gets the alpha cutoff. |