Class: ComposedVolumeStyle

X3DOM
Component: VolumeRendering

x3dom.nodeTypes. ComposedVolumeStyle

The ComposedVolumeStyle node is used to compose multiple rendering styles into a single-rendering pass. The styles are applied in the same order they are defined on the scene tree.

HTML Encoding and Default Values

<ComposedVolumeStyle enabled='true' metadata='X3DMetadataObject' ordered='false' renderStyle='x3dom.nodeTypes.X3DComposableVolumeRenderStyleNode' surfaceNormals='x3dom.nodeTypes.Texture' ></ComposedVolumeStyle>

Inheritance


Constructor

ComposedVolumeStyle(ctx)

Constructor for ComposedVolumeStyle

Parameters:
Name Type Argument Default Description
ctx Object <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
enabled SFBool true X3DComposableVolumeRenderStyleNode Specifies whether the render style is enabled or disabled.
metadata SFNode X3DMetadataObject X3DComposableVolumeRenderStyleNode Field to add metadata information
ordered SFBool false
renderStyle MFNode X3DComposableVolumeRenderStyleNode The renderStyle field contains a list of composable render styles nodes to be used on the associated volume data.
surfaceNormals SFNode 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.