interface MeshPhongMaterialParameters {
    alphaHash?: boolean;
    alphaMap?: null | Texture;
    alphaTest?: number;
    alphaToCoverage?: boolean;
    aoMap?: null | Texture;
    aoMapIntensity?: number;
    blendAlpha?: number;
    blendColor?: ColorRepresentation;
    blendDst?: BlendingDstFactor;
    blendDstAlpha?: number;
    blendEquation?: BlendingEquation;
    blendEquationAlpha?: number;
    blendSrc?: 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 211 | 212 | 213 | 214 | 210;
    blendSrcAlpha?: number;
    blending?: Blending;
    bumpMap?: null | Texture;
    bumpScale?: number;
    clipIntersection?: boolean;
    clipShadows?: boolean;
    clippingPlanes?: Plane[];
    color?: ColorRepresentation;
    colorWrite?: boolean;
    combine?: Combine;
    defines?: any;
    depthFunc?: DepthModes;
    depthTest?: boolean;
    depthWrite?: boolean;
    displacementBias?: number;
    displacementMap?: null | Texture;
    displacementScale?: number;
    dithering?: boolean;
    emissive?: ColorRepresentation;
    emissiveIntensity?: number;
    emissiveMap?: null | Texture;
    envMap?: null | Texture;
    flatShading?: boolean;
    fog?: boolean;
    forceSinglePass?: boolean;
    format?: PixelFormat;
    lightMap?: null | Texture;
    lightMapIntensity?: number;
    map?: null | Texture;
    name?: string;
    normalMap?: null | Texture;
    normalMapType?: NormalMapTypes;
    normalScale?: Vector2;
    opacity?: number;
    polygonOffset?: boolean;
    polygonOffsetFactor?: number;
    polygonOffsetUnits?: number;
    precision?: null | "highp" | "mediump" | "lowp";
    premultipliedAlpha?: boolean;
    reflectivity?: number;
    refractionRatio?: number;
    shadowSide?: Side;
    shininess?: number;
    side?: Side;
    specular?: ColorRepresentation;
    specularMap?: null | Texture;
    stencilFail?: StencilOp;
    stencilFunc?: StencilFunc;
    stencilFuncMask?: number;
    stencilRef?: number;
    stencilWrite?: boolean;
    stencilWriteMask?: number;
    stencilZFail?: StencilOp;
    stencilZPass?: StencilOp;
    toneMapped?: boolean;
    transparent?: boolean;
    userData?: Record<string, any>;
    vertexColors?: boolean;
    visible?: boolean;
    wireframe?: boolean;
    wireframeLinecap?: string;
    wireframeLinejoin?: string;
    wireframeLinewidth?: number;
}

Hierarchy (view full)

Properties

alphaHash?: boolean
alphaMap?: null | Texture
alphaTest?: number
alphaToCoverage?: boolean
aoMap?: null | Texture
aoMapIntensity?: number
blendAlpha?: number
blendColor?: ColorRepresentation
blendDstAlpha?: number
blendEquation?: BlendingEquation
blendEquationAlpha?: number
blendSrc?: 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 211 | 212 | 213 | 214 | 210
blendSrcAlpha?: number
blending?: Blending
bumpMap?: null | Texture
bumpScale?: number
clipIntersection?: boolean
clipShadows?: boolean
clippingPlanes?: Plane[]

geometry color in hexadecimal. Default is 0xffffff.

colorWrite?: boolean
combine?: Combine
defines?: any
depthFunc?: DepthModes
depthTest?: boolean
depthWrite?: boolean
displacementBias?: number
displacementMap?: null | Texture
displacementScale?: number
dithering?: boolean
emissiveIntensity?: number
emissiveMap?: null | Texture
envMap?: null | Texture
flatShading?: boolean
fog?: boolean
forceSinglePass?: boolean
format?: PixelFormat
lightMap?: null | Texture
lightMapIntensity?: number
map?: null | Texture
name?: string
normalMap?: null | Texture
normalMapType?: NormalMapTypes
normalScale?: Vector2
opacity?: number
polygonOffset?: boolean
polygonOffsetFactor?: number
polygonOffsetUnits?: number
precision?: null | "highp" | "mediump" | "lowp"
premultipliedAlpha?: boolean
reflectivity?: number
refractionRatio?: number
shadowSide?: Side
shininess?: number
side?: Side
specularMap?: null | Texture
stencilFail?: StencilOp
stencilFunc?: StencilFunc
stencilFuncMask?: number
stencilRef?: number
stencilWrite?: boolean
stencilWriteMask?: number
stencilZFail?: StencilOp
stencilZPass?: StencilOp
toneMapped?: boolean
transparent?: boolean
userData?: Record<string, any>
vertexColors?: boolean
visible?: boolean
wireframe?: boolean
wireframeLinecap?: string
wireframeLinejoin?: string
wireframeLinewidth?: number