EditorCurveBinding
Defines how a curve is attached to an object that it controls.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Struct
- Namespace: UnityEditor
- Assembly: UnityEditor
- Implements: IEquatable<EditorCurveBinding>
public struct EditorCurveBinding : IEquatable<EditorCurveBinding>
Fields
Value | Description |
|---|---|
| path | The transform path of the object that is animated. |
| propertyName | The name of the property to be animated. |
Properties
Property | Description |
|---|---|
| isDiscreteCurve | Returns true if the binding is a discrete curve. Returns false otherwise. (Read Only) |
| isPPtrCurve | Returns true if the binding is an object curve. Returns false otherwise (Read Only) |
| isSerializeReferenceCurve | Returns true if the binding is to a curve that points to field on a SerializeReference instance. Returns false otherwise. (Read Only) |
| type | The type of the property to be animated. |
Static Methods
Method | Description |
|---|---|
| DiscreteCurve | Creates a preconfigured binding for a curve where values should not be interpolated. |
| FloatCurve | Creates a preconfigured binding for a float curve. |
| PPtrCurve | Creates a preconfigured binding for a curve that points to an Object. |
| SerializeReferenceCurve | Creates a preconfigured binding for a curve that points to a SerializeReference instance field. |