MCPcopy Create free account

hub / github.com/cocos/cocos-engine / functions

Functions38,747 in github.com/cocos/cocos-engine

↓ 2,739 callersMethodsize
()
@types/box2d-jsb.d.ts:107
↓ 1,318 callersMethodpush
(obj: object, propName: string, uuid: string, type?: string)
cocos/serialization/deserialize.ts:536
↓ 1,300 callersMethodend
* Completes recording of the render pass commands sequence.
@types/webGPU.d.ts:2972
↓ 1,068 callersFunctiontest
( add: (animationGraph: AnimationGraph, name: string, defaultValue?: Readonly<T>) => void,
tests/animation/newgenanim.test.ts:4992
↓ 1,064 callersMethodclear
* @en * Clear all contents. * * @zh * 清除所有内容。
cocos/asset/asset-manager/cache.ts:85
↓ 867 callersFunctionload
native/cocos/renderer/pipeline/custom/LayoutGraphSerialization.cpp:48
↓ 816 callersMethodcall
* @en * Add a callback action. * @zh * 添加一个回调 action。 * @method call * @param callback @en Callback function at the end of th
cocos/tween/tween.ts:572
↓ 814 callersMethodadd
* @en * Adds a Key-Value pair to cache. * * @zh * 增加键值对到缓存中。 * * @param key @en The key. @zh 要增加的键值对中的键。 * @param v
cocos/asset/asset-manager/cache.ts:43
↓ 806 callersMethodfind
* @en * Enumerates all content to find one element which can fulfill condition. * * @zh * 枚举所有内容,找到一个可以满足条件的元素。 * * @par
cocos/asset/asset-manager/cache.ts:110
↓ 746 callersMethodpush_back
(v: Vec2)
@types/box2d-jsb.d.ts:105
↓ 743 callersFunctionapply
()
cocos/3d/skeletal-animation/skeletal-animation-blending.ts:78
↓ 721 callersMethodequals
(other: MyProp, epsilon = EPSILON)
tests/tween/tween.test.ts:4085
↓ 698 callersMethodget
(i: number)
@types/box2d-jsb.d.ts:106
↓ 671 callersFunctiongles2wLoad
native/cocos/renderer/gfx-gles2/GLES2Wrangler.cpp:55
↓ 626 callersMethodproperty
()
cocos/3d/skeletal-animation/skeletal-animation-blending.ts:114
↓ 593 callersFunctiontype
(type: PrimitiveType<T> | Function | [PrimitiveType<T>] | [Function])
cocos/core/data/decorators/type.ts:62
↓ 564 callersMethodforEach
* * @en * Enumerates all contents and invokes function. * * @zh * 枚举所有内容并执行方法。 * * @param func @en Function to be i
cocos/asset/asset-manager/cache.ts:99
↓ 553 callersFunctionmove
native/cocos/editor-support/IOBuffer.h:149
↓ 523 callersFunctionrequire
native/cocos/bindings/manual/jsb_global.cpp:139
↓ 488 callersMethodjoin
(p1: string, ...p2: string[])
scripts/native-pack-tool/source/utils.ts:40
↓ 478 callersMethodtoObject
native/cocos/bindings/jswrapper/Value.cpp:502
↓ 441 callersMethodset
* @en * Directly set target properties. * @zh * 直接设置 target 的属性。 * @method set * @param props @en List of properties of tween
cocos/tween/tween.ts:540
↓ 428 callersMethodupdate
(comp: UIRenderer, dt: number)
cocos/2d/renderer/base.ts:43
↓ 416 callersMethodstep
(deltaTime: number, velocityIterations?: number, positionIterations?: number)
cocos/physics-2d/spec/i-physics-world.ts:34
↓ 405 callersMethodreplace
native/cocos/base/UTF8.cpp:318
↓ 401 callersFunctionscale_expansion_zeroelim
/ / scale_expansion_zeroelim() Multiply an expansion by a scalar, */ eliminating zero components from the */ output expansion.
native/cocos/gi/light-probe/predicates.cpp:1214
↓ 400 callersMethoddefineProperty
native/cocos/bindings/jswrapper/v8/Class.cpp:214
↓ 400 callersMethodreset
()
cocos/2d/renderer/i-batcher.ts:62
↓ 382 callersMethodcopy
(info: ICopyable)
cocos/gfx/base/define.ts:37
↓ 376 callersFunctionv3
(x?: number | Vec3, y?: number, z?: number)
cocos/core/math/vec3.ts:1279
↓ 368 callersMethodset
( pipeline: BasicPipeline, resGraph: ResourceGraph, renderGraph: RenderGraph,
cocos/rendering/custom/compiler.ts:372
↓ 365 callersMethoddata
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:4963
↓ 362 callersMethodon
(type: PipelineEventType, callback: PipelineEventCallback, target?: any, once?: boolean)
cocos/rendering/pipeline-event.ts:101
↓ 344 callersMethodaddEventListener
native/cocos/ui/videoplayer/VideoPlayer-java.cpp:174
↓ 336 callersMethodempty
native/cocos/core/TypedArray.h:244
↓ 333 callersMethodindexOf
* @en Returns the first index that compares equal to val. * @zh 返回在数组中找到的第一个和 val 相等的元素的索引。 * @param val @en Value to search for. @zh 搜索的值。
cocos/core/memop/cached-array.ts:186
↓ 327 callersFunctionfast_expansion_sum_zeroelim
/ / fast_expansion_sum_zeroelim() Sum two expansions, eliminating zero */ components from the output expansion. */ / Sets h = e + f. See the
native/cocos/gi/light-probe/predicates.cpp:956
↓ 325 callersMethodvalue
(id: number, v: vertex_descriptor)
cocos/rendering/custom/graph.ts:391
↓ 315 callersFunctionassert
(label, blk)
native/cmake/scripts/plugin_support/test_parse.js:10
↓ 315 callersFunctionassertIsTrue
(expr: unknown, message?: string)
cocos/core/data/utils/asserts.ts:43
↓ 307 callersMethoderase
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:6045
↓ 305 callersMethodmap
* @engineInternal
cocos/asset/asset-manager/cache.ts:142
↓ 301 callersFunctionExpectEq
native/tests/unit-test/src/utils.h:35
↓ 291 callersMethodaddComponent
(typeOrClassName: string | Constructor<T>)
cocos/scene-graph/node.ts:1062
↓ 288 callersMethodget
* @en * Gets the cached content by key. * * @zh * 通过 key 获取对应的 value。 * * @param key @en The key. @zh 要查询的键。 * @ret
cocos/asset/asset-manager/cache.ts:54
↓ 285 callersMethoddispatch
(value: Dispatch)
cocos/rendering/custom/render-graph.ts:1211
↓ 284 callersMethodsetAttribute
(name, value)
platforms/native/builtin/jsb-adapter/HTMLElement.js:21
↓ 282 callersMethodn
()
cocos/rendering/custom/archive.ts:39
↓ 280 callersFunctionget
Vertex Index
native/cocos/renderer/pipeline/custom/RenderGraphGraphs.h:1065
↓ 277 callersFunctiononComplete
(cb)
platforms/native/builtin/jsb_input.js:58
↓ 272 callersMethodlog
native/cocos/base/memory/MemoryHook.cpp:296
↓ 272 callersFunctionrunFrames
(frames: number)
tests/tween/tween.test.ts:15
↓ 267 callersMethodtoString
()
cocos/serialization/ccon.ts:153
↓ 265 callersFunctionabs
(v: number)
cocos/core/math/bits.ts:68
↓ 265 callersMethodhas_value
native/cocos/base/std/any.h:48
↓ 265 callersFunctionwarnID
(id: number, ...optionalParams: StringSubstitution[])
cocos/core/platform/debug.ts:285
↓ 264 callersMethodinit
* @internal
cocos/core/platform/macro.ts:1105
↓ 252 callersMethodthen
* @en Returns the result of applying this Continuation to task. * @zh 返回将此 Continuation 应用到 的结果 task 。
@types/jsb.d.ts:422
↓ 246 callersFunctionhasFlag
(flags: ShaderStageFlagBit, flagToTest: ShaderStageFlagBit)
cocos/rendering/custom/layout-graph-editor.ts:108
↓ 244 callersFunctionerrorID
(id: number, ...optionalParams: StringSubstitution[])
cocos/core/platform/debug.ts:290
↓ 243 callersMethodnewindex
native/cocos/gi/light-probe/tetgen.cpp:4149
↓ 239 callersFunctionsqrt
native/cocos/editor-support/spine/3.8/spine/MathUtil.h:94
↓ 238 callersMethodbegin
native/cocos/renderer/pipeline/custom/NativeExecutor.cpp:414
↓ 238 callersFunctionhash_combine
native/cocos/base/std/hash/hash.h:421
↓ 238 callersMethodinitialize
()
cocos/2d/renderer/i-batcher.ts:51
↓ 237 callersMethodgetProperty
()
cocos/rendering/custom/graph.ts:61
↓ 231 callersMethoderror
()
platforms/native/builtin/jsb-adapter/HTMLMediaElement.js:61
↓ 224 callersMethodemit
(type: PipelineEventType, arg0?: any, arg1?: any, arg2?: any, arg3?: any, arg4?: any)
cocos/rendering/pipeline-event.ts:104
↓ 223 callersMethodbind
native/cocos/core/event/EventBus.h:156
↓ 219 callersFunctionmax
native/cocos/audio/android/AudioMixer.cpp:63
↓ 216 callersFunctiongles3wLoad
native/cocos/renderer/gfx-gles3/GLES3Wrangler.cpp:89
↓ 213 callersFunctiontween
(target?: T)
cocos/tween/tween.ts:922
↓ 211 callersMethoddefineFunction
native/cocos/bindings/jswrapper/v8/Class.cpp:204
↓ 207 callersMethodset
* @method set * @param {number} i * @param {number} j * @param {Object} value
cocos/physics/utils/tuple-dictionary.ts:61
↓ 203 callersMethodconnect
native/cocos/network/SocketIO.cpp:529
↓ 203 callersMethodoff
(type: PipelineEventType, callback?: PipelineEventCallback, target?: any)
cocos/rendering/pipeline-event.ts:103
↓ 202 callersMethodabs
native/cocos/editor-support/spine/4.2/spine/MathUtil.cpp:52
↓ 201 callersMethodsetProperty
native/cocos/bindings/jswrapper/v8/Object.cpp:556
↓ 200 callersMethodisObject
* @brief Tests whether se::Value stores an object. * @return true if se::Value stores an object, otherwise false. */
native/cocos/bindings/jswrapper/Value.h:439
↓ 198 callersMethodsubstr
native/cocos/editor-support/spine/4.2/spine/Atlas.cpp:140
↓ 197 callersMethodfloor
* @en Element-wise rounds down of the current vector and save the results to the out vector * @zh 逐元素向量向下取整
cocos/core/math/vec4.ts:187
↓ 195 callersMethodcreateElement
(tagName)
platforms/native/builtin/jsb-adapter/document.js:34
↓ 192 callersFunctionterminatetetgen
native/cocos/gi/light-probe/tetgen.h:2487
↓ 190 callersMethodclone
()
cocos/animation/marionette/parametric.ts:39
↓ 190 callersMethodgetComponent
(uuid: string)
@types/editor-extends.d.ts:48
↓ 188 callersMethodapply
()
cocos/physics-2d/spec/i-physics-joint.ts:31
↓ 188 callersMethodfrom
(input: string, encoding: 'utf8')
cocos/serialization/ccon.ts:157
↓ 187 callersMethodemplace
native/cocos/bindings/jswrapper/MappingUtils.cpp:70
↓ 185 callersMethodsetSize
native/cocos/math/Geometry.cpp:78
↓ 184 callersMethodget
(x: vertex_descriptor | edge_descriptor)
cocos/rendering/custom/graph.ts:351
↓ 181 callersMethodrestart
native/cocos/gi/light-probe/tetgen.cpp:3965
↓ 180 callersMethodlength
native/cocos/base/UTF8.cpp:314
↓ 177 callersMethodisArray
native/cocos/bindings/jswrapper/v8/Object.cpp:864
↓ 177 callersFunctionsevalue_to_native
native/cocos/bindings/manual/jsb_conversions.h:571
↓ 176 callersMethodstart
* @en * Called before all scripts' update if the Component is enabled the first time.<br/> * Usually used to initialize some logic which nee
cocos/physics/spec/i-lifecycle.ts:81
↓ 172 callersMethodbuffer
native/cocos/core/DataView.h:62
↓ 170 callersMethodevaluate
* Evaluates the track. * @param time The time. * @param defaultValue A default value. * This param will be passed if `this.requiresDefa
cocos/animation/tracks/track.ts:531
↓ 169 callersMethodsplit
native/cocos/base/StringUtil.cpp:97
↓ 169 callersMethodstateCache
()
cocos/gfx/webgl/webgl-device.ts:103
↓ 167 callersFunctioncos
Returns the cosine in radians from a lookup table.
native/cocos/editor-support/spine/3.8/spine/MathUtil.h:70
next →1–100 of 38,747, ranked by callers