camera test

 

 

This node checks whether point is within the camera FOV, calculates point distance from the camera and provides camera object information.

 

 

[Inputs]

 

Enabled - Enable or disable node evaluation.

 

#Position - You can connect particle or any other position to this pin for which you want to perform FOV test. If no position is connected you can still use this node to access camera information.

 

FOV+ - Expands camera FOV by a user defined degrees.

 

 

[Outputs]

 

Outside FOV - This output is set to true (1) if input position is outside of the camera FOV.

 

Inside FOV - This output is set to true (1) if input position is within the camera FOV.

 

Distance - Point distance from the camera. Negative value denotes that particle is behind the camera.

 

Name - Camera name.

 

TM - Camera transformation matrix.

 

Position - Camera position.

 

FOV - Camera FOV.