Torque2D Reference
Loading...
Searching...
No Matches
Public Attributes | List of all members
CameraScopeQuery Struct Reference

#include <netObject.h>

Public Attributes

NetObjectcamera
 Pointer to the viewing object.
 
Point3F pos
 Position in world space.
 
Point3F orientation
 Viewing vector in world space.
 
F32 fov
 Viewing angle/2.
 
F32 sinFov
 sin(fov/2);
 
F32 cosFov
 cos(fov/2);
 
F32 visibleDistance
 Visible distance.
 

Member Data Documentation

◆ camera

NetObject* camera

Pointer to the viewing object.

◆ cosFov

F32 cosFov

cos(fov/2);

◆ fov

F32 fov

Viewing angle/2.

◆ orientation

Point3F orientation

Viewing vector in world space.

◆ pos

Point3F pos

Position in world space.

◆ sinFov

F32 sinFov

sin(fov/2);

◆ visibleDistance

F32 visibleDistance

Visible distance.


The documentation for this struct was generated from the following file: