Related help topics 
| Outputs | |||||
| Camera | camera |
The currently active camera. | |||
| Unit | unit |
The unit holding the camera. | |||
Available in both Unit Flow Editor and Level Flow Editor.
Script node definition in file: core/appkit/appkit.script_flow_nodes
| Outputs | |||||
| Distance | float |
The far range of the camera. | |||
| Inputs | |||||
unit | Unit |
|
The unit owning the camera. | ||
camera | Camera |
The camera whose far range you want to retrieve. | |||
Available in both Unit Flow Editor and Level Flow Editor.
| Outputs | |||||
| Position | vector3 |
The position of the camera. | |||
| Inputs | |||||
unit | Unit |
|
The unit owning the camera. | ||
camera | Camera |
The camera whose position you want to retrieve. | |||
Available in both Unit Flow Editor and Level Flow Editor.
| Outputs | |||||
| Rotation | quaternion |
The rotation of the camera. | |||
| Inputs | |||||
unit | Unit |
|
The unit owning the camera. | ||
camera | Camera |
The camera whose rotation you want to retrieve. | |||
Available in both Unit Flow Editor and Level Flow Editor.
| Outputs | |||||
| Distance | float |
The near range of the camera. | |||
| Inputs | |||||
unit | Unit |
|
The unit owning the camera. | ||
camera | Camera |
The camera whose near range you want to retrieve. | |||
Available in both Unit Flow Editor and Level Flow Editor.
| Outputs | |||||
| Angle | float |
The vertical FOV angle in radians. | |||
| Inputs | |||||
unit | Unit |
|
The unit owning the camera. | ||
camera | Camera |
The camera whose vertical FOV you want to retrieve. | |||
Available in both Unit Flow Editor and Level Flow Editor.
| Outputs | |||||
| Position | vector3 |
The world position of the camera. | |||
| Inputs | |||||
unit | Unit |
|
The unit owning the camera. | ||
camera | Camera |
The camera whose position you want to retrieve. | |||
Available in both Unit Flow Editor and Level Flow Editor.
| Outputs | |||||
| Rotation | quaternion |
The world rotation of the camera. | |||
| Inputs | |||||
unit | Unit |
|
The unit owning the camera. | ||
camera | Camera |
The camera whose rotation you want to retrieve. | |||
Available in both Unit Flow Editor and Level Flow Editor.
| Outputs | |||||
| Inside | boolean |
Returns true if the point is inside the frustum and false otherwise. | |||
| Distance | float |
The distance of the point to the frustum. | |||
| Inputs | |||||
unit | Unit |
|
The unit owning the camera. | ||
camera | Camera |
The camera whose frustum you want to test. | |||
vector3 | Position |
|
A point that is tested. | ||
Available in both Unit Flow Editor and Level Flow Editor.
| Outputs | |||||
| Out | event |
This event is triggered when the node finishes its evaluation. | |||
| Inputs | |||||
unit | Unit |
|
The unit owning the camera. | ||
camera | Camera |
The camera to move. | |||
vector3 | Delta Position |
|
The new delta position of the camera. | ||
vector3 | Velocity |
|
The velocity of the camera. | ||
event | In |
This event triggers the evaluation of this node. | |||
Available in both Unit Flow Editor and Level Flow Editor.
| Outputs | |||||
| Ray | vector3 |
The ray cast to the position in world space. | |||
| Inputs | |||||
unit | Unit |
|
The unit owning the camera. | ||
camera | Camera |
The camera whose position and rotation defines the mapping between screen space and world space. | |||
vector3 | Screen Position |
|
A point in screen coordinates. | ||
float | Depth |
|
The depth of the point. | ||
Available in both Unit Flow Editor and Level Flow Editor.
| Outputs | |||||
| World Position | vector3 |
The converted point in world coordinates. | |||
| Inputs | |||||
unit | Unit |
|
The unit owning the camera. | ||
camera | Camera |
The camera whose position and rotation defines the mapping between screen space and world space. | |||
vector3 | Screen Position |
|
A point in screen coordinates (x, y, 0). | ||
float | Depth |
|
The depth of the point. | ||
Available in both Unit Flow Editor and Level Flow Editor.
| Outputs | |||||
| Out | event |
This event is triggered when the node finishes its evaluation. | |||
| Inputs | |||||
camera | Camera |
The camera to set as active for the engine. | |||
unit | Unit |
|
The unit holding the camera. | ||
event | In |
This event triggers the evaluation of this node. | |||
Available in both Unit Flow Editor and Level Flow Editor.
Script node definition in file: core/appkit/appkit.script_flow_nodes
| Outputs | |||||
| Out | event |
This event is triggered when the node finishes its evaluation. | |||
| Inputs | |||||
unit | Unit |
|
The unit owning the camera. | ||
camera | Camera |
The camera whose far range you want to set. | |||
float | Distance |
|
The far range distance. | ||
event | In |
This event triggers the evaluation of this node. | |||
Available in both Unit Flow Editor and Level Flow Editor.
| Outputs | |||||
| Out | event |
This event is triggered when the node finishes its evaluation. | |||
| Inputs | |||||
unit | Unit |
|
The unit owning the camera. | ||
camera | Camera |
The camera whose position you want to set. | |||
vector3 | Position |
|
The position of the camera. | ||
event | In |
This event triggers the evaluation of this node. | |||
Available in both Unit Flow Editor and Level Flow Editor.
| Outputs | |||||
| Out | event |
This event is triggered when the node finishes its evaluation. | |||
| Inputs | |||||
unit | Unit |
|
The unit owning the camera. | ||
camera | Camera |
The camera whose position you want to set. | |||
quaternion | Rotation |
|
The rotation of the camera. | ||
event | In |
This event triggers the evaluation of this node. | |||
Available in both Unit Flow Editor and Level Flow Editor.
| Outputs | |||||
| Out | event |
This event is triggered when the node finishes its evaluation. | |||
| Inputs | |||||
unit | Unit |
|
The unit owning the camera. | ||
camera | Camera |
The camera whose near range you want to set. | |||
float | Distance |
|
The near range distance. | ||
event | In |
This event triggers the evaluation of this node. | |||
Available in both Unit Flow Editor and Level Flow Editor.
| Outputs | |||||
| Out | event |
This event is triggered when the node finishes its evaluation. | |||
| Inputs | |||||
unit | Unit |
|
The unit owning the camera. | ||
camera | Camera |
The camera whose vertical FOV you want to set. | |||
float | Angle |
|
The vertical FOV angle in radians. | ||
event | In |
This event triggers the evaluation of this node. | |||
Available in both Unit Flow Editor and Level Flow Editor.
| Outputs | |||||
| Screen Position | vector3 |
The converted point in screen coordinates. | |||
| Depth | float |
The converted point depth value. | |||
| Inputs | |||||
unit | Unit |
|
The unit owning the camera. | ||
camera | Camera |
The camera whose position and rotation defines the mapping between screen space and world space. | |||
vector3 | World Position |
|
A point in world coordinates. | ||
Available in both Unit Flow Editor and Level Flow Editor.