X3D ElevationGrid

ElevationGrid • Example

A rectangular grid in the Y=0 plane that can vary in height at each grid point.

Geoemetry3D

attrib

Field Type: MFNode
Access Type: inputOutput
Default Value: ...
Value Range: X3DVertexAttributeNode
Description: A list of per-vertex attribute information for programmable shaders.

color

Field Type: SFNode
Access Type: inputOutput
Default Value: NULL
Value Range: X3DColorNode
Description: Sets per-vertex colors for the grid if colorPerVertex is TRUE.

fogCoord

Field Type: SFNode
Access Type: inputOutput
Default Value: NULL
Value Range: FogCoordinate
Description: Sets the parameters for fog.

normal

Field Type: SFNode
Access Type: inputOutput
Default Value: NULL
Value Range: X3DNormalNode
Description: Sets per-vertex normals for grid.

texCoord

Field Type: SFNode
Access Type: inputOutput
Default Value: NULL
Value Range: X3DTextureCoordinateNode
Description: Sets per-vertex texture coordinates for grid.

colorPerVertex

Field Type: SFBool
Access Type: initializeOnly
Default Value: TRUE
Value Range: ...
Description: Sets whether colors are applied to each vertex if color field is not null. If color field is null, grid is rendered according to the Appearance of the surrounding Shape.

creaseAngle

Field Type: SFFloat
Access Type: initializeOnly
Default Value: 0
Value Range: 0, ∞
Description: Determines how default normals are generated.

height

Field Type: MFFloat
Access Type: initializeOnly
Default Value: ...
Value Range: -∞, ∞
Description: xDimension x zDimension array of values that set the height at each vertex.

set_height

Field Type: MFFloat
Access Type: inputOnly
Default Value: ...
Value Range: ...
Description: Updates height field via ROUTE statement.

normalPerVertex

Field Type: SFBool
Access Type: initializeOnly
Default Value: TRUE
Value Range: ...
Description: Sets whether normals are applied for each vertex depending the value of normal.

xDimension

Field Type: SFInt32
Access Type: initializeOnly
Default Value: 0
Value Range: 0, ∞
Description: Sets the number of elements of the grid in the X direction.

xSpacing

Field Type: SFFloat
Access Type: initializeOnly
Default Value: 1.0
Value Range: 0, ∞
Description: Sets the distance between vertices in the X direction.

zDimension

Field Type: SFInt32
Access Type: initializeOnly
Default Value: 0
Value Range: 0, ∞
Description: Sets the number of elements of the grid in the Z direction.

zSpacing

Field Type: SFFloat
Access Type: initializeOnly
Default Value: 1.0
Value Range: 0, ∞
Description: Sets the distance between vertices in the Z direction.

ccw

Field Type: SFBool
Access Type: initializeOnly
Default Value: TRUE
Value Range: ...
Description: Sets the ordering of the vertex coordinates of the geometry with respect to normal vectors used in the lighting model equations.

solid

Field Type: SFBool
Access Type: ...
Default Value: TRUE
Value Range: ...
Description: Specifies whether the geometry is visible from the inside.

metadata

Field Type: SFNode
Access Type: inputOutput
Default Value: NULL
Value Range: X3DMetadataObject
Description: Information about this node.