Viewer
    Preparing search index...

    Interface IMaterialStandardData

    interface IMaterialStandardData {
        alphaCutoff: number;
        alphaMode: MATERIAL_ALPHA;
        aoMapIntensity: number;
        attenuationColor: Color;
        attenuationDistance: number;
        bumpScale: number;
        clearcoat: number;
        clearcoatRoughness: number;
        color: Color;
        convertedObject: { [key: string]: unknown };
        displacementBias: number;
        displacementScale: number;
        emissiveness: Color;
        id: string;
        ior: number;
        materialOutput: boolean;
        metalness: number;
        normalScale: number;
        opacity: number;
        parentsUpdateVersions: { [key: string]: () => void };
        roughness: number;
        shading: MATERIAL_SHADING;
        sheen: number;
        sheenColor: Color;
        sheenRoughness: number;
        side: MATERIAL_SIDE;
        specularColor: Color;
        specularIntensity: number;
        thickness: number;
        transmission: number;
        updateCallback: ((newVersion: string, oldVersion: string) => void) | null;
        updateCallbackConvertedObject:
            | ((newObj: unknown, oldObj: unknown, viewport: string) => void)
            | null;
        version: string;
        clone(): IMaterialStandardData;
        copy(source: IMaterialStandardData): void;
        reset(): void;
        updateVersion(): void;
        alphaMap?: IMapData;
        aoMap?: IMapData;
        bumpMap?: IMapData;
        clearcoatMap?: IMapData;
        clearcoatNormalMap?: IMapData;
        clearcoatRoughnessMap?: IMapData;
        depthTest?: boolean;
        depthWrite?: boolean;
        displacementMap?: IMapData;
        emissiveMap?: IMapData;
        envMap?: string | string[];
        map?: IMapData;
        metalnessMap?: IMapData;
        metalnessRoughnessMap?: IMapData;
        name?: string;
        normalMap?: IMapData;
        roughnessMap?: IMapData;
        sheenColorMap?: IMapData;
        sheenRoughnessMap?: IMapData;
        specularColorMap?: IMapData;
        specularIntensityMap?: IMapData;
        thicknessMap?: IMapData;
        transmissionMap?: IMapData;
        transparent?: boolean;
        type?: MATERIAL_TYPE;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    alphaCutoff: number
    alphaMode: MATERIAL_ALPHA
    aoMapIntensity: number
    attenuationColor: Color
    attenuationDistance: number
    bumpScale: number
    clearcoat: number
    clearcoatRoughness: number
    color: Color
    convertedObject: { [key: string]: unknown }

    The converted object of the tree node.

    displacementBias: number
    displacementScale: number
    emissiveness: Color
    id: string

    The ID of the tree node data.

    ior: number
    materialOutput: boolean
    metalness: number
    normalScale: number
    opacity: number
    parentsUpdateVersions: { [key: string]: () => void }

    The updateVersion functions of all parents of the tree node data.

    roughness: number
    sheen: number
    sheenColor: Color
    sheenRoughness: number
    specularColor: Color
    specularIntensity: number
    thickness: number
    transmission: number
    updateCallback: ((newVersion: string, oldVersion: string) => void) | null

    The update callback for the tree node data. This callback is called when the node is updated, e.g. when the version changes.

    updateCallbackConvertedObject:
        | ((newObj: unknown, oldObj: unknown, viewport: string) => void)
        | null

    The update callback for the converted object of the tree node.

    version: string

    The version of the tree node data. If the version changes, the node data will be marked for an update. A version change can be triggered via updateVersion.

    alphaMap?: IMapData
    aoMap?: IMapData
    bumpMap?: IMapData
    clearcoatMap?: IMapData
    clearcoatNormalMap?: IMapData
    clearcoatRoughnessMap?: IMapData
    depthTest?: boolean
    depthWrite?: boolean
    displacementMap?: IMapData
    emissiveMap?: IMapData
    envMap?: string | string[]
    map?: IMapData
    metalnessMap?: IMapData
    metalnessRoughnessMap?: IMapData
    name?: string
    normalMap?: IMapData
    roughnessMap?: IMapData
    sheenColorMap?: IMapData
    sheenRoughnessMap?: IMapData
    specularColorMap?: IMapData
    specularIntensityMap?: IMapData
    thicknessMap?: IMapData
    transmissionMap?: IMapData
    transparent?: boolean

    Methods