Version: 2023.1

EditorCurveBinding

struct in UnityEditor

切换到手册

描述

定义曲线如何附加到它所控制的对象。

变量

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)
path动画对象的变换路径。
propertyName要动画化的属性的名称。
type要动画化的属性的类型。

静态函数

DiscreteCurve为不应插值的曲线创建预配置的绑定。
FloatCurve为浮点曲线创建预配置的绑定。
PPtrCurve为指向 Object 的曲线创建预配置的绑定。
SerializeReferenceCurveCreates a preconfigured binding for a curve that points to a SerializeReference instance field.