docs.unity.cn
    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
    TransformTakeBinding
    Namespace: Unity.LiveCapture
    Syntax
    [Serializable]
    public class TakeBinding<T> : ITakeBinding where T : Object
    Type Parameters
    Name Description
    T

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

    Properties

    PropertyName

    The PropertyName of the binding.

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

    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)

    GetValue(IExposedPropertyTable)

    Gets the resolved value of the binding.

    Declaration
    public T GetValue(IExposedPropertyTable resolver)
    Parameters
    Type Name Description
    IExposedPropertyTable resolver

    The resolve table.

    Returns
    Type Description
    T

    The resolved object reference.

    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(Object, IExposedPropertyTable)

    Sets the value of the binding.

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

    The object reference to set.

    IExposedPropertyTable resolver

    The resolve table.

    Implements
    ITakeBinding.SetValue(Object, IExposedPropertyTable)

    Explicit Interface Implementations

    ITakeBinding.GetValue(IExposedPropertyTable)

    Gets the resolved value of the binding.

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

    The resolve table.

    Returns
    Type Description
    Object

    The resolved object reference.

    Implements
    ITakeBinding.GetValue(IExposedPropertyTable)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Monday, July 24, 2023