mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-02 00:22:43 +08:00
afd62241c4
* Partial property animation * Optimize easingMethods storage * Fix * Fix CI error
20 lines
451 B
TypeScript
20 lines
451 B
TypeScript
|
|
/**
|
|
* 曲线值代理用来设置曲线值到目标,是广义的赋值。
|
|
* 每个曲线值代理都关联着一个目标对象。
|
|
*/
|
|
export interface IValueProxy {
|
|
get?: () => any;
|
|
/**
|
|
* 设置曲线值到目标对象上。
|
|
*/
|
|
set: (value: any) => void;
|
|
}
|
|
|
|
export interface IValueProxyFactory {
|
|
/**
|
|
* 返回指定目标的曲线值代理。
|
|
* @param target
|
|
*/
|
|
forTarget (target: any): IValueProxy;
|
|
} |