Class SCNCapsule

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

public class SCNCapsule
extends SCNGeometry
  • Constructor Details

    • SCNCapsule

      public SCNCapsule()
    • SCNCapsule

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

      protected SCNCapsule​(NSObject.SkipInit skipInit)
  • Method Details

    • getCapRadius

      public double getCapRadius()
    • setCapRadius

      public void setCapRadius​(double v)
    • getHeight

      public double getHeight()
    • setHeight

      public void setHeight​(double v)
    • getRadialSegmentCount

      public long getRadialSegmentCount()
    • setRadialSegmentCount

      public void setRadialSegmentCount​(long v)
    • getHeightSegmentCount

      public long getHeightSegmentCount()
    • setHeightSegmentCount

      public void setHeightSegmentCount​(long v)
    • getCapSegmentCount

      public long getCapSegmentCount()
    • setCapSegmentCount

      public void setCapSegmentCount​(long v)
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • create

      public static SCNCapsule create​(double capRadius, double height)
    • createGeometry

      public static SCNCapsule createGeometry()
    • createGeometry

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