Titania X3D Editor

It starts with you!

Titania v3.0.4

It starts with you!

X3D Reference

Disk2D

Disk2D

Disk2D is a geometry node that defines a filled (or partially filled) planar circle with center (0,0).

The Disk2D node belongs to the Geometry2D component and its container field is geometry. It is available since X3D version 3.0 or later.

Hierarchy

Fields

SFNode [in, out] metadata NULL [X3DMetadataObject]

Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.

SFFloat [in, out] innerRadius [0,∞)

Inner circle radius, greater than or equal to 0.

Warning

Simple-geometry dimensions are initializeOnly and cannot be changed after initial creation, for animation use Transform scale instead.

SFFloat [in, out] outerRadius 1 (0,∞)

Outer radius of circle, greater than or equal to inner radius.

Warning

Simple-geometry dimensions are initializeOnly and cannot be changed after initial creation, for animation use Transform scale instead.

SFBool [ ] solid FALSE

Setting solid true means draw only one side of polygons (backface culling on), setting solid false means draw both sides of polygons (backface culling off).

Hint

If in doubt, use solid='false' for maximum visibility.

Warnings

Default value true can completely hide geometry if viewed from wrong side! Solid false not supported in VRML97.

Description

Hints

  • Insert a Shape node before adding geometry or Appearance.
  • Include <component name='Geometry2D' level='2'/>

Browser Compatibility

Titania X_ITE
yes yes

External Links