Class PointProperties

All Implemented Interfaces:
X3DNode, PointProperties, X3DAppearanceChildNode

public class PointProperties extends X3DConcreteNode implements PointProperties
PointProperties allows precise fine-grained control over the rendering style of PointSet node points inside the same Shape.

Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the org.web3d.x3d.jsail classes. PointProperties node tooltip: [X3DAppearanceChildNode] PointProperties allows precise fine-grained control over the rendering style of PointSet node points inside the same Shape.
  • Hint: DEF/USE copies of a single node can provide a similar "look + feel" style for related shapes in a scene.
  • Hint: When an X3DTextureNode is defined in the same Appearance instance as PointProperties node, the points of a PointSet shall be displayed as point sprites using the given texture(s).
  • Warning: requires X3D profile='Full' or else include <component name='Shape' level='5'/>

Package hint: This org.web3d.x3d.jsail concrete class is used for implementing a standalone X3D object as a Plain Old Java Object (POJO). If you are writing Java code for use inside an X3D Script node, compile separate code using only the org.web3d.x3d.sai package instead.
See Also:
  • Field Details

    • NAME

      public static final String NAME
      String constant NAME provides name of this element: PointProperties.
      See Also:
    • COMPONENT

      public static final String COMPONENT
      String constant COMPONENT defines X3D component for the PointProperties element: Shape
      See Also:
    • LEVEL

      public static final int LEVEL
      Integer constant LEVEL provides default X3D Shape component level for this element: 5
      See Also:
    • ATTENUATION_DEFAULT_VALUE

      public static final float[] ATTENUATION_DEFAULT_VALUE
      SFVec3f field named attenuation has default value {1f,0f,0f} (Java syntax) or 1 0 0 (XML syntax).
    • IS_DEFAULT_VALUE

      public static final IS IS_DEFAULT_VALUE
      SFNode field named IS has default value null (Java syntax) or NULL (XML syntax).
    • METADATA_DEFAULT_VALUE

      public static final X3DMetadataObject METADATA_DEFAULT_VALUE
      SFNode field named metadata has default value null (Java syntax) or NULL (XML syntax).
    • POINTSIZEMAXVALUE_DEFAULT_VALUE

      public static final float POINTSIZEMAXVALUE_DEFAULT_VALUE
      SFFloat field named pointSizeMaxValue has default value 1f (Java syntax) or 1 (XML syntax).
      See Also:
    • POINTSIZEMINVALUE_DEFAULT_VALUE

      public static final float POINTSIZEMINVALUE_DEFAULT_VALUE
      SFFloat field named pointSizeMinValue has default value 1f (Java syntax) or 1 (XML syntax).
      See Also:
    • POINTSIZESCALEFACTOR_DEFAULT_VALUE

      public static final float POINTSIZESCALEFACTOR_DEFAULT_VALUE
      SFFloat field named pointSizeScaleFactor has default value 1f (Java syntax) or 1 (XML syntax).
      See Also:
    • containerField_DEFAULT_VALUE

      public static final String containerField_DEFAULT_VALUE
      containerField describes typical field relationship of a node to its parent. Usage is not ordinarily needed when using this API, this default value is provided for informational purposes only.
      containerField_DEFAULT_VALUE = "pointProperties";
      containerField_ALLOWED_VALUES = {"pointProperties" }; type xs:NMTOKEN
      See Also:
    • fromField_ATTENUATION

      public static final String fromField_ATTENUATION
      fromField ROUTE name for SFVec3f field named attenuation.
      See Also:
    • toField_ATTENUATION

      public static final String toField_ATTENUATION
      toField ROUTE name for SFVec3f field named attenuation.
      See Also:
    • fromField_IS

      public static final String fromField_IS
      fromField ROUTE name for SFNode field named IS.
      See Also:
    • fromField_METADATA

      public static final String fromField_METADATA
      fromField ROUTE name for SFNode field named metadata.
      See Also:
    • toField_METADATA

      public static final String toField_METADATA
      toField ROUTE name for SFNode field named metadata.
      See Also:
    • fromField_POINTSIZEMAXVALUE

      public static final String fromField_POINTSIZEMAXVALUE
      fromField ROUTE name for SFFloat field named pointSizeMaxValue.
      See Also:
    • toField_POINTSIZEMAXVALUE

      public static final String toField_POINTSIZEMAXVALUE
      toField ROUTE name for SFFloat field named pointSizeMaxValue.
      See Also:
    • fromField_POINTSIZEMINVALUE

      public static final String fromField_POINTSIZEMINVALUE
      fromField ROUTE name for SFFloat field named pointSizeMinValue.
      See Also:
    • toField_POINTSIZEMINVALUE

      public static final String toField_POINTSIZEMINVALUE
      toField ROUTE name for SFFloat field named pointSizeMinValue.
      See Also:
    • fromField_POINTSIZESCALEFACTOR

      public static final String fromField_POINTSIZESCALEFACTOR
      fromField ROUTE name for SFFloat field named pointSizeScaleFactor.
      See Also:
    • toField_POINTSIZESCALEFACTOR

      public static final String toField_POINTSIZESCALEFACTOR
      toField ROUTE name for SFFloat field named pointSizeScaleFactor.
      See Also:
  • Constructor Details

    • PointProperties

      public PointProperties()
      Constructor for PointProperties to initialize member variables with default values.
    • PointProperties

      public PointProperties(String DEFlabel)
      Utility constructor that assigns DEF label after initializing member variables with default values.
      Parameters:
      DEFlabel - unique DEF name for this X3D node
  • Method Details