Type CameraComponent
Namespace
GloryEngine.Entities
Summary
Handle for a CameraComponent component
Properties
HalfFOV
Half angle of the Field of View in degrees
Near
How close objects can get to the camera before they are clipped
Far
How far the camera should render before objects are clipped
DisplayIndex
The index of the display this camera should render to
This is an internal display
Priority
Controls rendering order, ordered by high to low
LayerMask
Mask of layers this camera renders
ClearColor
The color the target is cleared with before rendering the camera to it
Camera
The Camera handle for this component
PickResult
Get the pick result of the last frame
Resolution
Get the rendering resolution for this camera
Methods
PreparePick(GloryEngine.Vector2)
Tell the renderer to pick the backbuffer at the provided screen position during the next render.
Picking happens between regular and late rendering, so late rendered objects are ignored.
NOTE: You can only prepare 1 pick per camera per frame!