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.
Description
GltfMaterial is an interface in Aspose.3D FOSS for TypeScript that defines a contract with 0 methods. Classes that implement this interface must provide concrete implementations for all declared operations.
Core capabilities include: : string; `: {
basecolorfactor?: number[];
metallicfactor?: number;
roughnessfactor?: number;
}`; `: number[]`. These operations enable developers to integrate gltfmaterial functionality directly into TypeScript applications.
The class also provides the name property (gets the name), the pbrMetallicRoughness property (gets the pbr metallic roughness), the baseColorFactor property (gets the base color factor).
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. |