Struct PropertyBinding
Defines how a curve is attached to an object that it controls.
Namespace: Unity.LiveCapture
Assembly: Unity.LiveCapture.dll
Syntax
public struct PropertyBinding
Constructors
PropertyBinding(string, string, Type)
Creates a new PropertyBinding instance.
Declaration
public PropertyBinding(string relativePath, string propertyName, Type type)
Parameters
| Type | Name | Description |
|---|---|---|
| string | relativePath | The path of the GameObject this binding applies to, relative to the root GameObject. |
| string | propertyName | The name or path to the property that is animated. |
| Type | type | The type of component this binding is applied to. |
Properties
PropertyName
The name or path to the property that is animated.
Declaration
public readonly string PropertyName { get; }
Property Value
| Type | Description |
|---|---|
| string |
RelativePath
The path of the GameObject this binding applies to, relative to the root GameObject.
Declaration
public readonly string RelativePath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Type
The type of component this binding is applied to.
Declaration
public readonly Type Type { get; }
Property Value
| Type | Description |
|---|---|
| Type |
Methods
Equals(object)
Determines whether the specified object is equal to the current PropertyBinding.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The object to compare with the current PropertyBinding. |
Returns
| Type | Description |
|---|---|
| bool | True if the specified object is equal to the current PropertyBinding; otherwise, false. |
Overrides
Equals(PropertyBinding)
Determines whether the PropertyBinding instances are equal.
Declaration
public bool Equals(PropertyBinding other)
Parameters
| Type | Name | Description |
|---|---|---|
| PropertyBinding | other | The other PropertyBinding to compare with the current object. |
Returns
| Type | Description |
|---|---|
| bool | True if the specified object is equal to the current object; otherwise, false. |
GetHashCode()
Gets the hash code for the PropertyBinding.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | The hash value generated for this PropertyBinding. |
Overrides
Operators
operator ==(PropertyBinding, PropertyBinding)
Determines whether the two specified PropertyBinding are equal.
Declaration
public static bool operator ==(PropertyBinding a, PropertyBinding b)
Parameters
| Type | Name | Description |
|---|---|---|
| PropertyBinding | a | The first PropertyBinding. |
| PropertyBinding | b | The second PropertyBinding. |
Returns
| Type | Description |
|---|---|
| bool | True if the specified PropertyBinding are equal; otherwise, false. |
operator !=(PropertyBinding, PropertyBinding)
Determines whether the two specified PropertyBinding are different.
Declaration
public static bool operator !=(PropertyBinding a, PropertyBinding b)
Parameters
| Type | Name | Description |
|---|---|---|
| PropertyBinding | a | The first PropertyBinding. |
| PropertyBinding | b | The second PropertyBinding. |
Returns
| Type | Description |
|---|---|
| bool | True if the specified PropertyBinding are different; otherwise, false. |