Skip to content
On this page

AthenaClient.camera.cinematic

Interfaces

Functions

addNode

Usage

AthenaClient.camera.cinematic.addNode(node): any

Add a camera node to the camera set.

Parameters

NameType
nodeiCameraNode

Returns

any

Defined in

client/camera/cinematic.ts:327


destroy

Usage

AthenaClient.camera.cinematic.destroy(): Promise<void>

This function will destroy all camera instances

Returns

Promise<void>

Defined in

client/camera/cinematic.ts:305


next

Usage

AthenaClient.camera.cinematic.next(removeFromArray?): Promise<boolean>

Goes to the next camera.

If false is passed in the function it will not remove a camera from the camera array. Allows for repeating camera movement over and over.

Parameters

NameTypeDefault value
removeFromArray?booleantrue

Returns

Promise<boolean>

Defined in

client/camera/cinematic.ts:357


override

Usage

AthenaClient.camera.cinematic.override(functionName, callback): any

Parameters

NameType
functionName"addNode"
callback(node: iCameraNode) => any

Returns

any

Defined in

client/camera/cinematic.ts:412

Usage

AthenaClient.camera.cinematic.override(functionName, callback): any

Parameters

NameType
functionName"destroy"
callback() => Promise<void>

Returns

any

Defined in

client/camera/cinematic.ts:413

Usage

AthenaClient.camera.cinematic.override(functionName, callback): any

Parameters

NameType
functionName"overrideNodes"
callback(_nodes: iCameraNode[]) => any

Returns

any

Defined in

client/camera/cinematic.ts:414

Usage

AthenaClient.camera.cinematic.override(functionName, callback): any

Parameters

NameType
functionName"next"
callback(removeFromArray?: boolean) => Promise<boolean>

Returns

any

Defined in

client/camera/cinematic.ts:415

Usage

AthenaClient.camera.cinematic.override(functionName, callback): any

Parameters

NameType
functionName"play"
callback() => any

Returns

any

Defined in

client/camera/cinematic.ts:416


overrideNodes

Usage

AthenaClient.camera.cinematic.overrideNodes(_nodes): any

Parameters

NameType
_nodesiCameraNode[]

Returns

any

Defined in

client/camera/cinematic.ts:313


play

Usage

AthenaClient.camera.cinematic.play(): any

Play all camera nodes, but do not clear the camera nodes array.

Returns

any

Defined in

client/camera/cinematic.ts:390

Created by Stuyk | Est. 2020