Template:KV RenderFields: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(I'm sure this is deprecated by Template:KV_BaseAnimating)
m (Removed a newline.)
Line 1: Line 1:
<noinclude>
{{deprecated|'''For new entity pages, please use [[Template:KV BaseAnimating]] instead.'''}}
{{note|'''This template is deprecated. For new entity pages, please use [[Template:KV BaseAnimating]] instead.'''}}
The following is the result of <code><nowiki>{{KV RenderFields}}</nowiki></code>:
</noinclude>
 
{{minititle|RenderFields}}
 
<onlyinclude>{{minititle|RenderFields}}
{{KV|[[Render Mode]]|intn=rendermode|choices|Set a non-standard rendering mode on this entity.}}
{{KV|[[Render Mode]]|intn=rendermode|choices|Set a non-standard rendering mode on this entity.}}
:{{ExpandBox|
:{{ExpandBox|
Line 19: Line 20:
{{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}}<noinclude>[[Category:Keyvalue Templates|RenderFields]]</noinclude>
{{KV RenderFXChoices}}</onlyinclude>
 
[[Category:Keyvalue Templates|RenderFields]]

Revision as of 07:43, 16 May 2022

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) <choices>
Set a non-standard rendering mode on this entity.

  • 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
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.
Render FX (renderfx) <byte choices>
Various somewhat legacy alpha effects. See render effects.