CameraInfo
Description
The CameraInfo is used by various components of the Tinman SDK. It serves as a data container for the position and direction of the scene camera, in terrain-space.
Public / Constructors
CameraInfo
Creates a new instance of CameraInfo.
The camera position will be at the coordinate origin.
Public / Methods
ComputeZ
2 overloads
Returns the Z-coordinate of the given point in camera-space.
Returns the Z-coordinate of the given point in camera-space.
Distance
2 overloads
Returns the distance between the given point and the camera position.
Returns the distance between the given point and the camera position.
DistanceSqr
2 overloads
Returns the square distance between the given point and the camera position.
Returns the square distance between the given point and the camera position.
Eye
2 overloads
Computes the eye vector for the given point (direction from point to camera).
Computes the eye vector for the given point (direction from point to camera).