Platforms to show: All Mac Windows Linux Cross-Platform
SCNVector3MBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Notes: SceneKit uses three-component vectors for a variety of purposes, such as describing node or vertex positions, surface normals, and scale or translation transforms. The different vector components should be interpreted based on the context in which the vector is being used.
- 3 properties
- 3 methods
- method Constructor(x as double = 0.0, y as double = 0.0, z as double = 0.0)
- method copy as SCNVector3MBS
- method equals(other as SCNVector3MBS) as boolean
- 2 shared methods
This class has no sub classes.
Some methods using this class:
- SCNNodeMBS.convertVectorToNode(position as SCNVector3MBS, node as SCNNodeMBS) as SCNVector3MBS
- SCNNodeMBS.lookAt(worldTarget as SCNVector3MBS)
- SCNNodeMBS.lookAt(worldTarget as SCNVector3MBS, worldUp as SCNVector3MBS, localFront as SCNVector3MBS)
- SCNPhysicsBallSocketJointMBS.Constructor(body as SCNPhysicsBodyMBS, anchor as SCNVector3MBS)
- SCNPhysicsBallSocketJointMBS.jointWithBody(bodyA as SCNPhysicsBodyMBS, anchorA as SCNVector3MBS, bodyB as SCNPhysicsBodyMBS, anchorB as SCNVector3MBS) as SCNPhysicsBallSocketJointMBS
- SCNPhysicsBodyMBS.applyForce(direction as SCNVector3MBS, atPosition as SCNVector3MBS, impulse as Boolean)
- SCNPhysicsHingeJointMBS.Constructor(bodyA as SCNPhysicsBodyMBS, axisA as SCNVector3MBS, anchorA as SCNVector3MBS, bodyB as SCNPhysicsBodyMBS, axisB as SCNVector3MBS, anchorB as SCNVector3MBS)
- SCNPhysicsSliderJointMBS.jointWithBody(bodyA as SCNPhysicsBodyMBS, axisA as SCNVector3MBS, anchorA as SCNVector3MBS, bodyB as SCNPhysicsBodyMBS, axisB as SCNVector3MBS, anchorB as SCNVector3MBS) as SCNPhysicsSliderJointMBS
- SCNPhysicsWorldMBS.rayTestWithSegment(origin as SCNVector3MBS, dest as SCNVector3MBS, options as Dictionary = nil) as SCNPhysicsBehaviorMBS()
- SCNViewMBS.projectPoint(Point as SCNVector3MBS) as SCNVector3MBS
Some properties using for this class:
- SCNNodeMBS.WorldRight as SCNVector3MBS
- SCNPhysicsBodyMBS.angularVelocityFactor as SCNVector3MBS
- SCNPhysicsBodyMBS.momentOfInertia as SCNVector3MBS
- SCNPhysicsConeTwistJointMBS.frameA as SCNVector3MBS
- SCNPhysicsContactMBS.contactNormal as SCNVector3MBS
- SCNPhysicsContactMBS.contactPoint as SCNVector3MBS
- SCNPhysicsSliderJointMBS.anchorB as SCNVector3MBS
- SCNPhysicsVehicleWheelMBS.Axle as SCNVector3MBS
- SCNPhysicsVehicleWheelMBS.SteeringAxis as SCNVector3MBS
- SCNSliderConstraintMBS.offset as SCNVector3MBS
Some examples using this class:
- /Mac64bit/SceneKit/Camera
- /Mac64bit/SceneKit/Camera with fix elements
- /Mac64bit/SceneKit/Change Backgroundcolor by Click
- /Mac64bit/SceneKit/Free form
- /Mac64bit/SceneKit/Physics
- /Mac64bit/SceneKit/SceneKit Hanoi
- /Mac64bit/SceneKit/SceneKit Images
- /Mac64bit/SceneKit/SceneKit Primitives
- /Mac64bit/SceneKit/SceneKit Spheres
- /Mac64bit/SceneKit/Triangle Demo
Blog Entries
- Basic Forms in MBS Xojo SceneKit Plugin
- Physics example for SceneKit in Xojo
- MBS Xojo Plugins, version 19.1pr1
Xojo Developer Magazine
- 18.4, page 31: Better Examples - ListBox Part 2, From Ooops! to OOP with the ListBox by Markus Winter
- 18.2, page 21: On the Scene Again (Part 2), Getting Started with SceneKit by Stefanie Juchmes
- 18.1, page 43: Check Your Spelling, Implement Microsoft Word Spelling Checking in your Application by Eugene Dakin
The items on this page are in the following plugins: MBS Mac64bit Plugin.

Links
MBS Xojo Chart Plugins