UNPKG

@gltf-transform/extensions

Version:

Adds extension support to @gltf-transform/core

13 lines (12 loc) 484 B
import { ExtensionProperty, PropertyType } from '@gltf-transform/core'; import { KHR_MATERIALS_UNLIT } from '../constants.js'; /** * Converts a PBR {@link Material} to an unlit shading model. See {@link KHRMaterialsUnlit}. */ export declare class Unlit extends ExtensionProperty { static EXTENSION_NAME: typeof KHR_MATERIALS_UNLIT; extensionName: typeof KHR_MATERIALS_UNLIT; propertyType: 'Unlit'; parentTypes: [PropertyType.MATERIAL]; protected init(): void; }