Class SCNGeometrySource

    • Constructor Detail

      • SCNGeometrySource

        public SCNGeometrySource()
      • SCNGeometrySource

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

        public SCNGeometrySource​(NSCoder decoder)
    • Method Detail

      • getData

        public NSData getData()
      • getVectorCount

        public long getVectorCount()
      • usesFloatComponents

        public boolean usesFloatComponents()
      • getComponentsPerVector

        public long getComponentsPerVector()
      • getBytesPerComponent

        public long getBytesPerComponent()
      • getDataOffset

        public long getDataOffset()
      • getDataStride

        public long getDataStride()
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • createWithData

        public static SCNGeometrySource createWithData​(NSData data,
                                                       SCNGeometrySourceSemantic semantic,
                                                       long vectorCount,
                                                       boolean floatComponents,
                                                       long componentsPerVector,
                                                       long bytesPerComponent,
                                                       long offset,
                                                       long stride)
      • createWithTextureCoordinates

        public static SCNGeometrySource createWithTextureCoordinates​(CGPoint texcoord,
                                                                     long count)
      • createWithBuffer

        public static SCNGeometrySource createWithBuffer​(MTLBuffer mtlBuffer,
                                                         MTLVertexFormat vertexFormat,
                                                         java.lang.String semantic,
                                                         long vertexCount,
                                                         long offset,
                                                         long stride)
        Since:
        Available in iOS 9.0 and later.
      • init

        protected long init​(NSCoder decoder)