Platforms to show: All Mac Windows Linux Cross-Platform
SCNCameraMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | SceneKit | MBS Mac64bit Plugin | 18.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
To display a scene, you must designate a node whose camera property contains a camera object as the point of view.
The SCNNode object containing a camera defines a point of view—that is, the position and orientation of the camera. A camera’s direction of view is always along the negative z-axis of the node’s local coordinate system. To point the camera at different parts of your scene, use the position, rotation, or transform property of the node containing it. (Alternatively, to ensure that a camera always points at a particular element of your scene even when that element moves, attach a SCNLookAtConstraint object to the node containing the camera.)
An SCNCamera object itself defines the shape and, in part, the appearance of the rendered scene as seen from its point of view. By default, a camera defines a perspective projection, whose field of view (FOV) and near and far visibility limits you control using the properties listed in Adjusting Camera Perspective and illustrated below.
- 42 properties
- property ApertureBladeCount as Integer
- property AutomaticallyAdjustsZRange as Boolean
- property averageGray as Double
- property bloomBlurRadius as Double
- property bloomIntensity as Double
- property bloomThreshold as Double
- property colorFringeIntensity as Double
- property colorFringeStrength as Double
- property colorGrading as SCNMaterialPropertyMBS
- property contrast as Double
- property exposureAdaptationBrighteningSpeedFactor as Double
- property exposureAdaptationDarkeningSpeedFactor as Double
- property exposureOffset as Double
- property FieldOfView as Double
- property FocalBlurSampleCount as Integer
- property FocalLength as Double
- property focusDistance as Double
- property fStop as Double
- property Handle as Integer
- property maximumExposure as Double
- property minimumExposure as Double
- property motionBlurIntensity as Double
- property Name as String
- property orthographicScale as Double
- property ProjectionDirection as Integer
- property projectionTransform as SCNMatrix4MBS
- property saturation as Double
- property screenSpaceAmbientOcclusionBias as Double
- property screenSpaceAmbientOcclusionDepthThreshold as Double
- property screenSpaceAmbientOcclusionIntensity as Double
- property screenSpaceAmbientOcclusionNormalThreshold as Double
- property screenSpaceAmbientOcclusionRadius as Double
- property SensorHeight as Double
- property UsesOrthographicProjection as Boolean
- property vignettingIntensity as Double
- property vignettingPower as Double
- property WantsDepthOfField as Boolean
- property WantsExposureAdaptation as Boolean
- property WantsHDR as Boolean
- property whitePoint as Double
- property zFar as Double
- property zNear as Double
- 2 methods
- method Constructor
- method copy as SCNCameraMBS
- shared method camera as SCNCameraMBS
- 2 constants
Orthographic Projection
Constant | Value | Description |
---|---|---|
kProjectionDirectionHorizontal | 1 |
The camera's field of view or orthographic scale are measured horizontally. |
kProjectionDirectionVertical | 0 |
The camera's field of view or orthographic scale are measured vertically. |
This class has no sub classes.
Some properties using for this class:
- SCNNodeMBS.Camera as SCNCameraMBS
Some examples using this class:
- /Mac64bit/SceneKit/Camera
- /Mac64bit/SceneKit/Camera with fix elements
- /Mac64bit/SceneKit/Free form
- /Mac64bit/SceneKit/SceneKit Images
- /Mac64bit/SceneKit/Triangle Demo
Blog Entries
Release notes
- Version 18.5
- Added SCNCameraMBS, SCNLightMBS and SCNCameraControllerMBS classes.
The items on this page are in the following plugins: MBS Mac64bit Plugin.
SCNCameraControllerMBS - SCNCapsuleMBS