Interface MeshPhysicalTransitionMaterialParameters

MeshPhysicalTransitionMaterial parameters

MeshPhysicalTransitionMaterialParameters

2024.7.18

yisky

interface MeshPhysicalTransitionMaterialParameters {
    alphaHash?: boolean;
    alphaMap?: Texture;
    alphaTest?: number;
    alphaToCoverage?: boolean;
    anisotropy?: number;
    anisotropyMap?: Texture;
    anisotropyRotation?: number;
    aoMap?: Texture;
    aoMapIntensity?: number;
    attenuationColor?: ColorRepresentation;
    attenuationDistance?: number;
    blendAlpha?: number;
    blendColor?: ColorRepresentation;
    blendDst?: BlendingDstFactor;
    blendDstAlpha?: number;
    blendEquation?: BlendingEquation;
    blendEquationAlpha?: number;
    blending?: Blending;
    blendSrc?:
        | 200
        | 201
        | 202
        | 203
        | 204
        | 205
        | 206
        | 207
        | 208
        | 209
        | 210
        | 211
        | 212
        | 213
        | 214;
    blendSrcAlpha?: number;
    bumpMap?: Texture;
    bumpScale?: number;
    clearcoat?: number;
    clearcoatMap?: Texture;
    clearcoatNormalMap?: Texture;
    clearcoatNormalScale?: Vector2;
    clearcoatRoughness?: number;
    clearcoatRoughnessMap?: Texture;
    clipIntersection?: boolean;
    clippingPlanes?: Plane[];
    clipShadows?: boolean;
    color?: ColorRepresentation;
    colorWrite?: boolean;
    defines?: any;
    depthFunc?: DepthModes;
    depthTest?: boolean;
    depthWrite?: boolean;
    dispersion?: number;
    displacementBias?: number;
    displacementMap?: Texture;
    displacementScale?: number;
    dithering?: boolean;
    duration?: number;
    emissive?: ColorRepresentation;
    emissiveIntensity?: number;
    emissiveMap?: Texture;
    envMap?: Texture;
    envMapIntensity?: number;
    envMapRotation?: Euler;
    flatShading?: boolean;
    fog?: boolean;
    forceSinglePass?: boolean;
    format?: PixelFormat;
    ior?: number;
    iridescence?: number;
    iridescenceIOR?: number;
    iridescenceMap?: Texture;
    iridescenceThicknessMap?: Texture;
    iridescenceThicknessRange?: [number, number];
    lightMap?: Texture;
    lightMapIntensity?: number;
    map?: Texture;
    metalness?: number;
    metalnessMap?: Texture;
    name?: string;
    normalMap?: Texture;
    normalMapType?: NormalMapTypes;
    normalScale?: Vector2;
    opacity?: number;
    polygonOffset?: boolean;
    polygonOffsetFactor?: number;
    polygonOffsetUnits?: number;
    precision?: "highp" | "mediump" | "lowp";
    premultipliedAlpha?: boolean;
    reflectivity?: number;
    roughness?: number;
    roughnessMap?: Texture;
    scale?: Vector3;
    shadowSide?: Side;
    sheen?: number;
    sheenColor?: ColorRepresentation;
    sheenColorMap?: Texture;
    sheenRoughness?: number;
    sheenRoughnessMap?: Texture;
    side?: Side;
    specularColor?: ColorRepresentation;
    specularColorMap?: Texture;
    specularIntensity?: number;
    specularIntensityMap?: Texture;
    spreadCenter?: Vector3;
    spreadRadius?: number;
    stencilFail?: StencilOp;
    stencilFunc?: StencilFunc;
    stencilFuncMask?: number;
    stencilRef?: number;
    stencilWrite?: boolean;
    stencilWriteMask?: number;
    stencilZFail?: StencilOp;
    stencilZPass?: StencilOp;
    thickness?: number;
    thicknessMap?: Texture;
    toneMapped?: boolean;
    transmission?: number;
    transmissionMap?: Texture;
    transparent?: boolean;
    userData?: Record<string, any>;
    vertexColors?: boolean;
    visible?: boolean;
    width?: number;
    wireframe?: boolean;
    wireframeLinewidth?: number;
}

