Platforms to show: All Mac Windows Linux Cross-Platform
SCNSphereMBS class
Super class: SCNGeometryMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Subclass of the SCNGeometryMBS class.
- 3 properties
- property geodesic as Boolean
- property radius as Double
- property segmentCount as Integer
- method Constructor(radius as double)
- shared method sphere(radius as double) as SCNSphereMBS
Super class SCNGeometryMBS
- 10 properties
- property edgeCreasesElement as SCNGeometryElementMBS
- property edgeCreasesSource as SCNGeometrySourceMBS
- property firstMaterial as SCNMaterialMBS
- property geometryElementCount as Integer
- property Handle as Integer
- property Name as String
- property shaderModifiers as Dictionary
- property subdivisionLevel as Integer
- property tessellator as SCNGeometryTessellatorMBS
- property wantsAdaptiveSubdivision as Boolean
- 14 methods
- method Constructor
- method copy as SCNGeometryMBS
- method geometryElementAtIndex(index as Integer) as SCNGeometryElementMBS
- method geometryElements as SCNGeometryElementMBS()
- method geometrySources as SCNGeometrySourceMBS()
- method geometrySourcesForSemantic(semantic as String) as SCNGeometrySourceMBS()
- method insertMaterial(Material as SCNMaterialMBS, Index as Integer)
- method levelsOfDetail as SCNLevelOfDetailMBS()
- method materials as SCNMaterialMBS()
- method materialWithName(name as string) as SCNMaterialMBS
- method removeMaterial(Index as Integer)
- method replaceMaterial(Index as Integer, Material as SCNMaterialMBS)
- method setLevelsOfDetail(LevelsOfDetails() as SCNLevelOfDetailMBS = nil)
- method setMaterials(materials() as SCNMaterialMBS)
- 2 shared methods
- shared method geometry as SCNGeometryMBS
- shared method geometryWithSources(sources() as SCNGeometrySourceMBS, elements() as SCNGeometryElementMBS) as SCNGeometryMBS
This class has no sub classes.
Some examples using this class:
- /Mac64bit/SceneKit/Camera with fix elements
- /Mac64bit/SceneKit/Change Backgroundcolor by Click
- /Mac64bit/SceneKit/SceneKit iOS
- /Mac64bit/SceneKit/SceneKit Primitives
- /Mac64bit/SceneKit/SceneKit Spheres
Blog Entries
Xojo Developer Magazine
- 18.2, page 33: On the Scene Again (Part 2), Getting Started with SceneKit by Stefanie Juchmes
- 18.2, pages 21 to 22: On the Scene Again (Part 2), Getting Started with SceneKit by Stefanie Juchmes
- 18.1, page 35: On the Scene, Getting Started with SceneKit by Stefanie Juchmes
- 18.1, pages 32 to 33: On the Scene, Getting Started with SceneKit by Stefanie Juchmes
- 18.1, page 30: On the Scene, Getting Started with SceneKit by Stefanie Juchmes
- 18.1, page 27: On the Scene, Getting Started with SceneKit by Stefanie Juchmes
Release notes
- Version 19.1
- Added SCNBoxMBS, SCNCapsuleMBS, SCNConeMBS, SCNCylinderMBS, SCNFloorMBS, SCNPlaneMBS, SCNPyramidMBS, SCNShapeMBS, SCNSphereMBS, SCNTextMBS, SCNTorusMBS and SCNTubeMBS classes.
The items on this page are in the following plugins: MBS Mac64bit Plugin.
SCNSliderConstraintMBS - SCNTextMBS