HTML Encoding and Default Values⤴
<OpacityMapVolumeStyle
enabled='true'
lightFactor='1.2'
metadata='X3DMetadataObject'
opacityFactor='6.0'
surfaceNormals='x3dom.nodeTypes.Texture'
transferFunction='x3dom.nodeTypes.Texture'
type='"simple"'
></OpacityMapVolumeStyle>
Inheritance⤴
- Core/X3DNode(18)
- X3DVolumeRenderStyleNode(4)
- X3DComposableVolumeRenderStyleNode(10)
- OpacityMapVolumeStyle
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 |
---|---|---|---|---|---|---|
enabled | SFBool | true | X3DVolumeRenderStyleNode | Specifies whether the render style is enabled or disabled. | ||
lightFactor | SFFloat | 1.2 | The lightFactor field is a factor to specify the amount of global light to be considered on each sampled point along the ray traversal. | |||
metadata | SFNode | X3DMetadataObject | Core/X3DNode | Field to add metadata information | ||
opacityFactor | SFFloat | 6.0 | The opacityFactor field is a factor to specify the amount of opacity to be considered on each sampled point along the ray traversal. | |||
surfaceNormals | SFNode | Texturing/Texture | X3DComposableVolumeRenderStyleNode | The surfaceNormals field allows to provide the normals of the volume data. It takes an ImageTextureAtlas of the same dimensions of the volume data. If it is not provided, it is computed on the fly. | ||
transferFunction | SFNode | Texturing/Texture | The transferFunction field is a texture that is going to be used to map each voxel value to a specific color output. | |||
type | SFString | "simple" | NYI!! |