docs.unity3d.com
    Show / Hide Table of Contents

    Class TakeBinding<T>

    A serializable implementation of ITakeBinding that contains values of type UnityEngine.Object.

    Inheritance
    Object
    TakeBinding<T>
    AnimatorTakeBinding
    Namespace: Unity.LiveCapture
    Syntax
    public class TakeBinding<T> : object, ITakeBinding, IEquatable<ITakeBinding> where T : UnityEngine.Object
    Type Parameters
    Name Description
    T

    The type of the TakeBinding. It must be a UnityObject.

    Properties

    Type

    The type of the value of the binding.

    Declaration
    public Type Type { get; }
    Property Value
    Type Description
    Type
    Implements
    ITakeBinding.Type

    Methods

    ClearValue(IExposedPropertyTable)

    Clears the value of the binding.

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

    The resolve table.

    Implements
    ITakeBinding.ClearValue(IExposedPropertyTable)

    Equals(ITakeBinding)

    Declaration
    public bool Equals(ITakeBinding other)
    Parameters
    Type Name Description
    ITakeBinding other
    Returns
    Type Description
    Boolean

    GetValue(IExposedPropertyTable)

    Gets the resolved value of the binding.

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

    The resolve table.

    Returns
    Type Description
    UnityEngine.Object

    The resolved object reference.

    Implements
    ITakeBinding.GetValue(IExposedPropertyTable)

    SetName(String)

    Sets the name of the binding.

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

    The name of the binding.

    Implements
    ITakeBinding.SetName(String)

    SetValue(UnityEngine.Object, IExposedPropertyTable)

    Sets the value of the binding.

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

    The object reference to set.

    IExposedPropertyTable resolver

    The resolve table.

    Implements
    ITakeBinding.SetValue(UnityEngine.Object, IExposedPropertyTable)
    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