CK3DCube
public final class CK3DCube : CKCube
CK3DCube manages the displaying of 3D content in three dimensions mode.
-
The camera
CK3DCubeuses for user interaction.Declaration
Swift
public private(set) var camera: CK3DCamera! { get }
-
An object you provide to receive events from
CK3DCube.Declaration
Swift
public weak var delegate: CK3DCubeDelegate?
-
Returns a new
CK3DCubeobject linked with given view.Declaration
Swift
public init(inView view: CK3DView)Parameters
inViewThe CK3DView that display content.
-
Start
CK3DCubewith given scene.Attention
Alert Fire a fatal alert if scene is already displayed in another cube. Fire a fatal alert if scene does not conform to CKScene Naming Convention.
Declaration
Swift
public override func start(withScene scene: CKScene)Parameters
withSceneThe scene to display in view.
-
Stop
CK3DCubeand release scene.Declaration
Swift
public override func stop()
CK3DCube Class Reference