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 Property
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 Property
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current Property |
Returns
Type | Description |
---|---|
bool | True if the specified object is equal to the current Property |
Overrides
Equals(PropertyBinding)
Determines whether the Property
Declaration
public bool Equals(PropertyBinding other)
Parameters
Type | Name | Description |
---|---|---|
Property |
other | The other Property |
Returns
Type | Description |
---|---|
bool | True if the specified object is equal to the current object; otherwise, false. |
GetHashCode()
Gets the hash code for the Property
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | The hash value generated for this Property |
Overrides
Operators
operator ==(PropertyBinding, PropertyBinding)
Determines whether the two specified Property
Declaration
public static bool operator ==(PropertyBinding a, PropertyBinding b)
Parameters
Type | Name | Description |
---|---|---|
Property |
a | The first Property |
Property |
b | The second Property |
Returns
Type | Description |
---|---|
bool | True if the specified Property |
operator !=(PropertyBinding, PropertyBinding)
Determines whether the two specified Property
Declaration
public static bool operator !=(PropertyBinding a, PropertyBinding b)
Parameters
Type | Name | Description |
---|---|---|
Property |
a | The first Property |
Property |
b | The second Property |
Returns
Type | Description |
---|---|
bool | True if the specified Property |