Class TakeBinding<T>
A serializable implementation of ITakeBinding that contains values of type UnityEngine.Object.
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
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
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
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
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. |