AthenaClient.camera.cinematic ​
Interfaces ​
Functions ​
addNode ​
Usage
AthenaClient.camera.cinematic.addNode(node
): any
Add a camera node to the camera set.
Parameters ​
Name | Type |
---|---|
node | iCameraNode |
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 ​
Name | Type | Default value |
---|---|---|
removeFromArray? | boolean | true |
Returns ​
Promise
<boolean
>
Defined in ​
client/camera/cinematic.ts:357
override ​
Usage
AthenaClient.camera.cinematic.override(functionName
, callback
): any
Parameters ​
Name | Type |
---|---|
functionName | "addNode" |
callback | (node : iCameraNode ) => any |
Returns ​
any
Defined in ​
client/camera/cinematic.ts:412
Usage
AthenaClient.camera.cinematic.override(functionName
, callback
): any
Parameters ​
Name | Type |
---|---|
functionName | "destroy" |
callback | () => Promise <void > |
Returns ​
any
Defined in ​
client/camera/cinematic.ts:413
Usage
AthenaClient.camera.cinematic.override(functionName
, callback
): any
Parameters ​
Name | Type |
---|---|
functionName | "overrideNodes" |
callback | (_nodes : iCameraNode []) => any |
Returns ​
any
Defined in ​
client/camera/cinematic.ts:414
Usage
AthenaClient.camera.cinematic.override(functionName
, callback
): any
Parameters ​
Name | Type |
---|---|
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 ​
Name | Type |
---|---|
functionName | "play" |
callback | () => any |
Returns ​
any
Defined in ​
client/camera/cinematic.ts:416
overrideNodes ​
Usage
AthenaClient.camera.cinematic.overrideNodes(_nodes
): any
Parameters ​
Name | Type |
---|---|
_nodes | iCameraNode [] |
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