HTML Encoding and Default Values⤴
<ColorMaskMode
maskA='true'
maskB='true'
maskG='true'
maskR='true'
metadata='X3DMetadataObject'
></ColorMaskMode>
Inheritance⤴
- X3DNode(18)
- X3DAppearanceChildNode(9)
- ColorMaskMode
Constructor⤴
-
ColorMaskMode(ctx)⤴
-
Constructor for ColorMaskMode
Parameters:
Name Type Argument Default Description ctxObject <optional>
null context object, containing initial settings like namespace
Fields⤴
These are the X3D / X3DOM fields of this node. Values should usually be received / set as strings via
DOM functions (i.e., using
setAttribute("myFieldName", "myFieldValue") and
getAttribute("myFieldName")).
| Name | Type | Default Value | Range | Inheritance | Standard | Description |
|---|---|---|---|---|---|---|
| maskA | SFBool | true |
|
Masks a color channel. | ||
| maskB | SFBool | true |
|
Masks b color channel. | ||
| maskG | SFBool | true |
|
Masks g color channel. | ||
| maskR | SFBool | true |
|
Masks r color channel. | ||
| metadata | SFNode | X3DMetadataObject | X3DNode |
|
Field to add metadata information |
documentation