Class SCNSphere

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

public class SCNSphere
extends SCNGeometry
  • Constructor Details

    • SCNSphere

      public SCNSphere()
    • SCNSphere

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

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

    • getRadius

      public double getRadius()
    • setRadius

      public void setRadius​(double v)
    • isGeodesic

      public boolean isGeodesic()
    • setGeodesic

      public void setGeodesic​(boolean v)
    • getSegmentCount

      public long getSegmentCount()
    • setSegmentCount

      public void setSegmentCount​(long v)
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • create

      public static SCNSphere create​(double radius)
    • createGeometry

      public static SCNSphere createGeometry()
    • createGeometry

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