point_camera
| CPointCamera |
point_camera is a point entity available in all
Source games.
It is a camera which outputs its view to the _rt_camera texture, which can be displayed using materials such as dev/dev_tvmonitor1a. The camera image will only update if a func_monitor or the entity specified in an info_camera_link is on-screen. Since there is normally only one camera render texture, only one camera can be active at a time unless a mod increases the limit.
point_camera active can cause objects to become invisible through portals. [todo tested in ?]
Workaround:Disable r_portal_fastpathusing a point_clientcommand, this allows cameras and several other portal-related things to work correctly.
Keyvalues
parentname or target).Also displayed in Hammer's 2D views and Entity Report.
Pitch Yaw Roll (Y Z X) (angles) <QAngle>
FOV (FOV) <float>
Screen Aspect Ratio (UseScreenAspectRatio) <boolean>
Use HD Camera? (UseHDCamera) <boolean> (only in
20th)
Fog:
Fog Enable (fogEnable) <boolean>
Fog Color (fogColor) <color255>
Fog Color (HDR Override) (fogColor_HDR) <color255> (only in
20th)
Fog Start (fogStart) <float>
Fog End (fogEnd) <float>
Fog Max Density [0..1] (fogMaxDensity) <float>
Use Radial Fog? (fogRadial) <boolean> (only in
20th,
,
,
)
Flags
- Start Off : [1]
Inputs
- ChangeFOV <string>
- Changes camera's FOV over time
Format:<Target FOV> <Time>
- SetOnAndTurnOthersOff
- Turn the camera on, and turn all other cameras off.
- SetOn
- Turn the camera on.
- SetOff
- Turn the camera off.