Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/eva-engine/eva.js
/ functions
Functions
2,699 in github.com/eva-engine/eva.js
⨍
Functions
2,699
◇
Types & classes
551
Function
createMockCanvas
(width = 800, height = 600)
packages/eva.js/__tests__/utils/test-helpers.ts:125
Function
createMockImage
(width = 100, height = 100)
packages/eva.js/__tests__/utils/test-helpers.ts:115
Function
createRed
()
examples/src/worker2.ts:481
Function
createRegularArray
* a * @private * @param {*} type a * @param {*} len a * @return {*}
packages/plugin-renderer-lottie/lib/lottie-core.js:177
Method
createVertexArrayOES
()
packages/plugin-renderer/lib/compressedTexture/global.d.ts:87
Function
ctor
()
examples/public/libktx.js:9
Method
currentFrame
()
packages/plugin-renderer-sprite-animation/lib/component.ts:150
Method
currentTextureCount
()
packages/plugin-stats/lib/hooks/TextureHook.ts:60
Method
currentTime
()
packages/eva.js/lib/timeline/index.ts:110
Method
darkColor
()
packages/plugin-renderer-spine/lib/pixi-spine.js:12426
Method
darkColor
()
packages/plugin-renderer-spine36/lib/pixi-spine.js:7718
Method
data
* Fallback for the deprecated @code{InteractionEvent.data}. * @deprecated since 7.0.0
packages/plugin-worker/lib/events/FederatedEvent.ts:172
Method
debug
()
packages/plugin-renderer-spine36/lib/pixi-spine.js:7962
Function
decodeMemoryView
(handle)
examples/public/libktx.js:9
Function
decodeMemoryView
(handle)
examples/public/basis/basis_transcoder.js:934
Method
defaultEventMode
* The default interaction mode for all display objects. * @see Container.eventMode * @type {EventMode} * @readonly * @since 7.2.0
packages/plugin-worker/lib/events/EventSystem.ts:142
Method
deleteVertexArrayOES
(arrayObject: WebGLVertexArrayObjectOES | null)
packages/plugin-renderer/lib/compressedTexture/global.d.ts:88
Method
deltaDrawCalls
()
packages/plugin-stats/lib/hooks/BaseHooks.ts:61
Method
destroy
Destroys all event listeners and detaches the renderer.
packages/plugin-worker/lib/events/EventSystem.ts:279
Method
destroy
()
packages/eva.js/lib/game/Scene.ts:122
Method
destroy
* 默认的销毁方法 * * 清理组件观察者和默认参数,并调用 onDestroy 钩子。
packages/eva.js/lib/core/System.ts:166
Method
destroy
destory this resource manager
packages/eva.js/lib/loader/Resource.ts:208
Method
destroy
* destroy animation group and remove it from its parent
packages/plugin-renderer-lottie/lib/lottie-pixi.js:3144
Method
destroy
* destroy pixi application and all lottie animate * @param {boolean} [removeView=false] - Automatically remove canvas from DOM. * @param {object
packages/plugin-renderer-lottie/lib/lottie-pixi.js:3303
Method
destroy
()
packages/plugin-renderer-spine36/lib/pixi-spine.js:7876
Method
destroyRenderable
(spine)
packages/plugin-renderer-spine/lib/pixi-spine.js:12580
Method
destroyRenderable
(spine)
packages/plugin-renderer-spine36/lib/pixi-spine.js:7872
Method
destroyScene
({ scene }: DestroySceneParams)
packages/eva.js/lib/game/Game.ts:471
Function
destructorFunction
(ptr)
examples/public/basis/basis_transcoder.js:996
Method
detachAll
()
packages/eva.js/__tests__/__mocks__/resource-loader.ts:28
Function
dirname
(path)
examples/public/basis/basis_transcoder.js:1178
Function
dispatchEvent
* Dispatch the event on this {@link Container} using the event's {@link EventBoundary}. * * The target of the event is set to `this` and the `de
packages/plugin-worker/lib/events/FederatedEventTarget.ts:754
Method
dispose
(entry)
packages/plugin-renderer-spine36/lib/pixi-spine.js:2416
Method
dispose
()
packages/plugin-renderer-spine36/lib/pixi-spine.js:3127
Method
dispose
()
packages/plugin-renderer-spine36/lib/pixi-spine.js:3218
Method
dispose
()
packages/plugin-renderer-spine36/lib/pixi-spine.js:3510
Method
dispose
()
packages/plugin-renderer-spine36/lib/pixi-spine.js:6870
Method
dispose
()
packages/plugin-renderer-spine36/lib/pixi-spine.js:6961
Method
done
()
packages/plugin-renderer-spine/lib/pixi-spine.js:5954
Method
downloadBinary
(url, success, error)
packages/plugin-renderer-spine36/lib/pixi-spine.js:3312
Method
drawCalls
()
packages/plugin-stats/lib/hooks/BaseHooks.ts:50
Method
drawPolygon
(polygonVertices, _offset, count)
packages/plugin-renderer-spine/lib/pixi-spine.js:13666
Method
drawPolygon
(polygonVertices, _offset, count)
packages/plugin-renderer-spine36/lib/pixi-spine.js:8865
Function
dryRun
(bin, args, opts = {})
scripts/release.js:39
Method
end
(entry)
packages/plugin-renderer-spine36/lib/pixi-spine.js:2414
Method
end
()
packages/plugin-renderer-spine36/lib/pixi-spine.js:6892
Method
end
()
packages/plugin-renderer-spine36/lib/pixi-spine.js:6926
Method
entropy
()
packages/eva.js/lib/timeline/index.ts:123
Function
equals
(matr)
packages/plugin-renderer-lottie/lib/lottie-core.js:3474
Method
event
(entry, event)
packages/plugin-renderer-spine36/lib/pixi-spine.js:2420
Function
eventMode
* Enable interaction events for the Container. Touch, pointer and mouse. * There are 5 types of interaction settings: * - `'none'`: Ignores all
packages/plugin-worker/lib/events/FederatedEventTarget.ts:613
Method
execute
(spine)
packages/plugin-renderer-spine/lib/pixi-spine.js:12500
Method
execute
(spine)
packages/plugin-renderer-spine36/lib/pixi-spine.js:7790
Function
expectAsyncError
(fn: () => Promise<any>, errorMessage?: string)
packages/eva.js/__tests__/utils/test-helpers.ts:188
Function
exportCSV
()
examples/src/benchmark.ts:119
Function
extname
(path)
examples/public/basis/basis_transcoder.js:1192
Method
findAllByName
* 通过名字查找场景中所有匹配的游戏对象 * * @param name - 游戏对象名称 * @returns 所有匹配且未销毁的游戏对象数组
packages/eva.js/lib/game/Scene.ts:112
Method
findAllByName
* 通过名字查找所有匹配的游戏对象(跨所有场景) * * @param name - 游戏对象名称 * @returns 所有匹配且未销毁的游戏对象数组
packages/eva.js/lib/game/Game.ts:242
Method
findBoneIndex
(boneName)
packages/plugin-renderer-spine36/lib/pixi-spine.js:5754
Method
findByName
* 通过名字查找场景中的游戏对象 * * @param name - 游戏对象名称 * @returns 第一个匹配且未销毁的游戏对象,无则返回 null
packages/eva.js/lib/game/Scene.ts:97
Method
findByName
* 通过名字查找游戏对象(跨所有场景) * * 先查主场景,再依次查多场景,返回第一个匹配的未销毁对象。 * * @param name - 游戏对象名称 * @returns 匹配的游戏对象,无则返回 null
packages/eva.js/lib/game/Game.ts:226
Method
findPathConstraint
@return May be null.
packages/plugin-renderer-spine36/lib/pixi-spine.js:4855
Function
flushPendingDeletes
()
examples/public/libktx.js:9
Function
flushPendingDeletes
()
examples/public/basis/basis_transcoder.js:514
Method
fork
(options)
packages/eva.js/lib/timeline/index.ts:137
Method
frameToTime
* get time * <br/> `Note:` only can use after data was setup or after DisplayReady event * @param {number} frame frame index * @return {numbe
packages/plugin-renderer-lottie/lib/lottie-pixi.js:2679
Method
from
(options: Partial<EVAResourceParams>)
packages/eva.js/__tests__/utils/resources.ts:18
Method
from
(options: Partial<EVAResourceParams>)
packages/eva.js/__tests__/utils/resources.ts:34
Method
from
(options: Partial<EVAResourceParams>)
packages/eva.js/__tests__/utils/resources.ts:76
Method
from
(options: Partial<EVAResourceParams>)
packages/eva.js/__tests__/utils/resources.ts:97
Method
from
(texture)
packages/plugin-renderer-spine36/lib/pixi-spine.js:6937
Function
fromWireType
(value)
examples/public/libktx.js:9
Function
fromWireType
(wt)
examples/public/basis/basis_transcoder.js:446
Function
fulfilled
(value)
packages/plugin-renderer-spine36/lib/pixi-spine.js:23
Method
gameObjects
()
packages/eva.js/lib/game/Game.ts:214
Function
genericPointerToWireType
(destructors,handle)
examples/public/libktx.js:9
Function
genericPointerToWireType
(destructors, handle)
examples/public/basis/basis_transcoder.js:561
Function
get
()
packages/plugin-evax/lib/utils.ts:57
Function
get
()
packages/eva.js/lib/core/observer.ts:223
Function
get
()
examples/public/basis/basis_transcoder.js:1203
Method
get
()
packages/plugin-renderer/lib/Transform.ts:74
Method
get
(clientId, path2)
packages/plugin-renderer-spine36/lib/pixi-spine.js:6827
Function
get64
(low, high)
examples/public/basis/basis_transcoder.js:1213
Method
getAnim
* 获取指定轨道当前播放的动画名称 * * @param track - 动画轨道编号,默认为 0 * @returns 动画名称,如果未找到则返回 undefined
packages/spine-base/lib/Spine.ts:263
Method
getAttachmentByName
Finds an attachment by looking in the {@link #skin} and {@link SkeletonData#defaultSkin} using the slot name and attachment * name. * * See {
packages/plugin-renderer-spine/lib/pixi-spine.js:7845
Method
getAttachmentByName
@return May be null.
packages/plugin-renderer-spine36/lib/pixi-spine.js:4790
Method
getAttachmentTime
Returns the time since the attachment was set.
packages/plugin-renderer-spine36/lib/pixi-spine.js:4215
Method
getAttachmentsForSlot
Returns all attachments in this skin for the specified slot index.
packages/plugin-renderer-spine/lib/pixi-spine.js:8367
Function
getBezierEasing
* get a bezierEasing from real time or cache * @private * @param {*} a in control point x component * @param {*} b in control point y component *
packages/plugin-renderer-lottie/lib/lottie-core.js:436
Method
getBonePosition
* Return the position of the bone given in input into an {@link IPointData}. * @param bone: the bone name or the bone instance to get the position
packages/plugin-renderer-spine/lib/pixi-spine.js:12872
Method
getBonePosition
* Return the position of the bone given in input into an {@link IPointData}. * @param bone: the bone name or the bone instance to get the position
packages/plugin-renderer-spine36/lib/pixi-spine.js:8031
Method
getBounds
Returns the axis aligned bounding box (AABB) of the region and mesh attachments for the current pose. * @param offset The distance from the skeleto
packages/plugin-renderer-spine36/lib/pixi-spine.js:4869
Method
getCoalescedEvents
()
packages/plugin-worker/lib/events/FederatedPointerEvent.ts:93
Function
getComponent
(gameObject: GameObject, componentName: string)
packages/eva.js/__tests__/utils/test-helpers.ts:142
Function
getConstructorFunction
* get ShapeProperty class * @private * @return {ShapeProperty}
packages/plugin-renderer-lottie/lib/lottie-core.js:3175
Method
getCurrent
Returns the track entry for the animation currently playing on the track, or null if no animation is currently playing.
packages/plugin-renderer-spine/lib/pixi-spine.js:4095
Method
getCurrent
(trackIndex)
packages/plugin-renderer-spine36/lib/pixi-spine.js:2168
Method
getCurveType
(frameIndex)
packages/plugin-renderer-spine36/lib/pixi-spine.js:535
Method
getDuration
* get total duration * <br/> `Note:` only can use after data was setup or after DisplayReady event * @param {boolean} isFrame frame base or time
packages/plugin-renderer-lottie/lib/lottie-pixi.js:2771
Method
getErrors
()
packages/plugin-renderer-spine/lib/pixi-spine.js:5901
← previous
next →
2,101–2,200 of 2,699, ranked by callers