CKCube

public class CKCube : NSObject

An abstract object that defines CKCube implementation basic behaviors.

  • The scene linked with cube.

    Declaration

    Swift

    public private(set) weak var scene: CKScene? { get }
  • The view that display scene.

    Declaration

    Swift

    public private(set) weak var view: CKView? { get }
  • The display type used by this cube instance.

    Declaration

    Swift

    public private(set) var display: CKDisplay! { get }
  • Stop a CK3DCube scene displaying and start a CKARCube with the very same scene.

    Exchange cubes linked views - animated - (Bring CKARView in front of CK3DView).

    Remark

    Do nothing if no scene was linked to CK3DCube.

    Attention

    Fire a fatal alert if scene is already displayed in another cube.

  • Stop a CKARCube scene displaying and start a CK3DCube with the very same scene. Exchange cubes linked views - animated - (Bring CK3DView in front of CKARView).

    Remark

    Do nothing if no scene is linked to CKARCube.

    Attention

    Fire a fatal alert if scene is already displayed in another cube.