This function constructs a new Clip instance using the given data, determining its length either from the data or by calculating it from track keyframes.
Parameters
zcomp: ZComponent<any>
The ZComponent instance.
anim: Animation
The Animation instance to which the clip will belong.
Creates a Clip instance from provided data.
This function constructs a new Clip instance using the given data, determining its length either from the data or by calculating it from track keyframes.