Record and play back the Alembic using an Infinite clip | Alembic | 1.0.7
docs.unity3d.com
    Show / Hide Table of Contents

    Record and play back the Alembic using an Infinite clip

    To control the playback of Alembic, use an Infinite clip on a Timeline Animation Track bound to the GameObject that contains the Alembic Stream Player component.

    1. Select the GameObject with the Alembic Stream Player component and open the Timeline window.
    2. Create a Director component and a Timeline Asset if you don't already have them.
    3. Begin recording, and save keys for the Time property on the Alembic Stream Player component (see Unity documentation on Recording basic animations with an Infinite clip). For example, if the Alembic file lasts 16 seconds, set a key at the beginning of the clip where the Time property is set to 0, and another key at the end of the clip where the Time property is set to 16.
    4. Play back the animation using the Timeline Play controls in the Timeline window.

    Controlling Stream Player With Infinite Clip

    If you want to use the animation in the GameObject's animation state machine, you can convert the Infinite clip into an animation clip and add it to the Animation Controller.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023