Info camera link: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (Robot: fixing template case.)
Line 21: Line 21:


== Outputs ==
== Outputs ==
* {{o targetname}}
* {{O Targetname}}
[[Category:Entities]][[Category:Camera]]
[[Category:Entities]][[Category:Camera]]

Revision as of 20:08, 19 January 2009

Template:Wrongtitle Template:Base point

Entity description

Link.png

An entity that can use point_cameras to render images for materials used by entities. To author the material, use the special identifier _rt_Camera for the $baseTexture (or whatever texture you want, like envmap, etc.) in the .vmt then connect the 'target' field to the entity which uses that material, and the 'PointCamera' field to the point_camera you want to have appear on that entity's material.

  • See also func_monitor - An alternative entity devoted to displaying the contents of a point_camera.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

  • target
<target_destination> Entity Whose Material Uses _rt_camera
  • PointCamera
<target_destination> The name of a point_camera entity in the map that the material should be rendered from.

Inputs

  • SetCamera <target_destination>
Set the camera to use. The parameter should be the name of a point_camera entity in the map.

Outputs