Interface ITakeBuilder
Represents a Take asset creator.
Namespace: Unity.LiveCapture
Syntax
public interface ITakeBuilder
Methods
CreateAnimationTrack(String, Animator, AnimationClip)
Creates an animation track.
Declaration
void CreateAnimationTrack(string name, Animator animator, AnimationClip animationClip)
Parameters
Type | Name | Description |
---|---|---|
String | name | The name of the track. |
Animator | animator | The target animator component to bind. |
AnimationClip | animationClip | The animation clip to set into the new track. |
Remarks
This method checks if another animation track is using the same binding. In that case, the new track becomes an override of the existing one.
CreateAnimationTrack(String, Animator, AnimationClip, ITrackMetadata)
Creates an animation track.
Declaration
void CreateAnimationTrack(string name, Animator animator, AnimationClip animationClip, ITrackMetadata metadata)
Parameters
Type | Name | Description |
---|---|---|
String | name | The name of the track. |
Animator | animator | The target animator component to bind. |
AnimationClip | animationClip | The animation clip to set into the new track. |
ITrackMetadata | metadata | The metadata associated with the new track. |
Remarks
This method checks if another animation track is using the same binding. In that case, the new track becomes an override of the existing one.