Last updated

API / geotoolkit3d / scene / ColorMapShaderMaterial / ColorMapShaderMaterial

Namespace: ColorMapShaderMaterial

scene.ColorMapShaderMaterial.ColorMapShaderMaterial

Table of contents

Namespaces
Type Aliases

Contents

Type Aliases

CommonOptions

Ƭ CommonOptions: Object

Type declaration

NameTypeDescription
alphaTestnumberSets the alpha value to be used when running an alpha test. Default is 0.
blendDstBlendingDstFactorBlending destination. Default is OneMinusSrcAlphaFactor.
blendEquationBlendingEquationBlending equation to use when applying blending. Default is AddEquation.
blendSrcBlendingSrcFactor | BlendingDstFactorBlending source. It's one of the blending mode constants defined in Three.js. Default is SrcAlphaFactor.
blendingBlendingWhich blending to use when displaying objects with this material. Default is NormalBlending.
clipintersectionbooleanDefine clip intersection. Default is false. see https://threejs.org/docs/#api/en/materials/Material.clipIntersection.
clippingbooleanDefines whether this material supports clipping. Default is true.
clippingplanesPlane[]Defines the clipping planes see https://threejs.org/docs/#api/en/materials/Material.clippingPlanes
colorWritebooleanWhether to render the material's color. This can be used in conjunction with a mesh's .renderOrder property to create invisible objects that occlude other objects. Default is true.
depthFuncDepthModesWhich depth function to use. Default is LessEqualDepth. See the depth mode constants for all possible values. Default is LessEqualDepth.
depthTestbooleanWhether to have depth test enabled when rendering this material. Default is true.
depthWritebooleanWhether rendering this material has any effect on the depth buffer. Default is true. When drawing 2D overlays it can be useful to disable the depth writing in order to layer several things together without creating z-index artifacts.
fogbooleanWhether the material is affected by fog. Default is false.
opacitynumberOpacity. Default is 1.
sideSideDefines which of the face sides will be rendered - front, back or both. Default is THREE.DoubleSide. Other options are THREE.BackSide and THREE.FrontSide.
toneMappedbooleanDefines whether this material is tone mapped according to the renderer's toneMapping setting. Default is true.
transparentbooleanIs handled by the rendering passes. Default is true.

Options

Ƭ Options: Merge<ToRecord<ShaderMaterialParameters>, OptionsBase>


OptionsBase

Ƭ OptionsBase: Options & Options & Partial<CommonOptions>


OptionsBaseOut

Ƭ OptionsBaseOut: OptionsOut & Partial<OptionsOut> & CommonOptions