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 |
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:
- SCNActionMBS.moveBy(delta as SCNVector3MBS, duration as double) as SCNActionMBS
- SCNActionMBS.moveTo(location as SCNVector3MBS, duration as double) as SCNActionMBS
- SCNGeometrySourceMBS.geometrySourceWithVertices(vertices() as SCNVector3MBS) as SCNGeometrySourceMBS
- SCNNodeMBS.convertPositionFromNode(position as SCNVector3MBS, node as SCNNodeMBS) as SCNVector3MBS
- SCNNodeMBS.convertVectorFromNode(position as SCNVector3MBS, node as SCNNodeMBS) as SCNVector3MBS
- SCNPhysicsBallSocketJointMBS.Constructor(bodyA as SCNPhysicsBodyMBS, anchorA as SCNVector3MBS, bodyB as SCNPhysicsBodyMBS, anchorB as SCNVector3MBS)
- SCNPhysicsBodyMBS.applyForce(direction as SCNVector3MBS, impulse as Boolean)
- SCNPhysicsHingeJointMBS.Constructor(body as SCNPhysicsBodyMBS, axis as SCNVector3MBS, anchor as SCNVector3MBS)
- SCNPhysicsHingeJointMBS.Constructor(bodyA as SCNPhysicsBodyMBS, axisA as SCNVector3MBS, anchorA as SCNVector3MBS, bodyB as SCNPhysicsBodyMBS, axisB as SCNVector3MBS, anchorB as SCNVector3MBS)
- SCNPhysicsHingeJointMBS.jointWithBody(bodyA as SCNPhysicsBodyMBS, axisA as SCNVector3MBS, anchorA as SCNVector3MBS, bodyB as SCNPhysicsBodyMBS, axisB as SCNVector3MBS, anchorB as SCNVector3MBS) as SCNPhysicsHingeJointMBS
Some properties using for this class:
- SCNCameraControllerMBS.target as SCNVector3MBS
- SCNIKConstraintMBS.targetPosition as SCNVector3MBS
- SCNNodeMBS.WorldPosition as SCNVector3MBS
- SCNPhysicsBallSocketJointMBS.anchorB as SCNVector3MBS
- SCNPhysicsContactMBS.contactNormal as SCNVector3MBS
- SCNPhysicsFieldMBS.direction as SCNVector3MBS
- SCNPhysicsHingeJointMBS.anchorB as SCNVector3MBS
- SCNPhysicsVehicleWheelMBS.Axle as SCNVector3MBS
- SCNPhysicsVehicleWheelMBS.ConnectionPosition as SCNVector3MBS
- SCNReplicatorConstraintMBS.positionOffset as SCNVector3MBS
Some examples using this class:
- /Mac64bit/SceneKit/Camera
- /Mac64bit/SceneKit/Camera with fix elements
- /Mac64bit/SceneKit/Change Backgroundcolor by Click
- /Mac64bit/SceneKit/Rotation
- /Mac64bit/SceneKit/SceneKit Hanoi
- /Mac64bit/SceneKit/SceneKit Images
- /Mac64bit/SceneKit/SceneKit iOS
- /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
- 19.6, pages 47 to 48: Rotating Christmas Tree, Using the MBS Plugins to create an animated 3D Christmas tree by Stefanie Juchmes
- 18.4, pages 50 to 51: On the Scene Again (Part 3), Getting Started with SceneKit by Stefanie Juchmes
- 18.4, page 48: On the Scene Again (Part 3), Getting Started with SceneKit by Stefanie Juchmes
- 18.4, pages 43 to 44: On the Scene Again (Part 3), Getting Started with SceneKit by Stefanie Juchmes
- 18.2, pages 36 to 38: On the Scene Again (Part 2), Getting Started with SceneKit by Stefanie Juchmes
- 18.2, page 34: On the Scene Again (Part 2), Getting Started with SceneKit by Stefanie Juchmes
- 18.2, pages 27 to 32: On the Scene Again (Part 2), Getting Started with SceneKit by Stefanie Juchmes
- 18.2, page 21: On the Scene Again (Part 2), Getting Started with SceneKit by Stefanie Juchmes
- 18.1, page 37: On the Scene, Getting Started with SceneKit by Stefanie Juchmes
- 18.1, pages 31 to 33: On the Scene, Getting Started with SceneKit by Stefanie Juchmes
Release notes
- Version 19.1
- Added SCNVector4MBS, SCNMatrix4MBS, SCNVector3MBS, SCNMaterialPropertyMBS and SCNMaterialMBS classes for SceneKit.
The items on this page are in the following plugins: MBS Mac64bit Plugin.