Platforms to show: All Mac Windows Linux Cross-Platform
SCNGeometrySourceMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | SceneKit | MBS Mac64bit Plugin | 19.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
You use geometry sources together with SCNGeometryElement objects to define custom SCNGeometry objects or to inspect the data that composes an existing geometry.
see
https://developer.apple.com/documentation/scenekit/scngeometrysource
- 9 properties
- property bytesPerComponent as Integer
- property componentsPerVector as Integer
- property Data as MemoryBlock
- property dataOffset as Integer
- property dataStride as Integer
- property floatComponents as Boolean
- property Handle as Integer
- property semantic as String
- property vectorCount as Integer
- method Constructor
- 13 shared methods
- shared method geometrySourceWithData(data as MemoryBlock, Semantic as String, vectorCount as Integer, floatComponents as boolean, componentsPerVector as Integer, bytesPerComponent as Integer, dataOffset as Integer, dataStride as Integer) as SCNGeometrySourceMBS
- shared method geometrySourceWithNormals(Normals() as SCNVector3MBS) as SCNGeometrySourceMBS
- shared method geometrySourceWithNormals(texcoord() as CGPointMBS) as SCNGeometrySourceMBS
- shared method geometrySourceWithVertices(vertices() as SCNVector3MBS) as SCNGeometrySourceMBS
- shared method SCNGeometrySourceSemanticBoneIndices as String
- shared method SCNGeometrySourceSemanticBoneWeights as String
- shared method SCNGeometrySourceSemanticColor as String
- shared method SCNGeometrySourceSemanticEdgeCrease as String
- shared method SCNGeometrySourceSemanticNormal as String
- shared method SCNGeometrySourceSemanticTangent as String
- shared method SCNGeometrySourceSemanticTexcoord as String
- shared method SCNGeometrySourceSemanticVertex as String
- shared method SCNGeometrySourceSemanticVertexCrease as String
This class has no sub classes.
Some methods using this class:
- SCNGeometryMBS.geometrySources as SCNGeometrySourceMBS()
- SCNGeometryMBS.geometrySourcesForSemantic(semantic as String) as SCNGeometrySourceMBS()
- SCNGeometryMBS.geometryWithSources(sources() as SCNGeometrySourceMBS, elements() as SCNGeometryElementMBS) as SCNGeometryMBS
Some properties using for this class:
- SCNGeometryMBS.edgeCreasesSource as SCNGeometrySourceMBS
Some examples using this class:
Blog Entries
- MBS Xojo Plugins, version 22.1pr1
- MBS Xojo Plugins, version 19.3pr6
- MBS Xojo Plugins, version 19.3pr5
Release notes
- Version 22.1
- Fixed a memory leak in geometrySourceWithNormals and geometrySourceWithVertices functions in SCNGeometrySourceMBS class.
- Version 20.2
- Fixed crash in geometrySourceWithData method in SCNGeometrySourceMBS class.
- Version 19.3
- Added SCNGeometryElementMBS, SCNGeometrySourceMBS, SCNGeometryTessellatorMBS and SCNLevelOfDetailMBS classes for SceneKit.
- Fixed geometrySourceWithData function in SCNGeometrySourceMBS class.
The items on this page are in the following plugins: MBS Mac64bit Plugin.
SCNGeometryMBS - SCNGeometryTessellatorMBS
