API / geotoolkit3d / scene / ColorMapShaderMaterial / ColorMapShaderMaterial
scene.ColorMapShaderMaterial.ColorMapShaderMaterial
Namespaces
Type Aliases
Type Aliases
Ƭ CommonOptions: Object
| Name | Type | Description |
|---|---|---|
alphaTest | number | Sets the alpha value to be used when running an alpha test. Default is 0. |
blendDst | BlendingDstFactor | Blending destination. Default is OneMinusSrcAlphaFactor. |
blendEquation | BlendingEquation | Blending equation to use when applying blending. Default is AddEquation. |
blendSrc | BlendingSrcFactor | BlendingDstFactor | Blending source. It's one of the blending mode constants defined in Three.js. Default is SrcAlphaFactor. |
blending | Blending | Which blending to use when displaying objects with this material. Default is NormalBlending. |
clipintersection | boolean | Define clip intersection. Default is false. see https://threejs.org/docs/#api/en/materials/Material.clipIntersection. |
clipping | boolean | Defines whether this material supports clipping. Default is true. |
clippingplanes | Plane[] | Defines the clipping planes see https://threejs.org/docs/#api/en/materials/Material.clippingPlanes |
colorWrite | boolean | Whether 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. |
depthFunc | DepthModes | Which depth function to use. Default is LessEqualDepth. See the depth mode constants for all possible values. Default is LessEqualDepth. |
depthTest | boolean | Whether to have depth test enabled when rendering this material. Default is true. |
depthWrite | boolean | Whether 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. |
fog | boolean | Whether the material is affected by fog. Default is false. |
opacity | number | Opacity. Default is 1. |
side | Side | Defines which of the face sides will be rendered - front, back or both. Default is THREE.DoubleSide. Other options are THREE.BackSide and THREE.FrontSide. |
toneMapped | boolean | Defines whether this material is tone mapped according to the renderer's toneMapping setting. Default is true. |
transparent | boolean | Is handled by the rendering passes. Default is true. |
Ƭ Options: Merge<ToRecord<ShaderMaterialParameters>, OptionsBase>
Ƭ OptionsBase: Options & Options & Partial<CommonOptions>
Ƭ OptionsBaseOut: OptionsOut & Partial<OptionsOut> & CommonOptions