Platforms to show: All Mac Windows Linux Cross-Platform
SCNTubeMBS 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 |
Notes: Subclass of the SCNGeometryMBS class.
- 5 properties
- property height as Double
- property heightSegmentCount as Integer
- property innerRadius as Double
- property outerRadius as Double
- property radialSegmentCount as Integer
- method Constructor(InnerRadius as double, outerRadius as double, height as double)
- shared method tube(InnerRadius as double, outerRadius as double, height as double) as SCNTubeMBS
Super class SCNGeometryMBS
- 9 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 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/SceneKit Hanoi
- /Mac64bit/SceneKit/SceneKit Primitives
- /Mac64bit/SceneKit/Triangle Demo
Blog Entries
Xojo Developer Magazine
- 18.4, page 22: Introducing PowerXS (Part 1), A new tool to make XojoScript easier to use by Marc Zeedar
- 18.2, page 44: From Oops to OOP, How using an object-oriented approach makes programming the ListBox easier and more fun by Markus Winter
The items on this page are in the following plugins: MBS Mac64bit Plugin.
SCNTransformConstraintMBS - SCNVector3MBS

Links
MBS Xojo blog