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⤴
- Core/X3DNode(18)
- Rendering/X3DGeometryNode(12)
- Geometry3D/X3DSpatialGeometryNode(14)
- 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 | Rendering/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 | Rendering/X3DGeometryNode | Specifies whether this geometry should be rendered with or without lighting. | ||
metadata | SFNode | X3DMetadataObject | Core/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 | Rendering/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 | Rendering/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. |