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