env_texturetoggle
< Zh
Jump to navigation
Jump to search
{{subst:#if:|||
Important step for replacing wikilinks after you've created this page
After you click 'Edit' do what the image shows. If you can't see editing toolbar you need to enable it in 'Preferences' -> Editing -> checkbox 'Enable the editing toolbar'
![]() |
参见: {{LAuto}}
|
- Target Brush(es) (target) <target_destination>
- Name of the brush entities or overlays. All
ToggleTexture
materials on all entities (including sprites) matching the targetname will be affected.
Inputs
- IncrementTextureIndex <void>
- Increments target brush's current texture frame by one. In other words: switches to the next texture.
- SetTextureIndex <整数 >
- Sets target brush's texture frame to the specified index.
注意:While this parameter takes an integer, it writes to an unsigned char without any bounds checking. Values above 255 or below 0 will
overflow.