render animated sprites

From Valve Developer Community
Jump to navigation Jump to search
Wikipedia - Letter.png
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)
Underlinked - Logo.png
This article needs more Wikipedia icon links to other articles to help Wikipedia icon integrate it into the encyclopedia. Please help improve this article by adding links Wikipedia icon that are relevant to the context within the existing text.
January 2024
Render Animated Sprites
This render type renders the particle as a sprite, a simple quad. Depending on the .vmt parameters and renderer settings, this can be a camera facing sprite, a vertically, horizontally, or per-particle oriented sprite.

Generic Operator Options

Generic Render Operator Visibility Options

Animation Rate [float]
Determines the framerate of the animation sequence if the material has one. By default, 1.0 will map to playing the entire sequence length over 1 second.
Animation Fit Lifetime [bool]
If set, the animation will map to the lifespan of the particle (not currently functional)
Orientation Type [integer]
0 = Camera Facing
1 = Rotates on Vertical Axis but otherwise faces camera.
2 = Horizontal
3 = Per Particle Normal Orientation (requires material have $orientation 3 set)
Orientation Control Point [integer]
(not currently functional)
Second Sequence Animation Rate [float]
Determines the framerate of the second animation sequence if the material has one. By default, 1.0 will map to playing the entire sequence length over 1 second.
use animation rate as FPS [bool]
If set, treats the animation rate setting as Frames Per Second. Useful in combination with Lifetime from Sequence initializer to match framerates to lifespans.