Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


EditorCurveBinding

Defines how a curve is attached to an object that it controls.
Read time 1 minuteLast updated 7 days ago

Definition

public struct EditorCurveBinding : IEquatable<EditorCurveBinding>

Fields

Value

Description

pathThe transform path of the object that is animated.
propertyNameThe name of the property to be animated.

Properties

Property

Description

isDiscreteCurveReturns true if the binding is a discrete curve. Returns false otherwise. (Read Only)
isPPtrCurveReturns true if the binding is an object curve. Returns false otherwise (Read Only)
isSerializeReferenceCurveReturns true if the binding is to a curve that points to field on a SerializeReference instance. Returns false otherwise. (Read Only)
typeThe type of the property to be animated.

Static Methods

Method

Description

DiscreteCurveCreates a preconfigured binding for a curve where values should not be interpolated.
FloatCurveCreates a preconfigured binding for a float curve.
PPtrCurveCreates a preconfigured binding for a curve that points to an Object.
SerializeReferenceCurveCreates a preconfigured binding for a curve that points to a SerializeReference instance field.