docs.unity3d.com
    Show / Hide Table of Contents

    Interface ITakeBinding

    Represents a binding between a name and an object that a take uses in the scene.

    Namespace: Unity.LiveCapture
    Syntax
    public interface ITakeBinding : IEquatable<ITakeBinding>
    Remarks

    To play recorded takes, the PlayableDirector requires scene bindings for its tracks. Take bindings help prepare the PlayableDirector's bindings. With the take bindings stored in a take, the playback system can recover the scene object associated with a track. All the takes recorded with the same binding name resolve to the same scene object, which facilitates swapping takes for playback.

    Properties

    Type

    The type of the value of the binding.

    Declaration
    Type Type { get; }
    Property Value
    Type Description
    Type

    Methods

    ClearValue(IExposedPropertyTable)

    Clears the value of the binding.

    Declaration
    void ClearValue(IExposedPropertyTable resolver)
    Parameters
    Type Name Description
    IExposedPropertyTable resolver

    The resolve table.

    GetValue(IExposedPropertyTable)

    Gets the resolved value of the binding.

    Declaration
    UnityEngine.Object GetValue(IExposedPropertyTable resolver)
    Parameters
    Type Name Description
    IExposedPropertyTable resolver

    The resolve table.

    Returns
    Type Description
    UnityEngine.Object

    The resolved object reference.

    SetName(String)

    Sets the name of the binding.

    Declaration
    void SetName(string name)
    Parameters
    Type Name Description
    String name

    The name of the binding.

    SetValue(UnityEngine.Object, IExposedPropertyTable)

    Sets the value of the binding.

    Declaration
    void SetValue(UnityEngine.Object value, IExposedPropertyTable resolver)
    Parameters
    Type Name Description
    UnityEngine.Object value

    The object reference to set.

    IExposedPropertyTable resolver

    The resolve table.

    Back to top
    Terms of use
    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