Platforms to show: All Mac Windows Linux Cross-Platform
Back to SCNShapeMBS class.
SCNShapeMBS.chamferMode as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
The default value is ChamferModeBoth.
(Read and Write property)
SCNShapeMBS.chamferProfile as NSBezierPathMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
When "chamferProfile" is nil we fallback on a path representing a quadrant.
The profile should be a 2D curve beginning at (0,1) and ending at (1,0). The "flatness" property is also used to flatten this path. The default value is nil.
(Read and Write property)
SCNShapeMBS.chamferRadius as Double
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Values are clamped to the range [0, extrusionDepth / 2]. The default value is 0.
(Read and Write property)
SCNShapeMBS.extrusionDepth as Double
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
If the value is 0, we get a mono-sided, 2D version of the shape.
(Read and Write property)
SCNShapeMBS.path as NSBezierPathMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | SceneKit | MBS Mac64bit Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
The path defines the outline of the shape. The path is filled using the even-odd rule. If the path is self-intersecting, the behavior is undefined.
(Read and Write property)
The items on this page are in the following plugins: MBS Mac64bit Plugin.