|
| bool | IsInView (vector worldPos, WorkspaceWidget workspace=null) |
| | Check if position is in camera view for given workspace.
|
| |
| bool | IsInView (vector worldPos, float aspectRatio) |
| | Check if position is in camera view for given aspect ratio.
|
| |
| ScriptInvoker | GetOnActivate () |
| |
| ScriptInvoker | GetOnDeactivate () |
| |
| ScriptInvoker | GetOnCameraActivate () |
| |
| ScriptInvoker | GetOnCameraDeactivate () |
| |
| override void | EOnActivate (IEntity owner) |
| |
| override void | EOnDeactivate (IEntity owner) |
| |
| override void | CameraActivate () |
| | Called the moment this camera is activated by CameraManager.
|
| |
| override void | CameraDeactivate () |
| | Called the moment this camera is deactivated by CameraManager.
|
| |
| override int | _WB_GetAfterWorldUpdateSpecs (IEntitySource src) |
| |
| override void | _WB_AfterWorldUpdate (float timeSlice) |
| |
| proto external void | ApplyTransform (float timeslice) |
| | Manually applies transformation. This is usually done in EOnPostFrame automatically.
|
| |
| proto external void | GetWorldCameraTransform (out vector mat[4]) |
| | Get current camera world transformation.
|
| |
| proto external IEntity | GetCursorTarget () |
| | Performs a raycast from the center of this camera in the forward direction.
|
| |
| proto external IEntity | GetCursorTargetWithPosition (out vector outPosition) |
| | Performs a raycast from the center of this camera in the forward direction.
|
| |
| proto external CameraType | GetProjType () |
| | Get projection type.
|
| |
| proto external float | GetVerticalFOV () |
| | Get the vertical FOV.
|
| |
| proto external float | GetNearPlane () |
| | Get the current near plane clipping value.
|
| |
| proto external float | GetFarPlane () |
| | Get the current far plane clipping value.
|
| |
| proto external void | SetFOVDegree (float fovDegrees) |
| | Set full symmetrical vertical FOV in degrees.
|
| |
| proto external void | SetVerticalFOV (float fov) |
| | Set the vertical FOV.
|
| |
| proto external void | SetNearPlane (float nearPlane) |
| | Set the current near plane clipping value.
|
| |
| proto external void | SetFarPlane (float farPlane) |
| | Set the current far plane value.
|
| |
| proto external void | SetCameraIndex (int cameraIndex) |
| | Set the current camera index.
|
| |
| proto external int | GetCameraIndex () |
| | Get the current camera index.
|
| |
| proto external void | SetLensFlareSet (CameraLensFlareSetType type, string userName) |
| | Sets camera lens flare set.
|
| |
| proto external bool | IsAABBVisible (vector mins, vector maxs) |
| | Test if the AABB is visible against the view frustum of the camera.
|
| |
| proto external bool | IsSphereVisible (vector origin, float radius) |
| | Test if the sphere is visible against the view frustum of the camera.
|
| |
Base class for scripted cameras.