SDKs
- iOS 8.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Scene
Kit
Declaration
var automaticallyAdjustsZRange: Bool { get set }
Discussion
The default value of this property is false
, specifying that the camera’s z
and z
properties control its depth limits. If you change this property’s value to true
, SceneKit automatically adjusts the depth limits at render time to fit the bounding box of the scene. Changing the values of the z
and z
properties automatically resets this property’s value to false
.