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