Template:KV RenderFields: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (add {{Lang}})
No edit summary
Line 2: Line 2:
{{deprecated|'''For new entity pages, please use [[Template:KV BaseAnimating]] instead.'''}}
{{deprecated|'''For new entity pages, please use [[Template:KV BaseAnimating]] instead.'''}}
The following is the result of <code><nowiki>{{KV RenderFields}}</nowiki></code>:
The following is the result of <code><nowiki>{{KV RenderFields}}</nowiki></code>:


<onlyinclude>{{minititle|RenderFields}}
<onlyinclude>{{minititle|RenderFields}}
{{KV|[[Render Mode]]|intn=rendermode|choices|Set a non-standard rendering mode on this entity.}}
{{KV Rendermode}}
:{{ExpandBox|
{{KV RenderFXChoices}}
:*0: Normal
:*1: Color
:*2: Texture
:*3: Glow
:*4: Solid/Alphatest
:*5: Additive
:*6: Removed, does nothing
:*7: Additive Fractional Frame
:*8: Alpha Add
:*9: World Space Glow
:*10: Don't Render}}
{{KV|Render FX / Transparency (0 - 255)|intn=renderamt|int|Transparency amount, requires a Render Mode other than '''Normal'''. 0 is invisible, 255 is fully visible.}}
{{KV|Render FX / Transparency (0 - 255)|intn=renderamt|int|Transparency amount, requires a Render Mode other than '''Normal'''. 0 is invisible, 255 is fully visible.}}
{{KV|Render Color (R G B)|intn=rendercolor|color255|Color tint.}}
{{KV|Render Color (R G B)|intn=rendercolor|color255|Color tint.}}
{{KV|Disable Receiving Shadows|intn=disablereceiveshadows|boolean|Prevent the entity from receiving shadows on itself.}}
{{KV|Disable Receiving Shadows|intn=disablereceiveshadows|boolean|Prevent the entity from receiving shadows on itself.}}
{{KV RenderFXChoices}}</onlyinclude>
</onlyinclude>


[[Category:Keyvalue Templates|RenderFields]]
[[Category:Keyvalue Templates|RenderFields]]

Revision as of 15:35, 20 February 2024

Obsolete-notext.pngDeprecated:For new entity pages, please use Template:KV BaseAnimating instead.

The following is the result of {{KV RenderFields}}:

RenderFields:


Render Mode (rendermode) <byte choices>
Set a non-standard rendering mode on this entity.
Render Modes
  • 0: Normal
  • 1: Color
  • 2: Texture
  • 3: Glow
  • 4: Solid/Alphatest Obsolete
  • 5: Additive
  • 6: Removed, does nothing Obsolete
  • 7: Additive Fractional Frame
  • 8: Alpha Add
  • 9: World Space Glow
  • 10: Don't Render
Render FX (renderfx) <byte choices>
Various somewhat legacy alpha effects. See render effects.
Render FX / Transparency (0 - 255) (renderamt) <integer>
Transparency amount, requires a Render Mode other than Normal. 0 is invisible, 255 is fully visible.
Render Color (R G B) (rendercolor) <color255>
Color tint.
Disable Receiving Shadows (disablereceiveshadows) <boolean>
Prevent the entity from receiving shadows on itself.