Point camera
From Valve Developer Community
| Table of contents |
[edit]
Entity Description
The view of this camera entity can be output in realtime to a func_monitor's monitor surface, or alternately (using info_camera_link) to any named brush entity using the correct monitor texture. Note that only one point_camera can be active at any one time.
[edit]
Keyvalues
- targetname <target_source>
- Defines the name that other entities refer to this entity by.
- hammerid [Episode Two Update]
- <integer readonly> This id is used for debugging purposes in Hammer.
- parentname <target_destination>
- Specifies the targetname of this entity's Parent in a movement hierarchy. Child entities move with their Parent.
- Pitch Yaw Roll (Y Z X)
- This entity's angular orientation in the world (also used for angular effect entities).
- FOV
- <float> Field of view in degrees. 90 is a good starting point for a decent view. Lower value is narrower and a larger value is a wider view.
- UseScreenAspectRatio
- <boolean>
- fogEnable
- <boolean>
- fogColor
- <color255> Fog Color
- fogStart
- <float> The near fog plane.
- fogEnd
- <float> The far fog/clipping plane.
[edit]
Flags
- 1: Start Off
[edit]
Inputs
- SetParent <target_destination>
- Changes the entity's parent in the movement hierarchy.
- SetParentAttachment <string>
- Change this entity to attach to a specific attachment point on its parent. Entities must be parented before being sent this input. The parameter passed in should be the name of the attachment.
- SetParentAttachmentMaintainOffset <string> [Episode One Update]
- Change this entity to attach to a specific attachment point on it's parent. Entities must be parented before being sent this input. The parameter passed in should be the name of the attachment. The entity will maintain it's position relative to the Parent's Origin and Angles at the time it is attached.
- Removes this entity from its current movement hierarchy.
- 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.
