Class: Dish

X3DOM
Component: Geometry3DExt

.nodeTypes. Dish

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>

Inheritance


Constructor

Dish(ctx)

Constructor for Dish

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
bottom SFBool true The bottom field specifies whether the bottom cap of the dish is created.
ccw SFBool true X3DGeometryNode 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 X3DGeometryNode Specifies whether this geometry should be rendered with or without lighting.
metadata SFNode X3DMetadataObject X3DNode Field to add metadata information
radius SFFloat diameter/2 Defines the radius of the third semi-principal axes of the ellipsoid
solid SFBool true X3DGeometryNode 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 X3DGeometryNode Most geo primitives use geo cache and others might later on, but one should be able to disable cache per geometry node. Defaults to global useGeoCache setting parameter.