CameraViewclass

The camera view being composed for a frame - position, rotation and field of view. The camera's owner writes the base values (its transform and `Sandbox.CameraComponent.FieldOfView`), then `Sandbox.ICameraModifier`s reshape them in order, then transient render effects (`Sandbox.CameraEffectSystem`) apply on top. Read the composed result from `Sandbox.CameraComponent.View`.

objectCameraView
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public sealed struct Sandbox.CameraView

Properties2

Showing 2 properties

public Ray Sandbox.CameraView.ForwardRay { get; set; }PUBLICGETSET

The ray looking out of the view - for aim traces from the composed camera.

Returns:Ray

On this page