Interface SpriteMaterialParameters

interface SpriteMaterialParameters {
    color?: ColorRepresentation;
    map?: null | Texture;
    alphaMap?: null | Texture;
    rotation?: number;
    sizeAttenuation?: boolean;
    fog?: boolean;
    alphaHash?: boolean;
    alphaTest?: number;
    alphaToCoverage?: boolean;
    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
        | 211
        | 212
        | 213
        | 214
        | 210;
    blendSrcAlpha?: number;
    clipIntersection?: boolean;
    clippingPlanes?: Plane[];
    clipShadows?: boolean;
    colorWrite?: boolean;
    defines?: any;
    depthFunc?: DepthModes;
    depthTest?: boolean;
    depthWrite?: boolean;
    name?: string;
    opacity?: number;
    polygonOffset?: boolean;
    polygonOffsetFactor?: number;
    polygonOffsetUnits?: number;
    precision?:
        | null
        | "highp"
        | "mediump"
        | "lowp";
    premultipliedAlpha?: boolean;
    forceSinglePass?: boolean;
    dithering?: boolean;
    side?: Side;
    shadowSide?: Side;
    toneMapped?: boolean;
    transparent?: boolean;
    vertexColors?: boolean;
    visible?: boolean;
    format?: PixelFormat;
    stencilWrite?: boolean;
    stencilFunc?: StencilFunc;
    stencilRef?: number;
    stencilWriteMask?: number;
    stencilFuncMask?: number;
    stencilFail?: StencilOp;
    stencilZFail?: StencilOp;
    stencilZPass?: StencilOp;
    userData?: Record<string, any>;
}

Hierarchy (view full)

Properties

map?: null | Texture
alphaMap?: null | Texture
rotation?: number
sizeAttenuation?: boolean
fog?: boolean
alphaHash?: boolean
alphaTest?: number
alphaToCoverage?: boolean
blendAlpha?: number
blendColor?: ColorRepresentation
blendDstAlpha?: number
blendEquation?: BlendingEquation
blendEquationAlpha?: number
blending?: Blending
blendSrc?:
    | 200
    | 201
    | 202
    | 203
    | 204
    | 205
    | 206
    | 207
    | 208
    | 209
    | 211
    | 212
    | 213
    | 214
    | 210
blendSrcAlpha?: number
clipIntersection?: boolean
clippingPlanes?: Plane[]
clipShadows?: boolean
colorWrite?: boolean
defines?: any
depthFunc?: DepthModes
depthTest?: boolean
depthWrite?: boolean
name?: string
opacity?: number
polygonOffset?: boolean
polygonOffsetFactor?: number
polygonOffsetUnits?: number
precision?:
    | null
    | "highp"
    | "mediump"
    | "lowp"
premultipliedAlpha?: boolean
forceSinglePass?: boolean
dithering?: boolean
side?: Side
shadowSide?: Side
toneMapped?: boolean
transparent?: boolean
vertexColors?: boolean
visible?: boolean
format?: PixelFormat
stencilWrite?: boolean
stencilFunc?: StencilFunc
stencilRef?: number
stencilWriteMask?: number
stencilFuncMask?: number
stencilFail?: StencilOp
stencilZFail?: StencilOp
stencilZPass?: StencilOp
userData?: Record<string, any>