Interface MeshStandardTransitionMaterialParameters

MeshStandardTransitionMaterial parameters

MeshStandardTransitionMaterialParameters

2024.7.18

yisky

interface MeshStandardTransitionMaterialParameters {
    alphaHash?: boolean;
    alphaMap?: Texture;
    alphaTest?: number;
    alphaToCoverage?: boolean;
    aoMap?: Texture;
    aoMapIntensity?: 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;
    clipIntersection?: boolean;
    clippingPlanes?: Plane[];
    clipShadows?: boolean;
    color?: ColorRepresentation;
    colorWrite?: boolean;
    defines?: any;
    depthFunc?: DepthModes;
    depthTest?: boolean;
    depthWrite?: boolean;
    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;
    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;
    roughness?: number;
    roughnessMap?: Texture;
    scale?: Vector3;
    shadowSide?: Side;
    side?: Side;
    spreadCenter?: Vector3;
    spreadRadius?: number;
    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;
    width?: number;
    wireframe?: boolean;
    wireframeLinewidth?: number;
}

Hierarchy

  • MeshStandardMaterialParameters
    • MeshStandardTransitionMaterialParameters

Properties

alphaHash?: boolean
alphaMap?: Texture
alphaTest?: number
alphaToCoverage?: boolean
aoMap?: Texture
aoMapIntensity?: 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
clipIntersection?: boolean
clippingPlanes?: Plane[]
clipShadows?: boolean
color?: ColorRepresentation
colorWrite?: boolean
defines?: any
depthFunc?: DepthModes
depthTest?: boolean
depthWrite?: boolean
displacementBias?: number
displacementMap?: Texture
displacementScale?: number
dithering?: boolean
duration?: number

The duration of transition in seconds, 1.0.

MeshStandardTransitionMaterialParameters

emissive?: ColorRepresentation
emissiveIntensity?: number
emissiveMap?: Texture
envMap?: Texture
envMapIntensity?: number
envMapRotation?: Euler
flatShading?: boolean
fog?: boolean
forceSinglePass?: boolean
format?: PixelFormat
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
roughness?: number
roughnessMap?: Texture
scale?: Vector3

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

MeshStandardTransitionMaterialParameters

shadowSide?: Side
side?: Side
spreadCenter?: Vector3

Transition spread center, in world space.

MeshStandardTransitionMaterialParameters

spreadRadius?: number

Transition spread radius.

MeshStandardTransitionMaterialParameters

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
width?: number

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

MeshStandardTransitionMaterialParameters

wireframe?: boolean
wireframeLinewidth?: number