DeleteUnusedCamSeqTracks

導入

v12.0 (2014)

説明

現在使用されていない(カメラにクリップのない)、(すべてのタイプの)すべてのトラックを Camera Sequencer から削除します。

スクリプト構文

DeleteUnusedCamSeqTracks();

JScript の例

// This JScript example shows creation of a bunch of dummy

// shot tracks and their subsequent removal

// using the DeleteUnusedCamSeqTracks command.

// Try running with and without the last line to see the

// difference...it ends up deleting all but two of the tracks

// it creates.

// Create a sphere and a simple static Action.

NewScene( null, false );

// Create some tracks (mostly left empty to be deleted later).

count = 10

oTracks = new Array(count)

for ( i = 0; i < count; i++ )

{

	oTracks[i] = AddTrack("Scene_Root", null, 8, null, null);

}

// Add sources on some tracks.

AddShotClip( oTracks[1], null, null, null, null, null );

AddShotClip( oTracks[4], null, null, null, null, null );

// Finally, delete the unused ones.

DeleteUnusedCamSeqTracks( );

関連項目

AddTrack AddShotClip GetShotClip Track