Objective-CprotocolSceneKit
SCNGeometrySourceJSExport
@protocol SCNGeometrySourceJSExport <JSExport>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolJSExport
Members 20
- method
+ (id)geometrySourceWithData:(id)arg0 semantic:(id)arg1 vectorCount:(long long)arg2 floatComponents:(BOOL)arg3 componentsPerVector:(long long)arg4 bytesPerComponent:(long long)arg5 dataOffset:(long long)arg6 dataStride:(long long)arg7; - method
+ (id)geometrySourceWithNormals:(const struct SCNVector3 { float x0; float x1; float x2; } *)arg0 count:(long long)arg1; - method
+ (id)geometrySourceWithTextureCoordinates:(const struct CGPoint { double x0; double x1; } *)arg0 count:(long long)arg1; - method
+ (id)geometrySourceWithVertices:(const struct SCNVector3 { float x0; float x1; float x2; } *)arg0 count:(long long)arg1; - method
- (long long)bytesPerComponent; - method
- (long long)componentsPerVector; - method
- (id)data; - method
- (long long)dataOffset; - method
- (long long)dataStride; - method
- (BOOL)floatComponents; - method
- (id)semantic; - method
- (long long)vectorCount; - property
@property(readonly, nonatomic) long long bytesPerComponent; - property
@property(readonly, nonatomic) long long componentsPerVector; - property
@property(readonly, nonatomic) NSData *data; - property
@property(readonly, nonatomic) long long dataOffset; - property
@property(readonly, nonatomic) long long dataStride; - property
@property(readonly, nonatomic) BOOL floatComponents; - property
@property(readonly, nonatomic) NSString *semantic; - property
@property(readonly, nonatomic) long long vectorCount;
Header
@protocol SCNGeometrySourceJSExport <JSExport> @required @property (nonatomic, readonly) NSData *data; @property (nonatomic, readonly) NSString *semantic; @property (nonatomic, readonly) long long vectorCount; @property (nonatomic, readonly) BOOL floatComponents; @property (nonatomic, readonly) long long componentsPerVector; @property (nonatomic, readonly) long long bytesPerComponent; @property (nonatomic, readonly) long long dataOffset; @property (nonatomic, readonly) long long dataStride; + (id)geometrySourceWithData:(id)data semantic:(id)semantic vectorCount:(long long)vectorCount floatComponents:(BOOL)floatComponents componentsPerVector:(long long)vector bytesPerComponent:(long long)component dataOffset:(long long)dataOffset dataStride:(long long)dataStride; + (id)geometrySourceWithNormals:(const struct SCNVector3 *)normals count:(long long)count; + (id)geometrySourceWithTextureCoordinates:(const struct CGPoint *)textureCoordinates count:(long long)count; + (id)geometrySourceWithVertices:(const struct SCNVector3 *)vertices count:(long long)count; - (id)data; - (id)semantic; - (long long)dataOffset; - (BOOL)floatComponents; - (long long)bytesPerComponent; - (long long)componentsPerVector; - (long long)dataStride; - (long long)vectorCount; @end