Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/eva-engine/eva.js
/ functions
Functions
2,699 in github.com/eva-engine/eva.js
⨍
Functions
2,699
◇
Types & classes
551
↓ 13 callers
Method
getExtension
(name: 'EXT_color_buffer_half_float')
packages/plugin-renderer/lib/compressedTexture/global.d.ts:11
↓ 13 callers
Method
getFrameCount
()
packages/plugin-renderer-spine36/lib/pixi-spine.js:1233
↓ 13 callers
Method
reset
()
packages/plugin-renderer-lottie/lib/lottie-pixi.js:821
↓ 13 callers
Function
sendEvent
(eventName, target = canvas)
examples/src/worker.ts:52
↓ 12 callers
Function
_rt
* get the type by Object.prototype.toString * @ignore * @param {*} val * @return {String} type string value
packages/plugin-renderer-lottie/lib/lottie-core.js:918
↓ 12 callers
Method
add
(value)
packages/plugin-renderer-spine/lib/pixi-spine.js:22
↓ 12 callers
Method
add
(changed: ComponentChanged)
packages/plugin-renderer-mask/lib/system.ts:66
↓ 12 callers
Method
destroy
()
packages/plugin-renderer-spine/lib/pixi-spine.js:12584
↓ 12 callers
Function
displayResourceStatus
(resourceName: string, stage: string)
examples/src/resource-cleanup-test.ts:101
↓ 12 callers
Function
done
(errCode)
examples/public/libktx.js:9
↓ 12 callers
Function
embind__requireFunction
(signature,rawFunction)
examples/public/libktx.js:9
↓ 12 callers
Function
p
packages/plugin-renderer-lottie/lib/lottie-pixi.js:312
↓ 12 callers
Method
play
(times = Infinity)
packages/plugin-renderer-sprite-animation/lib/component.ts:107
↓ 12 callers
Method
registerDestroy
Add resource destroy function
packages/eva.js/lib/loader/Resource.ts:310
↓ 12 callers
Method
search
(frames, time, step)
packages/plugin-renderer-spine/lib/pixi-spine.js:706
↓ 12 callers
Method
setStepped
Sets the specified key frame to stepped interpolation.
packages/plugin-renderer-spine/lib/pixi-spine.js:730
↓ 12 callers
Method
sortBone
(bone)
packages/plugin-renderer-spine/lib/pixi-spine.js:7662
↓ 12 callers
Method
update
* 主循环更新方法 * * 使用补帧循环:当实际时间跨越多个帧间隔时,循环执行多次固定步长更新, * 确保在 RAF 被节流(如低电量模式)时游戏时间仍与真实时间同步。 * 设置最大补帧数上限,避免长时间挂起后一次性执行过多更新。
packages/eva.js/lib/game/Ticker.ts:106
↓ 11 callers
Method
getPath
(basePath, index)
packages/plugin-renderer-spine/lib/pixi-spine.js:556
↓ 11 callers
Function
leadingNulls
(value,digits)
examples/public/libktx.js:9
↓ 11 callers
Method
normalize
()
packages/plugin-renderer-spine/lib/pixi-spine.js:341
↓ 11 callers
Function
readTimeline12
(keys, timeline, defaultValue, scale)
packages/plugin-renderer-spine/lib/pixi-spine.js:11543
↓ 11 callers
Method
setFromString
(hex)
packages/plugin-renderer-spine36/lib/pixi-spine.js:174
↓ 10 callers
Method
clear
()
packages/eva.js/__tests__/__mocks__/resource-loader.ts:20
↓ 10 callers
Method
end
(entry)
packages/plugin-renderer-spine/lib/pixi-spine.js:4353
↓ 10 callers
Function
observer
(component: Component, componentName: string = component.name)
packages/eva.js/lib/core/observer.ts:272
↓ 10 callers
Method
once
(en: string, fn: (...args: any[]) => void, context?: any)
packages/plugin-renderer-event/lib/component.ts:129
↓ 10 callers
Method
registerInstance
Add resource instance function
packages/eva.js/lib/loader/Resource.ts:305
↓ 10 callers
Function
registerType
(rawType,registeredInstance,options)
examples/public/libktx.js:9
↓ 10 callers
Method
rgba8888ToColor
(color, value)
packages/plugin-renderer-spine/lib/pixi-spine.js:122
↓ 10 callers
Method
shrink
Shrinks the storage for Bezier curves, for use when <code>bezierCount</code> (specified in the constructor) was larger * than the actual number of
packages/plugin-renderer-spine/lib/pixi-spine.js:735
↓ 10 callers
Method
start
(entry)
packages/plugin-renderer-spine/lib/pixi-spine.js:4344
↓ 10 callers
Method
stopPropagation
* Stop this event from propagating to the next {@link FederatedEventTarget}. The rest of the listeners * on the {@link FederatedEventTarget.current
packages/plugin-worker/lib/events/FederatedEvent.ts:239
↓ 9 callers
Function
__glGenObject
(n,buffers,createFunction,objectTable)
examples/public/libktx.js:9
↓ 9 callers
Method
add
(changed: ComponentChanged)
packages/plugin-renderer-dragonbone/lib/system.ts:68
↓ 9 callers
Method
add
* 添加每帧执行的回调函数 * @param fn - 回调函数,每帧会接收帧信息参数
packages/eva.js/lib/game/Ticker.ts:142
↓ 9 callers
Method
composedPath
The propagation path for this event. Alias for {@link EventBoundary.propagationPath}.
packages/plugin-worker/lib/events/FederatedEvent.ts:177
↓ 9 callers
Method
createPointerEvent
* Creates an event whose {@code originalEvent} is {@code from}, with an optional `type` and `target` override. * * The event is allocated using
packages/plugin-worker/lib/events/EventBoundary.ts:1077
↓ 9 callers
Function
createTitle
* Helper: create a section title
examples/src/layout.ts:90
↓ 9 callers
Method
dispose
(entry)
packages/plugin-renderer-spine/lib/pixi-spine.js:4358
↓ 9 callers
Method
findBone
@returns May be null.
packages/plugin-renderer-spine/lib/pixi-spine.js:7774
↓ 9 callers
Method
get
(path2)
packages/plugin-renderer-spine36/lib/pixi-spine.js:3484
↓ 9 callers
Method
getChanged
* 获取变化事件列表 * @returns 所有记录的变化事件
packages/eva.js/lib/core/ComponentObserver.ts:78
↓ 9 callers
Method
init
()
packages/plugin-renderer-graphics/lib/system.ts:16
↓ 9 callers
Method
play
(iteration = 1, currentTime)
packages/plugin-transition/lib/Animation.ts:122
↓ 9 callers
Method
play
( params: number[] = [], expandOpts: IExpandOpts = { repeats: 0, }, )
packages/plugin-renderer-lottie/lib/Lottie.ts:115
↓ 9 callers
Method
readCurve
(map, timeline, frameIndex)
packages/plugin-renderer-spine36/lib/pixi-spine.js:6673
↓ 9 callers
Method
readLine
()
packages/plugin-renderer-spine36/lib/pixi-spine.js:3230
↓ 9 callers
Method
readStringRef
()
packages/plugin-renderer-spine/lib/pixi-spine.js:9570
↓ 9 callers
Method
readTuple
(tuple)
packages/plugin-renderer-spine36/lib/pixi-spine.js:3240
↓ 9 callers
Function
registerType
(rawType, registeredInstance, options)
examples/public/basis/basis_transcoder.js:428
↓ 9 callers
Method
setFromColor
(c)
packages/plugin-renderer-spine36/lib/pixi-spine.js:167
↓ 9 callers
Method
setFromString
(hex)
packages/plugin-renderer-spine/lib/pixi-spine.js:88
↓ 9 callers
Method
setPosition
* 将无障碍元素设置到对应的位置 * @param element DOM 元素 * @param transform 位置属性
packages/plugin-a11y/lib/A11ySystem.ts:414
↓ 9 callers
Method
sortBone
(bone)
packages/plugin-renderer-spine36/lib/pixi-spine.js:4650
↓ 9 callers
Function
stringToUTF8
(str,outPtr,maxBytesToWrite)
examples/public/libktx.js:9
↓ 9 callers
Method
toHaveBeenWarned
()
packages/global.d.ts:11
↓ 9 callers
Method
update
()
packages/plugin-renderer-spine/lib/pixi-spine.js:358
↓ 8 callers
Function
__emval_register
(value)
examples/public/libktx.js:9
↓ 8 callers
Function
__emval_register
(value)
examples/public/basis/basis_transcoder.js:864
↓ 8 callers
Method
addEventMapping
* Adds an event mapping for the event `type` handled by `fn`. * * Event mappings can be used to implement additional or custom events. They take
packages/plugin-worker/lib/events/EventBoundary.ts:183
↓ 8 callers
Method
all
* Emits the event {@code e} to all interactive containers. The event is propagated in the bubbling phase always. * * This is used in the `global
packages/plugin-worker/lib/events/EventBoundary.ts:306
↓ 8 callers
Method
apply
(skeleton, lastTime, time, loop, events, alpha, pose, direction)
packages/plugin-renderer-spine36/lib/pixi-spine.js:452
↓ 8 callers
Method
applyToX
* 只计算变换后的 X 坐标 * 基于矩阵变换公式:x' = x * a + y * c + tx * @param {number} x - 原始 X 坐标 * @param {number} y - 原始 Y 坐标 * @param {number} z - 原始 Z 坐
packages/plugin-renderer-lottie/lib/lottie-pixi.js:840
↓ 8 callers
Method
applyToY
* 只计算变换后的 Y 坐标 * 基于矩阵变换公式:y' = x * b + y * d + ty * @param {number} x - 原始 X 坐标 * @param {number} y - 原始 Y 坐标 * @param {number} z - 原始 Z 坐
packages/plugin-renderer-lottie/lib/lottie-pixi.js:852
↓ 8 callers
Method
clamp
()
packages/plugin-renderer-spine/lib/pixi-spine.js:103
↓ 8 callers
Function
compareByDay
(date1,date2)
examples/public/libktx.js:9
↓ 8 callers
Function
createText
(name, text, position = { x: 0, y: 0 })
examples/src/sound.ts:78
↓ 8 callers
Method
destroy
()
packages/plugin-renderer/lib/Transform.ts:96
↓ 8 callers
Method
end
(entry)
packages/plugin-renderer-spine36/lib/pixi-spine.js:2315
↓ 8 callers
Method
enumValue
(type, name)
packages/plugin-renderer-spine/lib/pixi-spine.js:288
↓ 8 callers
Method
init
()
packages/plugin-transition/lib/Animation.ts:88
↓ 8 callers
Method
pause
Pause game
packages/eva.js/lib/game/Game.ts:342
↓ 8 callers
Method
querySelector
* get layer by classname or idname * <br/> `Note:` only can use after data was setup or after DisplayReady event * @param {string} selector laye
packages/plugin-renderer-lottie/lib/lottie-pixi.js:2457
↓ 8 callers
Method
readVertices
(input, weighted)
packages/plugin-renderer-spine/lib/pixi-spine.js:8979
↓ 8 callers
Method
removeSystem
* Remove system from this game * @param system - one of system instance / system Class or system name
packages/eva.js/lib/game/Game.ts:308
↓ 8 callers
Function
requireHandle
(handle)
examples/public/libktx.js:9
↓ 8 callers
Method
reset
()
packages/plugin-renderer-spine/lib/pixi-spine.js:4272
↓ 8 callers
Method
setToSetupPose
Sets this bone's local transform to the setup pose.
packages/plugin-renderer-spine/lib/pixi-spine.js:5540
↓ 8 callers
Method
signum
(value)
packages/plugin-renderer-spine36/lib/pixi-spine.js:220
↓ 8 callers
Method
stop
(name)
packages/plugin-renderer-dragonbone/lib/engine.ts:12
↓ 8 callers
Method
updateRegion
Calculates {@link #uvs} using the {@link #regionUVs} and region. Must be called if the region, the region's properties, or * the {@link #regionUVs}
packages/plugin-renderer-spine/lib/pixi-spine.js:4872
↓ 8 callers
Method
updateWorldTransformWith
Computes the world transform using the parent bone and the specified local transform. The applied transform is set to the * specified local transfo
packages/plugin-renderer-spine/lib/pixi-spine.js:5428
↓ 8 callers
Function
whenDependentTypesAreResolved
(myTypes,dependentTypes,getTypeConverters)
examples/public/libktx.js:9
↓ 7 callers
Function
convertPathsToAbsoluteValues
* convert relative position to absolute * @private * @param {path} path path data
packages/plugin-renderer-lottie/lib/lottie-core.js:8509
↓ 7 callers
Method
dispose
(entry)
packages/plugin-renderer-spine36/lib/pixi-spine.js:2323
↓ 7 callers
Method
drain
()
packages/plugin-renderer-spine/lib/pixi-spine.js:4371
↓ 7 callers
Method
drain
()
packages/plugin-renderer-spine36/lib/pixi-spine.js:2345
↓ 7 callers
Function
embind__requireFunction
(signature, rawFunction)
examples/public/basis/basis_transcoder.js:692
↓ 7 callers
Method
findBone
@return May be null.
packages/plugin-renderer-spine36/lib/pixi-spine.js:4726
↓ 7 callers
Method
findSlot
Finds a slot by comparing each slot's name. It is more efficient to cache the results of this method than to call it * repeatedly. * @returns Ma
packages/plugin-renderer-spine/lib/pixi-spine.js:7788
↓ 7 callers
Method
finish
(url, status, data)
packages/plugin-renderer-spine/lib/pixi-spine.js:6003
↓ 7 callers
Method
free
(item)
packages/plugin-renderer-spine/lib/pixi-spine.js:311
↓ 7 callers
Method
from
* Use this method to instantiate a Spine game object. * Before instantiating a Spine game object, the skeleton (`.skel` or `.json`) and the atlas t
packages/plugin-renderer-spine36/lib/pixi-spine.js:8491
↓ 7 callers
Function
func
()
examples/public/basis/basis_transcoder.js:359
↓ 7 callers
Method
getImage
()
packages/plugin-renderer-spine36/lib/pixi-spine.js:3053
↓ 7 callers
Method
loadConfig
Add resource configs and then preload
packages/eva.js/lib/loader/Resource.ts:140
↓ 7 callers
Function
observerRemoved
(component: Component, componentName: string = component.name)
packages/eva.js/lib/core/observer.ts:321
↓ 7 callers
Method
obtain
()
packages/plugin-renderer-spine/lib/pixi-spine.js:308
↓ 7 callers
Method
obtain
()
packages/plugin-renderer-spine36/lib/pixi-spine.js:341
← previous
next →
101–200 of 2,699, ranked by callers