SpriteCard: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(SpriteCard rewrite, reorganized parameters and added a load of undocumented parameters from newer engine branches)
Line 30: Line 30:


=== Orientation ===
=== Orientation ===
{{MatParam|$orientation|int|0 {{=}} always face camera, 1 {{=}} rotate around z, 2 {{=}} parallel to ground}}
{{MatParam|$orientation|int|0 {{=}} always face camera, 1 {{=}} rotate around z, 2 {{=}} parallel to ground, 3 {{=}} parallel to control point's surface}}
{{MatParam|$orientationmatrix|matrix|Matrix used to orient in orientation mode 2.|since={{l4d}}}}
{{MatParam|$orientationmatrix|matrix|Matrix used to orient in orientation mode 2.|since={{l4d}}}}
{{MatParam|$aimatcamera|bool|Aim at camera using orientation mode 1.|only={{csgo}}}}
{{MatParam|$aimatcamera|bool|Aim at camera using orientation mode 1.|only={{csgo}}}}

Revision as of 16:03, 24 November 2022