Class SCNBox

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, SCNAnimatable, SCNBoundingVolume, SCNShadable, ObjCProtocol

public class SCNBox
extends SCNGeometry
  • Constructor Details

  • Method Details

    • getWidth

      public double getWidth()
    • setWidth

      public void setWidth​(double v)
    • getHeight

      public double getHeight()
    • setHeight

      public void setHeight​(double v)
    • getLength

      public double getLength()
    • setLength

      public void setLength​(double v)
    • getChamferRadius

      public double getChamferRadius()
    • setChamferRadius

      public void setChamferRadius​(double v)
    • getWidthSegmentCount

      public long getWidthSegmentCount()
    • setWidthSegmentCount

      public void setWidthSegmentCount​(long v)
    • getHeightSegmentCount

      public long getHeightSegmentCount()
    • setHeightSegmentCount

      public void setHeightSegmentCount​(long v)
    • getLengthSegmentCount

      public long getLengthSegmentCount()
    • setLengthSegmentCount

      public void setLengthSegmentCount​(long v)
    • getChamferSegmentCount

      public long getChamferSegmentCount()
    • setChamferSegmentCount

      public void setChamferSegmentCount​(long v)
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • create

      public static SCNBox create​(double width, double height, double length, double chamferRadius)
    • createGeometry

      public static SCNBox createGeometry()
    • createGeometry

      public static SCNBox createGeometry​(NSArray<SCNGeometrySource> sources, NSArray<SCNGeometryElement> elements)