Platforms to show: All Mac Windows Linux Cross-Platform
SCNConstraintMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
To control the transform (position, rotation, and scale) of one or more SCNNodeMBS objects with constraints, create and configure instances of the SCNConstraint subclass that provides the behavior you want, then add those constraint objects to each node's constraints array.
When SceneKit prepares to render a scene, it examines the list of constraints attached to each node to determine the transform for that node, then applies the new transformation before displaying the scene.
- 4 properties
- property Enabled as Boolean
- property Handle as Integer
- property Incremental as Boolean
- property influenceFactor as Double
- 2 methods
- method Constructor
- method copy as SCNConstraintMBS
Sub classes:
- class SCNBillboardConstraintMBS
- class SCNDistanceConstraintMBS
- class SCNIKConstraintMBS
- class SCNLookAtConstraintMBS
- class SCNReplicatorConstraintMBS
- class SCNSliderConstraintMBS
- class SCNTransformConstraintMBS
Some methods using this class:
- SCNNodeMBS.constraints as SCNConstraintMBS()
- SCNNodeMBS.setConstraints(constraints() as SCNConstraintMBS)
Blog Entries
Release notes
- Version 19.1
The items on this page are in the following plugins: MBS Mac64bit Plugin.