interface MaterialJSON {
    alphaHash?: boolean;
    alphaMap?: string;
    alphaTest?: number;
    alphaToCoverage?: boolean;
    anisotropy?: number;
    anisotropyMap?: string;
    anisotropyRotation?: number;
    aoMap?: string;
    aoMapIntensity?: number;
    attenuationColor?: number;
    attenuationDistance?: number;
    blendAlpha?: number;
    blendColor?: number;
    blendDst?: BlendingDstFactor;
    blendDstAlpha?: null | number;
    blendEquation?: BlendingEquation;
    blendEquationAlpha?: null | number;
    blending?: Blending;
    blendSrc?: BlendingSrcFactor;
    blendSrcAlpha?: null | number;
    bumpMap?: string;
    bumpScale?: number;
    clearcoat?: number;
    clearcoatMap?: string;
    clearcoatNormalMap?: string;
    clearcoatNormalScale?: Vector2Tuple;
    clearcoatRoughness?: number;
    clearcoatRoughnessMap?: string;
    color?: number;
    colorWrite?: boolean;
    combine?: Combine;
    dashSize?: number;
    depthFunc?: DepthModes;
    depthTest?: boolean;
    depthWrite?: boolean;
    dispersion?: number;
    displacementBias?: number;
    displacementMap?: string;
    displacementScale?: number;
    dithering?: boolean;
    emissive?: number;
    emissiveIntensity?: number;
    emissiveMap?: string;
    envMap?: string;
    envMapIntensity?: number;
    envMapRotation?: EulerTuple;
    flatShading?: boolean;
    fog?: boolean;
    forceSinglePass?: boolean;
    gapSize?: number;
    gradientMap?: string;
    images?: SourceJSON[];
    iridescence?: number;
    iridescenceIOR?: number;
    iridescenceMap?: string;
    iridescenceThicknessMap?: string;
    iridescenceThicknessRange?: number;
    lightMap?: string;
    lightMapIntensity?: number;
    linewidth?: number;
    map?: string;
    matcap?: string;
    metadata: {
        generator: string;
        type: string;
        version: number;
    };
    metalness?: number;
    metalnessMap?: string;
    name?: string;
    normalMap?: string;
    normalMapType?: NormalMapTypes;
    normalScale?: Vector2Tuple;
    opacity?: number;
    polygonOffset?: boolean;
    polygonOffsetFactor?: number;
    polygonOffsetUnits?: number;
    premultipliedAlpha?: boolean;
    reflectivity?: number;
    refractionRatio?: number;
    rotation?: number;
    roughness?: number;
    roughnessMap?: string;
    scale?: number;
    shadowSide?: number;
    sheen?: number;
    sheenColor?: number;
    sheenRoughness?: number;
    shininess?: number;
    side?: Side;
    size?: number;
    sizeAttenuation?: boolean;
    specular?: number;
    specularColor?: number;
    specularColorMap?: string;
    specularIntensity?: number;
    specularIntensityMap?: string;
    specularMap?: string;
    stencilFail?: StencilOp;
    stencilFunc?: StencilFunc;
    stencilFuncMask?: number;
    stencilRef?: number;
    stencilWrite?: boolean;
    stencilWriteMask?: number;
    stencilZFail?: StencilOp;
    stencilZPass?: StencilOp;
    textures?: Omit<TextureJSON, "metadata">[];
    thickness?: number;
    thicknessMap?: string;
    toneMapped?: boolean;
    transmission?: number;
    transmissionMap?: string;
    transparent?: boolean;
    type: string;
    userData?: Record<string, unknown>;
    uuid: string;
    vertexColors?: boolean;
    visible?: boolean;
    wireframe?: boolean;
    wireframeLinecap?: string;
    wireframeLinejoin?: string;
    wireframeLinewidth?: number;
}

Hierarchy (view full)

Properties

