Platforms to show: All Mac Windows Linux Cross-Platform
SCNControlMBS control
See also desktop control: DesktopSCNControlMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
control | SceneKit | MBS Mac64bit Plugin | 18.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This control embeds a special SCNView subclass.
Designed for Xojo 2013r1 and newer. May work on Xojo 2012, but not perfectly.
Please use view property to access the underlaying object and set properties.
To learn about rendering events, please check here:
https://developer.apple.com/documentation/scenekit/scnscenerendererdelegate?language=objc
You can set PreferLowPowerDevice and PreferredRenderingAPI properties before initializing a view.
- 26 events
- event BoundsChanged
- event Close
- event Closing
- event ConstructContextualMenu(base as MenuItem, x as Integer, y as Integer) as Boolean
- event ContextualMenuAction(hitItem as MenuItem) as Boolean
- event didCloseContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS)
- event EnableMenuItems
- event FocusLost
- event FocusReceived
- event FrameChanged
- event GotFocus
- event LostFocus
- event MenuBarSelected
- event MouseDown(x as Integer, y as Integer, Modifiers as Integer) As Boolean
- event MouseDrag(x as Integer, y as Integer)
- event MouseUp(x As Integer, y As Integer)
- event Open
- event Opening
- event rendererDidApplyAnimations(time as double)
- event rendererDidApplyConstraints(time as double)
- event rendererDidRenderScene(scene as SCNSceneMBS, time as double)
- event rendererDidSimulatePhysics(time as double)
- event rendererUpdate(time as double)
- event rendererWillRenderScene(scene as SCNSceneMBS, time as double)
- event ScaleFactorChanged(NewFactor as double)
- event willShowContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS)
- property View as SCNViewMBS
Some examples using this control:
- /Mac64bit/SceneKit/Camera with fix elements
- /Mac64bit/SceneKit/Change Backgroundcolor by Click
- /Mac64bit/SceneKit/Free form
- /Mac64bit/SceneKit/Physics
- /Mac64bit/SceneKit/Rotation
- /Mac64bit/SceneKit/SceneKit Hanoi
- /Mac64bit/SceneKit/SceneKit Images
- /Mac64bit/SceneKit/SceneKit Primitives
- /Mac64bit/SceneKit/SceneKit Spheres
- /Mac64bit/SceneKit/Triangle Demo
Blog Entries
- News from the MBS Xojo Plugins in version 21.5
- New desktop controls
- Three new controls for iOS in Xojo
- MBS Xojo Plugins, version 20.6pr3
- MonkeyBread Software Releases the MBS Xojo Plugins in version 20.2
- MBS Xojo Plugins, version 20.2pr1
- MBS Xojo Plugins, version 18.4pr8
Xojo Developer Magazine
- 19.6, page 45: Rotating Christmas Tree, Using the MBS Plugins to create an animated 3D Christmas tree by Stefanie Juchmes
- 18.4, page 39: On the Scene Again (Part 3), Getting Started with SceneKit by Stefanie Juchmes
- 18.1, page 26: On the Scene, Getting Started with SceneKit by Stefanie Juchmes
Release notes
- Version 21.0
- Added SCNIOSControlMBS control for iOS, same as SCNControlMBS control for macOS.
- Version 20.2
- Added renderer events to SCNControlMBS control.
- Version 18.4
- Started SceneKit plugin part with new SCNControlMBS control and new SCNGeometryMBS, SCNNodeMBS, SCNSceneMBS and SCNViewMBS classes.
The items on this page are in the following plugins: MBS Mac64bit Plugin.
ScintillaControlMBS - SCNIOSControlMBS