use VRML::VRML2::Standard;
[Grouping Nodes
] [Special Groups
] [Common Nodes
]
[Geometry
] [Geometric Properties
] [Appearance]
[Sensors
] [Interpolators
] [Bindable Nodes
]
$children
parameter is empty !
Currently only the first part of $parameter is supported.
$translation
is a SFVec3f
$rotation
is a SFRotation
$scale
is a SFVec3f
$scaleOrientation
is a SFRotation
$center
is a SFVec3f
$range
is a MFFloat
$center
is a SFVec3f
Example: LOD([1, 2, 5], '0 0 0')
$height
should be a reference of a list of height values like ['0 1 3 2', '2 3 5 4', ...]
$color
should be a reference to a subroutine or list of color
values
$spine
should be a reference of a list of spine values like ['0 0 0', '0 1 0', ...]
$coordIndex
should be a list of point index strings or a
reference like '0 1 3 2', '2 3 5 4', ...
$coordIndex
should be a reference of a list of colors
$normalIndex_ref
should be a reference of a list of normals
$texCoordIndex_ref
should be a reference of a list of textures
$coord
should be a reference to a Coordinate method or a string with a
Coordinate node.
$coordIndex
should be a reference of a list of point index
strings like '0, 1, 3, 2', '2, 3, 5, 4', ...
$colorIndex
should be a reference of a list of colors
$radius
have to be > 0
@point
should be a list of points with strings like '1.0 0.0 0.0', '-1 2 0'
@color
should be a list of colors with strings like '1.0 0.0 0.0', '.3 .2 .1'
@vector
should be a list of vectors with strings like '1.0 0.0 0.0', '.4 .2 0'
FontStyle($size, $family, $style, $justify)
defines the current font style for the current Text Nodes
$style
can be 'PLAIN','BOLD','ITALIC','BOLD ITALIC'
$familiy
can be 'SERIF','SANS','TYPEWRITER'
$justify
can be 'BEGIN', 'MIDDLE', 'END'
$key
MFFloat $keyValue
MFFloat
You only can use a hash. Parameter see VRML Spec
You can use a hash reference or all parameter in the same order above
Close an open node with }
Close an open children part with ]
Close an open children part with ] and the node with }
VRML::Base
http://www.gfz-potsdam.de/~palm/vrmlperl/ for a description of VRML-modules and how to obtain it.
Homepage http://www.gfz-potsdam.de/~palm/