可选
lock可选
name静态
DEBUG静态
interpolation静态
cpu静态
gpu增加一个依赖内容
依赖内容
增加多个依赖内容
依赖内容
The animation mode: 0 for no costume change support, 1 or 2 for costume change support.
The created instance.
Create skeletal animation.
The type of event.
可选
data: any(Optional) Data to pass to the callback. If multiple parameters p1, p2, p3, ... need to be passed, use an array structure such as [p1, p2, p3, ...]. If a single parameter p needs to be passed and p is an array, use a structure such as [p]. For other single parameters p, you can directly pass parameter p. If data is Event.EMPTY, it means passing an Event object to the callback function. Note that it is not passing Event.TEMP, but an independent Event object.
True if there are listeners for this event type, false otherwise.
The key associated with the data to retrieve.
The cache data storage.
The index of the animation.
The index of the frame to retrieve data from.
The Float32Array containing the animation data, or null if not found.
The keyframe data for the current bone.
The bone ID, used for updating the _boneCurKeyFrm.
The current time in the animation.
The index of the keyframe that corresponds to the current time.
Calculate which keyframe corresponds to the current time.
The index of the animation.
A Float32Array to be filled with the retrieved animation data. This array is modified in-place.
An array containing frame indices for each node (Note: This parameter is not used in the current implementation).
The index of the frame to retrieve data for (Note: This parameter is not used in the current implementation).
The current play time in the animation (in milliseconds).
The index of the animation to retrieve data from.
A Float32Array to be filled with the retrieved animation data. This array is modified in-place.
The current play time of the animation in milliseconds.
The type of event.
The listener function.
This EventDispatcher object.
The type of event.
The execution scope of the event listener function.
可选
listener: FunctionThe listener function.
可选
args: any[]This EventDispatcher object.
可选
type: string(Optional) The type of event. If the value is null, all types of listeners on this object are removed.
This EventDispatcher object.
The target caller object.
This EventDispatcher object.
The type of event.
The listener function.
This EventDispatcher object.
The type of event.
The execution scope of the event listener function.
The listener function.
可选
args: any[](Optional) The callback parameters of the event listener function.
This EventDispatcher object.
The type of event.
The listener function.
This EventDispatcher object.
The type of event.
The execution scope of the event listener function.
The listener function.
可选
args: any[](Optional) The callback parameters of the event listener function.
This EventDispatcher object.
The key associated with the data to set.
The array of cache data storages.
The index of the animation.
The index of the frame to set data to.
The data to set.
静态
destroy
En
Animation template class
Zh
动画模板类