HTML Encoding and Default Values⤴
<BinaryGeometry
binormal='""'
binormalType='"Float32"'
ccw='true'
color='""'
colorType='"Float32"'
compressed='false'
coord='""'
coordType='"Float32"'
idsPerVertex='false'
index='""'
indexType='"Uint16"'
lit='true'
metadata='X3DMetadataObject'
normal='""'
normalAsSphericalCoordinates='false'
normalPerVertex='true'
normalType='"Float32"'
numTexCoordComponents='2'
position='0,0,0'
primType='['TRIANGLES']'
rgbaColors='false'
size='1,1,1'
solid='true'
tangent='""'
tangentType='"Float32"'
texCoord='""'
texCoordType='"Float32"'
useGeoCache='true'
vertexCount='[0]'
></BinaryGeometry>
Inheritance⤴
- Core/X3DNode(18)
- Rendering/X3DGeometryNode(12)
- X3DSpatialGeometryNode(14)
- X3DBinaryContainerGeometryNode(3)
- BinaryGeometry
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 |
---|---|---|---|---|---|---|
binormal | SFString | "" | ||||
binormalType | SFString | "Float32" | Specifies the byte format of the binormals. | |||
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. | ||
color | SFString | "" | The url to the binary file, that contains the colors. | |||
colorType | SFString | "Float32" | Specifies the byte format of the colors. | |||
compressed | SFBool | false | Flag that specifies whether the binary files are GZip compressed. | |||
coord | SFString | "" | The url to the binary file, that contains the mesh coordinates. | |||
coordType | SFString | "Float32" | Specifies the byte format of the coordinates. | |||
idsPerVertex | SFBool | false | Flag that specifies whether vertex IDs are given as texture coordinates. | |||
index | SFString | "" | The url to the binary file, that contains the index data. | |||
indexType | SFString | "Uint16" | Specifies the byte format of the index data. | |||
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 | ||
normal | SFString | "" | The url to the binary file, that contains the normals. | |||
normalAsSphericalCoordinates | SFBool | false | Specifies whether the normals are encoded as spherical coordinates. | |||
normalPerVertex | SFBool | true | Specifies whether normals are stored per vertex or per face. | |||
normalType | SFString | "Float32" | Specifies the byte format of the normals. | |||
numTexCoordComponents | SFInt32 | 2 | [1, inf] | Specifies the number of texture coordinates per vertex. | ||
position | SFVec3f | 0,0,0 | X3DBinaryContainerGeometryNode | |||
primType | MFString | ['TRIANGLES'] | X3DBinaryContainerGeometryNode | |||
rgbaColors | SFBool | false | Enables RGBA colors. | |||
size | SFVec3f | 1,1,1 | X3DBinaryContainerGeometryNode | |||
solid | SFBool | true | Rendering/X3DGeometryNode | Specifies whether backface-culling is used. If solid is TRUE only front-faces are drawn. | ||
tangent | SFString | "" | ||||
tangentType | SFString | "Float32" | Specifies the byte format of the tangents. | |||
texCoord | SFString | "" | The url to the binary file, that contains the texture coordinates. | |||
texCoordType | SFString | "Float32" | Specifies the byte format of the texture coordinates. | |||
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. | ||
vertexCount | MFInt32 | [0] | X3DBinaryContainerGeometryNode |