Class SCNPyramid

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

public class SCNPyramid
extends SCNGeometry
  • Constructor Details

    • SCNPyramid

      public SCNPyramid()
    • SCNPyramid

      protected SCNPyramid​(NSObject.Handle h, long handle)
    • SCNPyramid

      protected SCNPyramid​(NSObject.SkipInit skipInit)
  • 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)
    • 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)
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • create

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

      public static SCNPyramid createGeometry()
    • createGeometry

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