Hierarchy

  • MeshPhysicalMaterialParameters
    • MeshPhysicalTransitionMaterialParameters

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? clipIntersection? clippingPlanes? clipShadows? color? colorWrite? defines? depthFunc? depthTest? depthWrite? dispersion? displacementBias? displacementMap? displacementScale? dithering? duration? emissive? emissiveIntensity? emissiveMap? envMap? envMapIntensity? envMapRotation? flatShading? fog? forceSinglePass? format? ior? iridescence? iridescenceIOR? iridescenceMap? iridescenceThicknessMap? iridescenceThicknessRange? lightMap? lightMapIntensity? map? metalness? metalnessMap? name? normalMap? normalMapType? normalScale? opacity? polygonOffset? polygonOffsetFactor? polygonOffsetUnits? precision? premultipliedAlpha? reflectivity? roughness? roughnessMap? scale? shadowSide? sheen? sheenColor? sheenColorMap? sheenRoughness? sheenRoughnessMap? side? specularColor? specularColorMap? specularIntensity? specularIntensityMap? spreadCenter? spreadRadius? stencilFail? stencilFunc? stencilFuncMask? stencilRef? stencilWrite? stencilWriteMask? stencilZFail? stencilZPass? thickness? thicknessMap? toneMapped? transmission? transmissionMap? transparent? userData? vertexColors? visible? width? wireframe? wireframeLinewidth?

Properties

alphaHash?: boolean
alphaMap?: Texture
alphaTest?: number
alphaToCoverage?: boolean
anisotropy?: number
anisotropyMap?: Texture
anisotropyRotation?: number
aoMap?: Texture
aoMapIntensity?: number
attenuationColor?: ColorRepresentation
attenuationDistance?: number
blendAlpha?: number
blendColor?: ColorRepresentation
blendDst?: BlendingDstFactor
blendDstAlpha?: number
blendEquation?: BlendingEquation
blendEquationAlpha?: number
blending?: Blending
blendSrc?:
    | 200
    | 201
    | 202
    | 203
    | 204
    | 205
    | 206
    | 207
    | 208
    | 209
    | 210
    | 211
    | 212
    | 213
    | 214
blendSrcAlpha?: number
bumpMap?: Texture
bumpScale?: number
clearcoat?: number
clearcoatMap?: Texture
clearcoatNormalMap?: Texture
clearcoatNormalScale?: Vector2
clearcoatRoughness?: number
clearcoatRoughnessMap?: Texture
clipIntersection?: boolean
clippingPlanes?: Plane[]
clipShadows?: boolean
color?: ColorRepresentation
colorWrite?: boolean
defines?: any
depthFunc?: DepthModes
depthTest?: boolean
depthWrite?: boolean
dispersion?: number
displacementBias?: number
displacementMap?: Texture
displacementScale?: number
dithering?: boolean
duration?: number

The duration of transition in seconds, 1.0.

MeshPhysicalTransitionMaterialParameters

emissive?: ColorRepresentation
emissiveIntensity?: number
emissiveMap?: Texture
envMap?: Texture
envMapIntensity?: number
envMapRotation?: Euler
flatShading?: boolean
fog?: boolean
forceSinglePass?: boolean
format?: PixelFormat
ior?: number
iridescence?: number
iridescenceIOR?: number
iridescenceMap?: Texture
iridescenceThicknessMap?: Texture
iridescenceThicknessRange?: [number, number]
lightMap?: Texture
lightMapIntensity?: number
map?: Texture
metalness?: number
metalnessMap?: Texture
name?: string
normalMap?: Texture
normalMapType?: NormalMapTypes
normalScale?: Vector2
opacity?: number
polygonOffset?: boolean
polygonOffsetFactor?: number
polygonOffsetUnits?: number
precision?: "highp" | "mediump" | "lowp"
premultipliedAlpha?: boolean
reflectivity?: number
roughness?: number
roughnessMap?: Texture
scale?: Vector3

The scale of transition, ( 1.0, 1.0, 1.0 ).

MeshPhysicalTransitionMaterialParameters

shadowSide?: Side
sheen?: number
sheenColor?: ColorRepresentation
sheenColorMap?: Texture
sheenRoughness?: number
sheenRoughnessMap?: Texture
side?: Side
specularColor?: ColorRepresentation
specularColorMap?: Texture
specularIntensity?: number
specularIntensityMap?: Texture
spreadCenter?: Vector3

Transition spread center, in world space.

MeshPhysicalTransitionMaterialParameters

spreadRadius?: number

Transition spread radius.

MeshPhysicalTransitionMaterialParameters

stencilFail?: StencilOp
stencilFunc?: StencilFunc
stencilFuncMask?: number
stencilRef?: number
stencilWrite?: boolean
stencilWriteMask?: number
stencilZFail?: StencilOp
stencilZPass?: StencilOp
thickness?: number
thicknessMap?: Texture
toneMapped?: boolean
transmission?: number
transmissionMap?: Texture
transparent?: boolean
userData?: Record<string, any>
vertexColors?: boolean
visible?: boolean
width?: number

The width of transition, [ 0.0 ~ 1.0 ], 0.8.

MeshPhysicalTransitionMaterialParameters

wireframe?: boolean
wireframeLinewidth?: number