Difference between revisions of "Point camera"

From Valve Developer Community
Jump to: navigation, search
(started)
 
(Entity Description)
Line 1: Line 1:
 
== Entity Description ==
 
== Entity Description ==
Camera entity. The view of this camera can be output in realtime to a [[func_monitor]]'s monitor surface.
+
Camera entity. The view of this camera can be output in realtime to a [[func_monitor]]'s monitor surface, or altenately (using [[info_camera_link]]) to any named brush entity using the correct monitor texture.
 
 
  
 
== Keys ==
 
== Keys ==

Revision as of 20:07, 5 July 2005

Entity Description

Camera entity. The view of this camera can be output in realtime to a func_monitor's monitor surface, or altenately (using info_camera_link) to any named brush entity using the correct monitor texture.

Keys

Parent parentname <target_destination> The name of this entity's parent in the movement hierarchy. Entities with parents move with their parent.

Pitch Yaw Roll (Y Z X) angles <angle> This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.

spawnflags spawnflags <flags>

Name targetname <target_source> The name that other entities refer to this entity by. This is the value used for a func_monitor's Camera name key to bind its view.

FOV 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.

Screen Aspect Ratio UseScreenAspectRatio <choices>

Fog Enable fogEnable <choices>

Fog Color fogColor <color255>

Fog Start fogStart <float> The near fog plane.

Fog End fogEnd <float> The far fog/clipping plane.


Inputs

SetParent <string> 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.

ClearParent Removes this entity from the the movement hierarchy, leaving it free to move independently.

ChangeFOV <string> Changes camera's FOV over time

SetOnAndTurnOthersOff Turn the camera on, and turn all other cameras off.

SetOn Turn the camera on.

SetOff Turn the camera off.



See Also

List of entities