Package org.robovm.apple.scenekit
Class SCNGeometrySource
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.scenekit.SCNGeometrySource
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class SCNGeometrySource extends NSObject implements NSSecureCoding
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SCNGeometrySource.SCNGeometrySourcePtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description SCNGeometrySource()
SCNGeometrySource(NSCoder decoder)
protected
SCNGeometrySource(NSObject.Handle h, long handle)
protected
SCNGeometrySource(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SCNGeometrySource
createWithBuffer(MTLBuffer mtlBuffer, MTLVertexFormat vertexFormat, java.lang.String semantic, long vertexCount, long offset, long stride)
static SCNGeometrySource
createWithData(NSData data, SCNGeometrySourceSemantic semantic, long vectorCount, boolean floatComponents, long componentsPerVector, long bytesPerComponent, long offset, long stride)
static SCNGeometrySource
createWithNormals(SCNVector3 normals, long count)
static SCNGeometrySource
createWithTextureCoordinates(CGPoint texcoord, long count)
static SCNGeometrySource
createWithVertices(SCNVector3 vertices, long count)
void
encode(NSCoder coder)
long
getBytesPerComponent()
long
getComponentsPerVector()
NSData
getData()
long
getDataOffset()
long
getDataStride()
SCNGeometrySourceSemantic
getSemantic()
long
getVectorCount()
protected long
init(NSCoder decoder)
static boolean
supportsSecureCoding()
boolean
usesFloatComponents()
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
SCNGeometrySource
public SCNGeometrySource()
-
SCNGeometrySource
protected SCNGeometrySource(NSObject.Handle h, long handle)
-
SCNGeometrySource
protected SCNGeometrySource(NSObject.SkipInit skipInit)
-
SCNGeometrySource
public SCNGeometrySource(NSCoder decoder)
-
-
Method Detail
-
getData
public NSData getData()
-
getSemantic
public SCNGeometrySourceSemantic getSemantic()
-
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)
-
createWithVertices
public static SCNGeometrySource createWithVertices(SCNVector3 vertices, long count)
-
createWithNormals
public static SCNGeometrySource createWithNormals(SCNVector3 normals, long count)
-
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)
-
-