One Logo Pool Ball
SceneKit · IOS API REFERENCE

SCNCameraController

class · iOS 11.0+ · SDK 27.1

class SCNCameraController

Members (38)

method · iOS 11.0+

beginInteraction

TypeScript
beginInteraction(location: { x: number; y: number }, viewport: { width: number; height: number }): void
Swift declaration
func beginInteraction(_ location: CGPoint, withViewport viewport: CGSize)
method · iOS 11.0+

clearRoll

TypeScript
clearRoll(): void
Swift declaration
func clearRoll()
method · iOS 11.0+

continueInteraction

TypeScript
continueInteraction(location: { x: number; y: number }, viewport: { width: number; height: number }, sensitivity: number): void
Swift declaration
func continueInteraction(_ location: CGPoint, withViewport viewport: CGSize, sensitivity: CGFloat)
method · iOS 11.0+

dolly

TypeScript
dollyByOnScreenPointViewport(delta: number, point: { x: number; y: number }, viewport: { width: number; height: number }): void
Swift declaration
func dolly(by delta: Float, onScreenPoint point: CGPoint, viewport: CGSize)
method · iOS 11.0+

dolly

TypeScript
dollyToTarget(delta: number): void
Swift declaration
func dolly(toTarget delta: Float)
method · iOS 11.0+

endInteraction

TypeScript
endInteraction(location: { x: number; y: number }, viewport: { width: number; height: number }, velocity: { x: number; y: number }): void
Swift declaration
func endInteraction(_ location: CGPoint, withViewport viewport: CGSize, velocity: CGPoint)
method · iOS 11.0+

frameNodes

TypeScript
frameNodes(nodes: Array<SCNNode>): void
Swift declaration
func frameNodes(_ nodes: [SCNNode])
init

init

TypeScript
static init(): SCNCameraController
Swift declaration
init()
method · iOS 11.0+

rollAroundTarget

TypeScript
rollAroundTarget(delta: number): void
Swift declaration
func rollAroundTarget(_ delta: Float)
method · iOS 11.0+

roll

TypeScript
roll(delta: number, point: { x: number; y: number }, viewport: { width: number; height: number }): void
Swift declaration
func roll(by delta: Float, aroundScreenPoint point: CGPoint, viewport: CGSize)
method · iOS 11.0+

rotateBy

TypeScript
rotateBy(deltaX: number, deltaY: number): void
Swift declaration
func rotateBy(x deltaX: Float, y deltaY: Float)
method · iOS 11.0+

stopInertia

TypeScript
stopInertia(): void
Swift declaration
func stopInertia()
method · iOS 11.0+

translateInCameraSpaceBy

TypeScript
translateInCameraSpaceBy(deltaX: number, deltaY: number, deltaZ: number): void
Swift declaration
func translateInCameraSpaceBy(x deltaX: Float, y deltaY: Float, z deltaZ: Float)
get · iOS 11.0+

automaticTarget

TypeScript
get automaticTarget(): boolean
Swift declaration
var automaticTarget: Bool { get set }
set · iOS 11.0+

automaticTarget

TypeScript
set automaticTarget(value: boolean)
Swift declaration
var automaticTarget: Bool { get set }
get · iOS 11.0+

delegate

TypeScript
get delegate(): (SDKHandle) | null
Swift declaration
unowned(unsafe) var delegate: (any SCNCameraControllerDelegate)? { get set }
set · iOS 11.0+

delegate

TypeScript
set delegate(value: (Implements<SCNCameraControllerDelegate> | SDKHandle) | null)
Swift declaration
unowned(unsafe) var delegate: (any SCNCameraControllerDelegate)? { get set }
get · iOS 11.0+

inertiaEnabled

TypeScript
get inertiaEnabled(): boolean
Swift declaration
var inertiaEnabled: Bool { get set }
set · iOS 11.0+

inertiaEnabled

TypeScript
set inertiaEnabled(value: boolean)
Swift declaration
var inertiaEnabled: Bool { get set }
get · iOS 11.0+

inertiaFriction

TypeScript
get inertiaFriction(): number
Swift declaration
var inertiaFriction: Float { get set }
set · iOS 11.0+

inertiaFriction

TypeScript
set inertiaFriction(value: number)
Swift declaration
var inertiaFriction: Float { get set }
get · iOS 11.0+

isInertiaRunning

TypeScript
get isInertiaRunning(): boolean
Swift declaration
var isInertiaRunning: Bool { get }
get · iOS 11.0+

interactionMode

TypeScript
get interactionMode(): SCNInteractionMode
Swift declaration
var interactionMode: SCNInteractionMode { get set }
set · iOS 11.0+

interactionMode

TypeScript
set interactionMode(value: SCNInteractionMode)
Swift declaration
var interactionMode: SCNInteractionMode { get set }
get · iOS 11.0+

maximumHorizontalAngle

TypeScript
get maximumHorizontalAngle(): number
Swift declaration
var maximumHorizontalAngle: Float { get set }
set · iOS 11.0+

maximumHorizontalAngle

TypeScript
set maximumHorizontalAngle(value: number)
Swift declaration
var maximumHorizontalAngle: Float { get set }
get · iOS 11.0+

maximumVerticalAngle

TypeScript
get maximumVerticalAngle(): number
Swift declaration
var maximumVerticalAngle: Float { get set }
set · iOS 11.0+

maximumVerticalAngle

TypeScript
set maximumVerticalAngle(value: number)
Swift declaration
var maximumVerticalAngle: Float { get set }
get · iOS 11.0+

minimumHorizontalAngle

TypeScript
get minimumHorizontalAngle(): number
Swift declaration
var minimumHorizontalAngle: Float { get set }
set · iOS 11.0+

minimumHorizontalAngle

TypeScript
set minimumHorizontalAngle(value: number)
Swift declaration
var minimumHorizontalAngle: Float { get set }
get · iOS 11.0+

minimumVerticalAngle

TypeScript
get minimumVerticalAngle(): number
Swift declaration
var minimumVerticalAngle: Float { get set }
set · iOS 11.0+

minimumVerticalAngle

TypeScript
set minimumVerticalAngle(value: number)
Swift declaration
var minimumVerticalAngle: Float { get set }
get · iOS 11.0+

pointOfView

TypeScript
get pointOfView(): (SCNNode) | null
Swift declaration
var pointOfView: SCNNode? { get set }
set · iOS 11.0+

pointOfView

TypeScript
set pointOfView(value: (SCNNode) | null)
Swift declaration
var pointOfView: SCNNode? { get set }
get · iOS 11.0+

target

TypeScript
get target(): SCNVector3
Swift declaration
var target: SCNVector3 { get set }
set · iOS 11.0+

target

TypeScript
set target(value: SCNVector3)
Swift declaration
var target: SCNVector3 { get set }
get · iOS 11.0+

worldUp

TypeScript
get worldUp(): SCNVector3
Swift declaration
var worldUp: SCNVector3 { get set }
set · iOS 11.0+

worldUp

TypeScript
set worldUp(value: SCNVector3)
Swift declaration
var worldUp: SCNVector3 { get set }

Skipped declarations

No declarations were skipped in this snapshot.

All SceneKit types →