
This clause provides a detailed definition of the syntax of each node in this part of ISO/IEC 14772. Table 6.1 lists the topics in this clause.
In this clause, the first item in each subclause presents the VMRL encoding of the public declaration for the node. The node declaration defines the names and types of the fields and events for the node, as well as the default values for the fields.
For example, the following defines the Collision node declaration:
Collision {
field MFNode addChildren
field MFNode removeChildren
field MFNode children
field SFBool collide
field SFVec3f bboxCenter
field SFVec3f bboxSize
field SFNode proxy
field SFTime collideTime
}
The following is an example of a the encoding of a collision node in a VRML file:
Collision {
addChildren []
removeChildren []
children []
collide TRUE
bboxCenter 0,0,0
bboxSize 10,10,10
proxy []
collideTime 0
}
Note that actual node usage does not specify the word "field" or the data type and does provide a value for the field. Not all fields must be present in any particular use of a node. Fields not provided will take on their initial values. Only the syntax for the nodes is shown. Semantics for the nodes and initial value as well as the initial values and value ranges for node fields can be found in ISO/IEC 14772-1--6. Node definitions.
![]()
Anchor {
field MFNode addChildren
field MFNode removeChildren
field MFNode children
field SFString description
field MFString parameter
field MFString url
field SFVec3f bboxCenter
field SFVec3f bboxSize
}
![]()
Appearance {
field SFNode material
field SFNode texture
field SFNode textureTransform
}
![]()
AudioClip {
field SFString description
field SFBool loop
field SFFloat pitch
field SFTime startTime
field SFTime stopTime
field MFString url
field SFTime duration_changed
field SFBool isActive
}
![]()
Background {
field SFBool set_bind
field MFFloat groundAngle
field MFColor groundColor
field MFString backUrl
field MFString bottomUrl
field MFString frontUrl
field MFString leftUrl
field MFString rightUrl
field MFString topUrl
field MFFloat skyAngle
field MFColor skyColor
field SFBool isBound
}
![]()
Billboard {
field MFNode addChildren
field MFNode removeChildren
field SFVec3f axisOfRotation
field MFNode children
field SFVec3f bboxCenter
field SFVec3f bboxSize
}
![]()
Box {
field SFVec3f size
}
![]()
Collision {
field MFNode addChildren
field MFNode removeChildren
field MFNode children
field SFBool collide
field SFVec3f bboxCenter
field SFVec3f bboxSize
field SFNode proxy
field SFTime collideTime
}
![]()
Color {
field MFColor color
}
![]()
ColorInterpolator {
field SFFloat set_fraction
field MFFloat key
field MFColor keyValue
field SFColor value_changed
}
![]()
Cone {
field SFFloat bottomRadius
field SFFloat height
field SFBool side
field SFBool bottom
}
![]()
Coordinate {
field MFVec3f point
}
![]()
CoordinateInterpolator {
field SFFloat set_fraction
field MFFloat key
field MFVec3f keyValue
field MFVec3f value_changed
}
![]()
Cylinder {
field SFBool bottom
field SFFloat height
field SFFloat radius
field SFBool side
field SFBool top
}
![]()
CylinderSensor {
field SFBool autoOffset
field SFFloat diskAngle
field SFBool enabled
field SFFloat maxAngle
field SFFloat minAngle
field SFFloat offset
field SFBool isActive
field SFRotation rotation_changed
field SFVec3f trackPoint_changed
}
![]()
DirectionalLight {
field SFFloat ambientIntensity
field SFColor color
field SFVec3f direction
field SFFloat intensity
field SFBool on
}
![]()
ElevationGrid {
field MFFloat set_height
field SFNode color
field SFNode normal
field SFNode texCoord
field MFFloat height
field SFBool ccw
field SFBool colorPerVertex
field SFFloat creaseAngle
field SFBool normalPerVertex
field SFBool solid
field SFInt32 xDimension
field SFFloat xSpacing
field SFInt32 zDimension
field SFFloat zSpacing
}
![]()
Extrusion {
field MFVec2f set_crossSection
field MFRotation set_orientation
field MFVec2f set_scale
field MFVec3f set_spine
field SFBool beginCap
field SFBool ccw
field SFBool convex
field SFFloat creaseAngle
field MFVec2f crossSection
field SFBool endCap
field MFRotation orientation
field MFVec2f scale
field SFBool solid
field MFVec3f spine
}
![]()
Fog {
field SFColor color
field SFString fogType
field SFFloat visibilityRange
field SFBool set_bind
field SFBool isBound
}
![]()
FontStyle {
field MFString family
field SFBool horizontal
field MFString justify
field SFString language
field SFBool leftToRight
field SFFloat size
field SFFloat spacing
field SFString style
field SFBool topToBottom
}
![]()
Group {
field MFNode addChildren
field MFNode removeChildren
field MFNode children
field SFVec3f bboxCenter
field SFVec3f bboxSize
}
![]()
ImageTexture {
field MFString url
field SFBool repeatS
field SFBool repeatT
}
![]()
IndexedFaceSet {
field MFInt32 set_colorIndex
field MFInt32 set_coordIndex
field MFInt32 set_normalIndex
field MFInt32 set_texCoordIndex
field SFNode color
field SFNode coord
field SFNode normal
field SFNode texCoord
field SFBool ccw
field MFInt32 colorIndex
field SFBool colorPerVertex
field SFBool convex
field MFInt32 coordIndex
field SFFloat creaseAngle
field MFInt32 normalIndex
field SFBool normalPerVertex
field SFBool solid
field MFInt32 texCoordIndex
}
![]()
IndexedLineSet {
field MFInt32 set_colorIndex
field MFInt32 set_coordIndex
field SFNode color
field SFNode coord
field MFInt32 colorIndex
field SFBool colorPerVertex
field MFInt32 coordIndex
}
![]()
Inline {
field MFString url
field SFVec3f bboxCenter
field SFVec3f bboxSize
}
![]()
LOD {
field MFNode level
field SFVec3f center
field MFFloat range
}
![]()
Material {
field SFFloat ambientIntensity
field SFColor diffuseColor
field SFColor emissiveColor
field SFFloat shininess
field SFColor specularColor
field SFFloat transparency
}
![]()
MovieTexture {
field SFBool loop
field SFFloat speed
field SFTime startTime
field SFTime stopTime
field MFString url
field SFBool repeatS
field SFBool repeatT
field SFTime duration_changed
field SFBool isActive
}
![]()
NavigationInfo {
field SFBool set_bind
field MFFloat avatarSize
field SFBool headlight
field SFFloat speed
field MFString type
field SFFloat visibilityLimit
field SFBool isBound
}
![]()
Normal {
field MFVec3f vector
}
![]()
NormalInterpolator {
field SFFloat set_fraction
field MFFloat key
field MFVec3f keyValue
field MFVec3f value_changed
}
![]()
OrientationInterpolator {
field SFFloat set_fraction
field MFFloat key
field MFRotation keyValue
field SFRotation value_changed
}
![]()
PixelTexture {
field SFImage image
field SFBool repeatS
field SFBool repeatT
}
![]()
PlaneSensor {
field SFBool autoOffset
field SFBool enabled
field SFVec2f maxPosition
field SFVec2f minPosition
field SFVec3f offset
field SFBool isActive
field SFVec3f trackPoint_changed
field SFVec3f translation_changed
}
![]()
PointLight {
field SFFloat ambientIntensity
field SFVec3f attenuation
field SFColor color
field SFFloat intensity
field SFVec3f location
field SFBool on
field SFFloat radius
}
![]()
PointSet {
field SFNode color
field SFNode coord
}
![]()
PositionInterpolator {
field SFFloat set_fraction
field MFFloat key
field MFVec3f keyValue
field SFVec3f value_changed
}
![]()
ProximitySensor {
field SFVec3f center
field SFVec3f size
field SFBool enabled
field SFBool isActive
field SFVec3f position_changed
field SFRotation orientation_changed
field SFTime enterTime
field SFTime exitTime
}
![]()
ScalarInterpolator {
field SFFloat set_fraction
field MFFloat key
field MFFloat keyValue
field SFFloat value_changed
}
![]()
Script {
field MFString url
field SFBool directOutput
field SFBool mustEvaluate
# And any number of:
field fieldType fieldName initialValue
}
![]()
Shape {
field SFNode appearance
field SFNode geometry
}
![]()
Sound {
field SFVec3f direction
field SFFloat intensity
field SFVec3f location
field SFFloat maxBack
field SFFloat maxFront
field SFFloat minBack
field SFFloat minFront
field SFFloat priority
field SFNode source
field SFBool spatialize
}
![]()
Sphere {
field SFFloat radius 1 # (0,
)
}
![]()
SphereSensor {
field SFBool autoOffset
field SFBool enabled
field SFRotation offset
field SFBool isActive
field SFRotation rotation_changed
field SFVec3f trackPoint_changed
}
![]()
SpotLight {
field SFFloat ambientIntensity
field SFVec3f attenuation
field SFFloat beamWidth
field SFColor color
field SFFloat cutOffAngle
field SFVec3f direction
field SFFloat intensity
field SFVec3f location
field SFBool on
field SFFloat radius
}
![]()
Switch {
field MFNode choice
field SFInt32 whichChoice
}
![]()
Text {
field MFString string
field SFNode fontStyle
field MFFloat length
field SFFloat maxExtent
}
![]()
TextureCoordinate {
field MFVec2f point
}
![]()
TextureTransform {
field SFVec2f center
field SFFloat rotation
field SFVec2f scale
field SFVec2f translation
}
![]()
TimeSensor {
field SFTime cycleInterval
field SFBool enabled
field SFBool loop
field SFTime startTime
field SFTime stopTime
field SFTime cycleTime
field SFFloat fraction_changed
field SFBool isActive
field SFTime time
}
![]()
TouchSensor {
field SFBool enabled
field SFVec3f hitNormal_changed
field SFVec3f hitPoint_changed
field SFVec2f hitTexCoord_changed
field SFBool isActive
field SFBool isOver
field SFTime touchTime
}
![]()
Transform {
field MFNode addChildren
field MFNode removeChildren
field SFVec3f center
field MFNode children
field SFRotation rotation
field SFVec3f scale
field SFRotation scaleOrientation
field SFVec3f translation
field SFVec3f bboxCenter
field SFVec3f bboxSize
}
![]()
Viewpoint {
field SFBool set_bind
field SFFloat fieldOfView
field SFBool jump
field SFRotation orientation
field SFVec3f position
field SFString description
field SFTime bindTime
field SFBool isBound
}
![]()
VisibilitySensor {
field SFVec3f center
field SFBool enabled
field SFVec3f size
field SFTime enterTime
field SFTime exitTime
field SFBool isActive
}
![]()
WorldInfo {
field MFString info
field SFString title
}
![]()