X3D Disk2D

Disk2D • Example

A 2D circular disk with an inner and outer radius.

Geometry2D

innerRadius

Field Type: SFFloat
Access Type: initializeOnly
Default Value: 0
Value Range: 0, ∞
Description: Sets the inner dimension of the disk. The value is greater than or equal to zero and less than or equal to outerRadius. If innerRadius is zero, Disk2D is comletely filled.

outerRadius

Field Type: SFFloat
Access Type: initializeOnly
Default Value: 0
Value Range: 0, ∞
Description: Sets the outer dimension of the disk. The value is greater than zero. If innerRadius is equal to outerRadius, a solid circular line is drawn.

solid

Field Type: SFBool
Access Type: initializeOnly
Default Value: FALSE
Value Range: ...
Description: Specifies whether one or both sides of the Circle2D will be displayed based on viewing direction.

metadata

Field Type: SFNode
Access Type: inputOutput
Default Value: NULL
Value Range: X3DMetadataObject
Description: Information about this node.