Class SoCubeDetail


  • public class SoCubeDetail
    extends SoDetail
    Stores detail information about the SoCube node. This class contains detail information about a point on a cube. It contains the part of the cube that was hit.

    Part values are as follows:

      0 Front
      1 Back
      2 Left
      3 Right
      4 Top
      5 Bottom

    See Also:
    SoCube, SoDetail, SoPickedPoint, SoPrimitiveVertex
    • Constructor Detail

      • SoCubeDetail

        public SoCubeDetail()
        Constructor.
    • Method Detail

      • getPart

        public int getPart()
        Returns the part in the detail.
      • copy

        public SoDetail copy()
        Returns an instance that is a copy of this instance. The caller is responsible for deleting the copy when it is no longer needed.
        Overrides:
        copy in class SoDetail
      • setPart

        public void setPart​(int _part)