Rectangle shape node. More...
#include <Inventor/VRMLnodes/SoVRMLRectangle2D.h>
Classes | |
struct | MTstruct |
Public Member Functions | |
virtual SoType | getTypeId () const |
SoVRMLRectangle2D () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoSFVec2f | size |
SoSFBool | solid |
See the X3D Specification, below.
NOTE: This class does not exist in Open Inventor 10.0 and later.This section may reference portions of the X3D specification that are not present in this help file. The complete X3D spec is available at http://www.web3d.org .
The SoVRMLRectangle2D node specifies rectangle centered at the (0,0) in the local 2D coordinate system and aligned with the local coordinate axes. By default, the box measures 2 units in each dimension, from -1 to +1. The size field specifies the extents of the box along the X-, and Y- axes respectively and each component value must be greater than zero.
Textures are applied individually to each face of the VRMLRectangle2D. On the front (+Z) and back (-Z) faces of the VRMLRectangle2D, when viewed from the +Z axis, the texture is mapped onto each face with the same orientation as if the image were displayed normally in 2D. TextureTransform affects the texture coordinates of the VRMLRectangle2D node.
size | 2 2 |
solid | FALSE |
metadata | NULL |
SoSFNode | set_metadata |
SoSFNode | metadata_changed |
SoVRMLRectangle2D::SoVRMLRectangle2D | ( | ) |
Constructor.
static SoType SoVRMLRectangle2D::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoVRMLGeometry.
virtual SoType SoVRMLRectangle2D::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoVRMLGeometry.
The size field specifies the extents of the box along the X-, and Y-axes respectively.
If TRUE, only one side of polygon faces is lit.
If FALSE, both sides are lit.