Base class: Entity
The camera class is an entity used to render the world.
| Property | Type | Description |
|---|---|---|
| AddPostEffect | Method | Adds a post-processing effect to the post-processing effects stack. |
| ClearPostEffects | Method | Clears the post-processing effects stack. |
| GetFog | Method | returns the camera fog mode |
| GetFogAngle | Method | returns the camera fog angle on the horizone |
| GetFogColor | Method | returns the camera fog color |
| GetFogRange | Method | returns the camera fog distance |
| GetFov | Method | returns the camera field-of-view |
| GetProjectionMode | Method | returns the camera projection mode |
| GetRange | Method | returns the camera near and far range |
| GetZoom | Method | returns the camera zoom value |
| Pick | Method | performs a raycast at the specified screen coordinates |
| Project | Method | projects a position from world to screen space |
| Render | Method | refreshes a camera view, for non-realtime cameras |
| SetBackfaceCulling | Method | overrides the backface culling mode of all objects |
| SetClearColor | Method | sets the color to clear the screen with |
| SetClearMode | Method | controls color and depth clearing |
| SetDepthPrepass | Method | sets the camera depth pre-pass mode |
| SetFog | Method | sets the camera fog mode |
| SetFogAngle | Method | sets the camera fog angle on the horizone |
| SetFogColor | Method | sets the camera fog color |
| SetFogRange | Method | sets the camera fog distance |
| SetFov | Method | sets the camera field of view |
| SetMsaa | Method | sets the camera antialias mode |
| SetOrder | Method | sets the camera draw order |
| SetProjectionMode | Method | sets the camera projection mode |
| SetRange | Method | sets the camera near and far range |
| SetRealtime | Method | sets realtime rendering mode |
| SetRefraction | Method | enables or disables transparency refraction |
| SetRenderTarget | Method | for render-to-texture |
| SetSsr | Method | sets the camera screen-space reflection mode |
| SetSweptCulling | Method | sets camera swept culling mode |
| SetTessellation | Method | sets camera tessellation density |
| SetUniform | Method | sets a value in a post-processing shader |
| SetZoom | Method | sets the camera zoom |
| UnProject | Method | unprojects a position from screen to world space |
| CreateCamera | Function | creates a new camera entity |