Template:I Studiomodel: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(AlternativeSorting was NOT added in ep1)
No edit summary
Line 8: Line 8:
: Control the model's cheap render-to-texture shadow.
: Control the model's cheap render-to-texture shadow.
; <code>AlternativeSorting <[[bool]]></code>
; <code>AlternativeSorting <[[bool]]></code>
: Used to attempt to fix sorting problems when rendering. {{todo|What is the effect?}}
: Uses an alternative method for telling which objects are in front of others. Use if this object draws incorrectly when seen through transparent things.
{{IO|SetModelScale|Sets the model scaling factor|param=float|since=TF2}}
{{IO|SetModelScale|Sets the model scaling factor|param=float|since=TF2}}
}}
}}

Revision as of 12:28, 15 January 2019

Studiomodel:
Skin <int>
Changes the model's skin to the specified number.
SetBodyGroup <int>
Set the model's body group.
EnableShadow
DisableShadow
Control the model's cheap render-to-texture shadow.
AlternativeSorting <bool>
Uses an alternative method for telling which objects are in front of others. Use if this object draws incorrectly when seen through transparent things.
SetModelScale <float> (in all games since Team Fortress 2)
Sets the model scaling factor