Home NurbsSet
X_ite
Cancel

NurbsSet

Overview

NurbsSet collects a set of NurbsSurface nodes into a common group and treats NurbsSurface set as a unit during tessellation, thereby enforcing tessellation continuity along borders.

The NurbsSet node belongs to the NURBS component and its default container field is children. It is available since X3D version 3.0 or later.

Hierarchy

1
2
3
+ X3DNode
  + X3DChildNode
    + NurbsSet (X3DBoundedObject)*

* Derived from multiple interfaces.

Fields

SFNode [in, out] metadata NULL [X3DMetadataObject]

Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.

SFBool [ ] visible TRUE

Whether or not renderable content within this node is visually displayed.

Hint

  • The visible field has no effect on animation behaviors, event passing or other non-visual characteristics.
  • Content must be visible to be collidable and to be pickable.

SFBool [ ] bboxDisplay FALSE

Whether to display bounding box for associated geometry, aligned with world coordinates.

Hint

  • The bounding box is displayed regardless of whether contained content is visible.

SFVec3f [ ] bboxSize -1 -1 -1 [0,∞) or −1 −1 −1

Bounding box size is usually omitted, and can easily be calculated automatically by an X3D player at scene-loading time with minimal computational cost. Bounding box size can also be defined as an optional authoring hint that suggests an optimization or constraint.

Hint

  • Can be useful for collision computations or inverse-kinematics (IK) engines.

SFVec3f [ ] bboxCenter 0 0 0 (-∞,∞)

Bounding box center: optional hint for position offset from origin of local coordinate system.

MFNode [in] addGeometry

Input field addGeometry.

MFNode [in] removeGeometry

Input field removeGeometry.

MFNode [in, out] geometry [ ] [X3DNurbsSurfaceGeometryNode]

Input/Output field geometry.

SFFloat [in, out] tessellationScale 1 (0,∞)

Scale for surface tesselation in children NurbsSurface nodes.

This post is licensed under CC BY 4.0 by the author.