Info projecteddecal: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Availability: class&file)
m (minoro)
Line 1: Line 1:
{{wrongtitle|title=info_projecteddecal}}
{{wrongtitle|title=info_projecteddecal}}


==Entity Description==
== 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.  
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.  


==Availability==
== Availability ==
{{in game|point}} {{game-base}}
{{in game|point}} {{game-base}}
{{in code|class=class_c_projected_decal.html CProjectedDecal|file=world_8cpp-source.html world.cpp}}
{{in code|class=class_c_projected_decal.html CProjectedDecal|file=world_8cpp-source.html world.cpp}}


==Keyvalues==
== Keyvalues ==
*{{kv targetname}}
*{{kv targetname}}
*{{kv angles}}
*{{kv angles}}
Line 16: Line 16:
:<float> Distance from the origin to project the decal.
:<float> Distance from the origin to project the decal.


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


==Outputs==
== Outputs ==
*{{o targetname}}
*{{o targetname}}


==See Also==
== See also ==
 
* [[Decals|Creating Decals]]
* [[Creating Decals]]
* [[Infodecal]]
* [[Infodecal]]


[[Category:Entities]]
[[Category:Entities]]

Revision as of 04:01, 11 February 2008

Template:Wrongtitle

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.

Availability

Template:In game Template:Game-base Template:In code

Keyvalues

<decal>
  • Distance
<float> Distance from the origin to project the decal.

Inputs

Force the decal to apply itself to the world.

Outputs

See also