EntCamera
Camera
Renders a camera view, which can then be hooked up to a screen
ID: EntCamera
Required By: Camera Post FX
Base Type: Entity Component
Values
Name | Type | Description |
---|---|---|
Camera On | Bool Variable | Defaults to True |
Draw To Screen | Bool Variable | If true the camera will display on the screen, displaying on top of the user's camera. |
Viewport Position | Vector2 Variable | The origin position of the camera display on screen. These values represent a percentage of the screen where(0, 0) is the bottom left, and(1, 1) is the top right. Note that the camera's origin will always be in the bottom left of the viewport, so setting the viewport's x or y value to 1 will cause it to display offscreen. |
Viewport Size | Vector2 Variable | The size of the camera display on the screen. These values represent the percentage of the screen that is covered, so for example a value of (0.3, 0.5) would cover 30% of the screen's width and 50% of the screen's height. |
FPS | Enum Variable | The camera's Frames Per-Second. - Defaults to _30 |
FOV | Number Variable | The camera's Field of View. - Defaults to 60 - degrees |
Resolution | Vector2 Variable | |
Hide Side Screen | Bool Variable | Hides the 'SideScreen' part of the model if this was on a Entity with a camera model |
Methods
Name | Description |
---|---|
Preview UI |
Updated almost 2 years ago