Class SCNGeometryElement

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class SCNGeometryElement
extends NSObject
implements NSSecureCoding
  • Constructor Details

    • SCNGeometryElement

      public SCNGeometryElement()
    • SCNGeometryElement

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

      protected SCNGeometryElement​(NSObject.SkipInit skipInit)
    • SCNGeometryElement

      public SCNGeometryElement​(NSCoder coder)
  • Method Details

    • getData

      public NSData getData()
    • getPrimitiveType

      public SCNGeometryPrimitiveType getPrimitiveType()
    • getPrimitiveCount

      public long getPrimitiveCount()
    • getPrimitiveRange

      public NSRange getPrimitiveRange()
      Since:
      Available in iOS 11.0 and later.
    • setPrimitiveRange

      public void setPrimitiveRange​(NSRange v)
      Since:
      Available in iOS 11.0 and later.
    • getBytesPerIndex

      public long getBytesPerIndex()
    • getPointSize

      public double getPointSize()
      Since:
      Available in iOS 11.0 and later.
    • setPointSize

      public void setPointSize​(double v)
      Since:
      Available in iOS 11.0 and later.
    • getMinimumPointScreenSpaceRadius

      public double getMinimumPointScreenSpaceRadius()
      Since:
      Available in iOS 11.0 and later.
    • setMinimumPointScreenSpaceRadius

      public void setMinimumPointScreenSpaceRadius​(double v)
      Since:
      Available in iOS 11.0 and later.
    • getMaximumPointScreenSpaceRadius

      public double getMaximumPointScreenSpaceRadius()
      Since:
      Available in iOS 11.0 and later.
    • setMaximumPointScreenSpaceRadius

      public void setMaximumPointScreenSpaceRadius​(double v)
      Since:
      Available in iOS 11.0 and later.
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • create

      public static SCNGeometryElement create​(NSData data, SCNGeometryPrimitiveType primitiveType, long primitiveCount, long bytesPerIndex)
    • create

      public static SCNGeometryElement create​(MTLBuffer buffer, SCNGeometryPrimitiveType primitiveType, long primitiveCount, long bytesPerIndex)
      Since:
      Available in iOS 14.0 and later.
    • encode

      public void encode​(NSCoder coder)
      Specified by:
      encode in interface NSCoding
    • init

      protected long init​(NSCoder coder)