Contents

useSafeMode

An option to limit filesystem and network access for external resources referenced by a scene file.

Declaration

static let useSafeMode: SCNSceneSource.LoadingOption

Discussion

The value for this key is an NSNumber object containing a Boolean value. The default value is false.

A scene file may reference external resources, such as image files used as textures in material properties, using relative or absolute URLs, including URLs that identify network resources. If you set this option’s value to true, SceneKit does not load external resources from the network or from sensitive directories in the local filesystem.

See Also

Type Properties