Env texturetoggle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
(Cleanup)
Line 1: Line 1:
{{wrongtitle|title=env_texturetoggle}}
{{base point|env_texturetoggle}}
{{base_point}}


==Entity Description==
==Entity Description==
[[File:env_texturetoggle.png|left|link=]]
An entity that allows you to change the textures on other brush-built entities.
An entity that allows you to change the textures on other brush-built entities.
{{clr}}


==Keyvalues==
== Keyvalues ==
{{KV|Target Brush(es).|target_destination|Name of the brushes or [[info_overlay]]s.}}
{{KV Targetname}}


* {{KV Targetname}}
== Inputs ==
{{IO|IncrementTextureIndex|Increments target brush's current texture frame by one.}}
{{IO|SetTextureIndex|Sets target brush's texture frame to the specified index.|param=integer}}
{{I Targetname}}


* '''target'''
== Outputs ==
: <target_destination> Target Brush(es).
{{O Targetname}}
 
==Inputs==
 
* {{I Targetname}}
 
* '''IncrementTextureIndex'''
: Increments target brush's current texture frame by one.
 
* '''SetTextureIndex <integer>'''
: Sets target brush's texture frame to the specified index.
 
==Outputs==
 
* {{O Targetname}}

Revision as of 11:25, 9 June 2011

Template:Base point

Entity Description

Env texturetoggle.png

An entity that allows you to change the textures on other brush-built entities.

Keyvalues

Target Brush(es). ([todo internal name (i)]) <targetname>
Name of the brushes or info_overlays.
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

IncrementTextureIndex
Increments target brush's current texture frame by one.
SetTextureIndex <integerRedirectInput/integer>
Sets target brush's texture frame to the specified index.


Outputs