Info projecteddecal: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (Robot: fixing template case.)
Line 12: Line 12:
== Keyvalues ==
== Keyvalues ==
*{{kv targetname}}
*{{kv targetname}}
*{{kv angles}}
*{{KV Angles}}
*'''texture'''
*'''texture'''
:<decal>
:<decal>

Revision as of 19:42, 19 January 2009

Template:Wrongtitle Template:Base point

Entity description

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.

Template:In code

Keyvalues

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.
  • texture
<decal>
  • Distance
<float> Distance from the origin to project the decal.

Inputs

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

Outputs