truncateHairCache
truncateHairCache は、取り消し可能、照会可能、および編集可能です。
このコマンドは、ヘア キャッシュの終了時間を現在のタイムに設定します。現在のタイムがキャッシュの終了時間より短い場合はキャッシュを切り捨て、現在のタイムを含む、現在のタイムまでの部分のみを保持します。なし
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
// 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;