Platforms to show: All Mac Windows Linux Cross-Platform
Back to SCNConstraintMBS class.
SCNConstraintMBS.Enabled as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Defaults to true.
(Read and Write property)
SCNConstraintMBS.Handle as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
(Read and Write property)
SCNConstraintMBS.Incremental as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Defaults to true on macOS 10.13, iOS 11, tvOS 11 and watchOS 4. Defaults to false in earlier versions.
(Read and Write property)
SCNConstraintMBS.influenceFactor as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Use this property to relax the effect of a constraint on the nodes it applies to. For example, consider a node containing a spotlight, constrained by an SCNLookAtConstraintMBS object to point toward another node containing a moving game character. If the constraint’s influence factor is 1.0, SceneKit adjusts the spotlight node to point directly at the game character each time it renders a frame. If you reduce the influence factor to 0.5, each time SceneKit renders a frame it moves the spotlight halfway from its current orientation to the target orientation. As a result, the spotlight continues to follow the moving character, but with a slight lag.
The default influence factor is 1.0, specifying that SceneKit apply the full effect of the constraint every frame. An influence factor of 0.0 means the constraint has no effect.
This property has no effect on SCNTransformConstraintMBS objects.
(Read and Write property)
The items on this page are in the following plugins: MBS Mac64bit Plugin.