alphaHash? alphaMap? alphaTest? alphaToCoverage? anisotropy? anisotropyMap? anisotropyRotation? aoMap? aoMapIntensity? attenuationColor? attenuationDistance? blendAlpha? blendColor? blendDst? blendDstAlpha? blendEquation? blendEquationAlpha? blending? blendSrc? blendSrcAlpha? bumpMap? bumpScale? clearcoat? clearcoatMap? clearcoatNormalMap? clearcoatNormalScale? clearcoatRoughness? clearcoatRoughnessMap? color? colorWrite? combine? dashSize? depthFunc? depthTest? depthWrite? dispersion? displacementBias? displacementMap? displacementScale? dithering? emissive? emissiveIntensity? emissiveMap? envMap? envMapIntensity? envMapRotation? flatShading? fog? forceSinglePass? gapSize? gradientMap? images? iridescence? iridescenceIOR? iridescenceMap? iridescenceThicknessMap? iridescenceThicknessRange? lightMap? lightMapIntensity? linewidth? map? matcap? metadata metalness? metalnessMap? name? normalMap? normalMapType? normalScale? opacity? polygonOffset? polygonOffsetFactor? polygonOffsetUnits? premultipliedAlpha? reflectivity? refractionRatio? rotation? roughness? roughnessMap? scale? shadowSide? sheen? sheenColor? sheenRoughness? shininess? side? size? sizeAttenuation? specular? specularColor? specularColorMap? specularIntensity? specularIntensityMap? specularMap? stencilFail? stencilFunc? stencilFuncMask? stencilRef? stencilWrite? stencilWriteMask? stencilZFail? stencilZPass? textures? thickness? thicknessMap? toneMapped? transmission? transmissionMap? transparent? type userData? uuid vertexColors? visible? wireframe? wireframeLinecap? wireframeLinejoin? wireframeLinewidth?

Properties

alphaHash?: boolean
alphaMap?: string
alphaTest?: number
alphaToCoverage?: boolean
anisotropy?: number
anisotropyMap?: string
anisotropyRotation?: number
aoMap?: string
aoMapIntensity?: number
attenuationColor?: number
attenuationDistance?: number
blendAlpha?: number
blendColor?: number
blendDstAlpha?: null | number
blendEquation?: BlendingEquation
blendEquationAlpha?: null | number
blending?: Blending
blendSrcAlpha?: null | number
bumpMap?: string
bumpScale?: number
clearcoat?: number
clearcoatMap?: string
clearcoatNormalMap?: string
clearcoatNormalScale?: Vector2Tuple
clearcoatRoughness?: number
clearcoatRoughnessMap?: string
color?: number
colorWrite?: boolean
combine?: Combine
dashSize?: number
depthFunc?: DepthModes
depthTest?: boolean
depthWrite?: boolean
dispersion?: number
displacementBias?: number
displacementMap?: string
displacementScale?: number
dithering?: boolean
emissive?: number
emissiveIntensity?: number
emissiveMap?: string
envMap?: string
envMapIntensity?: number
envMapRotation?: EulerTuple
flatShading?: boolean
fog?: boolean
forceSinglePass?: boolean
gapSize?: number
gradientMap?: string
images?: SourceJSON[]
iridescence?: number
iridescenceIOR?: number
iridescenceMap?: string
iridescenceThicknessMap?: string
iridescenceThicknessRange?: number
lightMap?: string
lightMapIntensity?: number
linewidth?: number
map?: string
matcap?: string
metadata: {
    generator: string;
    type: string;
    version: number;
}
metalness?: number
metalnessMap?: string
name?: string
normalMap?: string
normalMapType?: NormalMapTypes
normalScale?: Vector2Tuple
opacity?: number
polygonOffset?: boolean
polygonOffsetFactor?: number
polygonOffsetUnits?: number
premultipliedAlpha?: boolean
reflectivity?: number
refractionRatio?: number
rotation?: number
roughness?: number
roughnessMap?: string
scale?: number
shadowSide?: number
sheen?: number
sheenColor?: number
sheenRoughness?: number
shininess?: number
side?: Side
size?: number
sizeAttenuation?: boolean
specular?: number
specularColor?: number
specularColorMap?: string
specularIntensity?: number
specularIntensityMap?: string
specularMap?: string
stencilFail?: StencilOp
stencilFunc?: StencilFunc
stencilFuncMask?: number
stencilRef?: number
stencilWrite?: boolean
stencilWriteMask?: number
stencilZFail?: StencilOp
stencilZPass?: StencilOp
textures?: Omit<TextureJSON, "metadata">[]
thickness?: number
thicknessMap?: string
toneMapped?: boolean
transmission?: number
transmissionMap?: string
transparent?: boolean
type: string
userData?: Record<string, unknown>
uuid: string
vertexColors?: boolean
visible?: boolean
wireframe?: boolean
wireframeLinecap?: string
wireframeLinejoin?: string
wireframeLinewidth?: number