Node: Dish

X3DOM
Component: Geometry3DExt

Quick Links

➨ Fields

HTML Encoding and Default Values

<Dish bottom='true' ccw='true' diameter='2' height='1' lit='true' metadata='X3DMetadataObject' radius='this._vf.diameter/2' solid='true' subdivision='24,24' useGeoCache='true' ></Dish>

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
bottom SFBool true The bottom field specifies whether the bottom cap of the dish is created.
ccw SFBool true Geometry3D/X3DSpatialGeometryNode The ccw field defines the ordering of the vertex coordinates of the geometry with respect to user-given or automatically generated normal vectors used in the lighting model equations.
diameter SFFloat 2 [0, inf] Specifies the diameter of the base.
height SFFloat 1 [0, inf] Defines the maximum height of the dished surface above the base
lit SFBool true Geometry3D/X3DSpatialGeometryNode Specifies whether this geometry should be rendered with or without lighting.
metadata SFNode X3DMetadataObject Geometry3D/X3DSpatialGeometryNode Field to add metadata information
radius SFFloat diameter/2 Defines the radius of the third semi-principal axes of the ellipsoid
solid SFBool true Geometry3D/X3DSpatialGeometryNode Specifies whether backface-culling is used. If solid is TRUE only front-faces are drawn.
subdivision SFVec2f 24,24 [0, inf] Specifies the number of faces that are generated to approximate the sides of the dish. The first component specifies the number of rings and the second component the number of subdivisions of each ring.
useGeoCache SFBool true Geometry3D/X3DSpatialGeometryNode Most geo primitives use geo cache and others might later on, but one should be able to disable cache per geometry node.