FillSRTChannels

Abstract: For each transformation animation, it searches for keys set on a single channel but not on the others, and adds keys to fill them.

Description: This tool processes only transformation animations (scaling-rotation-translation). Ensures that an animation has keys on all of its channels at a given time. For example, if there's a key at frame 15 on the X-axis, it adds a key to the Y-axis and Z-axis on frame 15, and so on...

Working Scenarios: This tool was originally designed as a part of the DirectSkeleton exporter. This operation helps increase animation processing performance when used in a DirectSkeleton-based application.
This operation ensures correct results in a given animation for target platforms that can process animation channels in groups only (e.g. Direct3DX).

User Usage: Select all animated objects and run the script.

Developer Usage: You can call this tool from any other scripts using the following sub call:
FillSRTChannels( oSelection )

Where oSelection is an XSI objcet collection that contains all objects you to include in the process.
This tool doesn’t return anything.

Nature: Script

Applies To: XSI 3.5 on NT,Win2K,XP

Languages: VBScript