Structure

SCNSceneSource.AnimationImportPolicy

Options for playing animations loaded from a scene file, used with the animationImportPolicy key in options dictionaries.

Declaration

struct AnimationImportPolicy

Topics

Type Properties

static let doNotPlay: SCNSceneSource.AnimationImportPolicy

Animations are not loaded from the scene file.

static let play: SCNSceneSource.AnimationImportPolicy

Animations loaded from the scene file are immediately added to the scene and played once.

static let playRepeatedly: SCNSceneSource.AnimationImportPolicy

Animations loaded from the scene file are immediately added to the scene and played repeatedly.

static let playUsingSceneTimeBase: SCNSceneSource.AnimationImportPolicy

Animations loaded from the scene file are immediately added to the scene and played according to the scene’s sceneTime property.

Relationships