Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

SCNViewMBS class

Super class: NSViewMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class SceneKit MBS Mac64bit Plugin 18.4 Yes No No Yes, macOS only No
Function: A view for displaying 3D SceneKit content.
Notes:
In macOS, SCNView is a subclass of NSView. As part of the operating system’s view hierarchy, an SCNView object provides a place for SceneKit content in your app’s user interface. You can create a SceneKit view by using its Constructor method. To provide content for a SceneKit view, assign an SCNSceneMBS object to its scene property.

For additional important methods and properties for working with SceneKit views, see the SCNSceneRenderer protocol. (You can also render SceneKit content into an arbitrary Metal command queue or OpenGL context using the SCNRenderer class, or into a Core Animation layer on macOS using the SCNLayer class. The SCNSceneRenderer protocol defines functionality common to all three SceneKit rendering classes.)

see
https://developer.apple.com/documentation/scenekit/scnview

Requires 64bit app on macOS 10.8 or newer
Subclass of the NSViewMBS class.

Feedback, Comments & Corrections

Super class NSViewMBS

Window Order Constants

Constant Value Description
NSWindowAbove 1 Moves the window above the indicated window.
NSWindowBelow -1 Moves the window below the indicated window.
NSWindowOut 0 Moves the window off the screen.

Super class NSResponderMBS

This class has no sub classes.

Some properties using for this class:

Some examples which use this class:

Blog Entries


The items on this page are in the following plugins: MBS Mac64bit Plugin, MBS MacBase Plugin.


SCNSceneMBS   -   SCPreferencesMBS




Links
MBS Xojo Plugins