Info projecteddecal: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(-merged descriptions, concise page)
Line 1: Line 1:
{{base_point|info_projecteddecal}}  
{{base_point|info_projecteddecal}} It projects a [[decal]] onto anything capable of receiving one. If it has no target name then the decal will be applied as soon as the map loads; otherwise it will wait for the '''Activate''' input.  
 
==Entity description==
It projects a [[decal]] onto anything capable of receiving one. If it has no target name then the decal will be applied as soon as the map loads; otherwise it will wait for the '''Activate''' input.  


== Keyvalues ==
== Keyvalues ==
{{KV|texture|decal|The image to apply as a decal. }}
{{KV|texture|intn=texture|decal|The image to apply as a decal. }}
{{KV|Distance|float|Maximum distance from the origin to project the decal.}}
{{KV|Distance|intn=Distance|float|Maximum distance from the origin to project the decal.}}
{{KV Angles}}
{{KV Angles}}
{{KV Targetname}}
{{KV Targetname}}
Line 12: Line 9:
== Inputs ==
== Inputs ==
{{IO|Activate|Force the decal to apply itself to the world.}}
{{IO|Activate|Force the decal to apply itself to the world.}}
{{I Targetname}}
== Outputs ==
{{O Targetname}}


== See also ==
== See also ==
* [[Decals]]
* [[Decals]]

Revision as of 10:50, 28 October 2022

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

Keyvalues

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

Inputs

Activate
Force the decal to apply itself to the world.

See also