This article's documentation is for anything that uses the Source engine. Click here for more information.

$sectionframes

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)

$sectionframes is a QC command available in all Source Source games. It causes all the animations that are longer than <min frame count> to be cut into <frame count> sections, stored in separate data blocks. This helps with cache access, especially when used with .ani files.

This defaults to $sectionframes 30 120 if unspecified in the QC file.

Syntax

$sectionframes <frame count> <min frame count>

See also