Info projecteddecal: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
No edit summary
Line 1: Line 1:
{{wrongtitle|title=info_projecteddecal}}
{{base_point}} It projects a [[decal]] onto anything capable of receiving one. If it has no no target name then the decal will be applied as soon as the map loads; otherwise it will wait for the '''Activate''' input.
{{base_point}}


== Entity description ==
See also [[Decals]].
An entity that projects a decal onto the world (or props). If the decal has no target name, it will immediately apply itself when the level is loaded. If it has a name specified, it won't apply until it receives the '''Activate''' input.  


* See also [[Decals|Creating Decals]]
== Keyvalues ==
* See also [[Infodecal]]}}


{{in code|class=class_c_projected_decal.html CProjectedDecal|file=world_8cpp-source.html world.cpp}}
*'''texture'''
 
:<decal> The image to apply as a decal.
== Keyvalues ==
*'''Distance'''
:<float> Maximum distance from the entity to project the decal.
*{{KV Targetname}}
*{{KV Targetname}}
*{{KV Angles}}
*{{KV Angles}}
*'''texture'''
:<decal>
*'''Distance'''
:<float> Distance from the origin to project the decal.


== Inputs ==
== Inputs ==
*{{I Targetname}}
 
*'''Activate'''
*'''Activate'''
:Force the decal to apply itself to the world.
:Force the decal to apply itself to the world.
*{{I Targetname}}


== Outputs ==
== Outputs ==
*{{O Targetname}}
*{{O Targetname}}
{{wrongtitle|title=info_projecteddecal}}

Revision as of 15:11, 17 March 2009

Template:Base point It projects a decal onto anything capable of receiving one. If it has no no target name then the decal will be applied as soon as the map loads; otherwise it will wait for the Activate input.

See also Decals.

Keyvalues

  • texture
<decal> The image to apply as a decal.
  • Distance
<float> Maximum distance from the entity to project the decal.
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

Pitch Yaw Roll (Y Z X) (angles) <QAngle>
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.

Inputs

  • Activate
Force the decal to apply itself to the world.

Outputs

Template:Wrongtitle