All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----dnx.util.DNXObject | +----dnx.lr.Node | +----dnx.lr.SubsidiaryNode | +----dnx.lr.GeometryNode | +----dnx.lr.node.PointSetNode
PointSet { exposedField SFNode color NULL exposedField SFNode coord NULL }
The PointSet node specifies a set of 3D points in the local coordinate system with associated colors at each point. The coord field specifies a Coordinate node (or instance of a Coordinate node) - results are undefined if the coord field specifies any other type of node. PointSet uses the coordinates in order. If the coord field is NULL, then the PointSet is empty.
PointSets are not lit, not texture-mapped, or collided with during collision detection.
If the color field is not NULL, it must specify a Color node that contains at least the number of points contained in the coord node - results are undefined if the color field specifies any other type of node. Colors shall be applied to each point in order. The results are undefined if the number of values in the Color node is less than the number of values specified in the Coordinate node
If the color field is NULL and there is a Material defined for the Appearance affecting this PointSet, then use the emissiveColor of the Material to draw the points. See "Concepts - Lighting Model, Lighting Off" for details on lighting equations.
public SFNode color
public SFNode coord
public PointSetNode()
protected void createNodeDefinition(NodeDefinition def)
protected void initFields()
public void render(NodeInstance inst, RenderTraversal traversal)
public boolean pick(PickTraversal traversal, PickDetail detail)
public int sendModelData(Model model)
public void recomputeBoundingBox(BoundingBox3 box)
protected boolean boundingBoxHasChanged(Field f)
public void potentialChildCarryingFieldChange(Field f, Node newValue)
All Packages Class Hierarchy This Package Previous Next Index