X3D Rectangle2D

Rectangle2D • Example

A 2D rectangle (X,Y).

Geometry2D

size

Field Type: SFVec2f
Access Type: initializeOnly
Default Value: 2 2
Value Range: 0, ∞
Description: Sets the length of the box along the X and Y axis.

solid

Field Type: SFBool
Access Type: initializeOnly
Default Value: FALSE
Value Range: ...
Description: Specifies whether one or both sides of the Rectangle2D 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.