Go to: Synopsis. Return value. Keywords. MEL examples.

Synopsis

truncateHairCache

truncateHairCache is undoable, queryable, and editable.

This command sets the end time of a hair cache to the current time. If the current time is less than the end time of the cache, the cache is truncated so that only the portion of the cache up to and including the current time is preserved.

Return value

None

In query mode, return type is based on queried flag.

Keywords

truncate, hair, cache

MEL examples

// Truncate a hair cache that has a start time of 1
// and an end time of 25 so that only the first 10
// frames are preserved and the end time of the
// cache is set to 10.
//
currentTime 10;
truncateHairCache;