CK3DCube

public final class CK3DCube : CKCube

CK3DCube manages the displaying of 3D content in three dimensions mode.

  • The camera CK3DCube uses 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 CK3DCube object linked with given view.

    Declaration

    Swift

    public init(inView view: CK3DView)

    Parameters

    inView

    The CK3DView that display content.

  • Start CK3DCube with 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

    withScene

    The scene to display in view.

  • Stop CK3DCube and release scene.

    Declaration

    Swift

    public override func stop()