MCPcopy Create free account

hub / github.com/cocos/cocos4 / functions

Functions39,311 in github.com/cocos/cocos4

↓ 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 callersMethodstateCache
()
cocos/gfx/webgl/webgl-device.ts:103
↓ 168 callersMethodhas
* @en * Checks whether or not content exists by key. * * @zh * 通过 Key 判断是否存在对应的内容。 * * @param key @en The key. @zh 要查询的键
cocos/asset/asset-manager/cache.ts:65
↓ 167 callersFunctioncos
Returns the cosine in radians from a lookup table.
native/cocos/editor-support/spine/3.8/spine/MathUtil.h:70
↓ 167 callersMethoddestroy
* Destroys the {@link GPUBuffer}. * Note: It is valid to destroy a buffer multiple times. * Note: Since no further operations can be enqueued us
@types/webGPU.d.ts:2078
↓ 167 callersMethodkeys
* @zh 曲线可引用的所有时间轴。 * @en Frame keys referenced by curves. * @deprecated Since V3.3. Please reference to the track/channel/curve mechanism in
cocos/animation/animation-clip.ts:546
↓ 166 callersMethodappendChild
(node)
platforms/native/builtin/jsb-adapter/Node.js:11
↓ 163 callersMethodappend
native/cocos/network/WebSocketServer.cpp:133
↓ 163 callersMethodmax
* @en Calculates the maximum values by elements of the vector and save the results to the out vector * @zh 逐元素向量最大值
cocos/core/math/vec4.ts:211
↓ 160 callersMethodaddChild
(name: string)
tests/animation/new-gen-anim/pose-graph/pose-nodes/utils/evaluation-mock.ts:33
↓ 160 callersFunctionfind
* Searches the container for an element with 'key' as key and returns an iterator to it if found, * otherwise it returns an iterator to M
native/cocos/base/RefMap.h:190
↓ 158 callersMethoddestroy
()
cocos/2d/renderer/i-batcher.ts:52
↓ 158 callersMethodremove
* @en * Removes the cached content by key. * * @zh * 通过 Key 移除对应的内容。 * * @param key @en The key. @zh 要移除的键值对中的键。 *
cocos/asset/asset-manager/cache.ts:76
↓ 152 callersMethodcreateBuffer
* Creates a {@link GPUBuffer}. * @param descriptor - Description of the {@link GPUBuffer} to create.
@types/webGPU.d.ts:2452
↓ 151 callersFunctiondot
* @en Quaternion dot product (scalar product) * @zh 四元数点积(数量积) * @param a The first unit quaternion * @param b The second unit quaterni
native/cocos/math/Quaternion.h:387
↓ 151 callersMethodempty
native/cocos/renderer/pipeline/custom/NativeRenderQueue.cpp:159
↓ 150 callersMethodparse
native/cocos/network/Uri.cpp:132
↓ 150 callersMethodsubstring
native/cocos/editor-support/spine/4.2/spine/SpineString.cpp:192
↓ 148 callersMethodbegin
Return iterator to beginning. */
native/cocos/base/RefMap.h:54
↓ 147 callersFunctionerror
(...data: unknown[])
cocos/core/platform/debug.ts:91
↓ 147 callersFunctionlerp
(from: number, to: number, ratio: number)
cocos/core/math/utils.ts:105
↓ 145 callersFunctionmax
(x: number, y: number)
cocos/core/math/bits.ts:85
↓ 145 callersFunctionsin
Returns the sine in radians from a lookup table.
native/cocos/editor-support/spine/3.8/spine/MathUtil.h:65
↓ 144 callersMethod_getUITransformComp
* @mangle * @engineInternal
cocos/scene-graph/node.ts:2992
↓ 144 callersMethodslice
native/cocos/core/ArrayBuffer.cpp:63
↓ 143 callersMethoddispatchEvent
* @param event * @returns Whether dispatch to next event dispatcher
cocos/input/input.ts:49
↓ 143 callersMethodthisObject
* @brief Gets the JavaScript `this` object wrapped in se::Object. * @return The JavaScript `this` object wrapped in se::Object. */
native/cocos/bindings/jswrapper/State.h:61
↓ 142 callersMethodsetValue
(value: T)
cocos/animation/tracks/track.ts:47
↓ 141 callersMethodpush
()
cocos/animation/core/pose-allocator.ts:36
↓ 140 callersMethodfn
native/cocos/base/std/hash/hash.h:317
↓ 140 callersMethodresize
native/cocos/renderer/gfx-base/GFXBuffer.cpp:74
↓ 137 callersMethodrequest
* @deprecated since v3.4.0, please use BufferAccessor's request * @see [[BufferAccessor.request]]
cocos/2d/renderer/mesh-buffer.ts:318
↓ 136 callersMethodset
native/cocos/math/Mat4.cpp:938
↓ 135 callersFunctionnativevalue_to_se
native/cocos/bindings/manual/jsb_conversions.h:1140
↓ 133 callersMethodstartsWith
native/cocos/editor-support/spine/4.2/spine/SpineString.cpp:220
↓ 132 callersMethodaddMotion
* Adds a motion state into this state machine. * @returns The newly created motion.
cocos/animation/marionette/animation-graph.ts:413
↓ 132 callersMethodmatch
native/cocos/profiler/DebugRenderer.cpp:117
↓ 131 callersMethodgetNode
(uuid: string)
@types/editor-extends.d.ts:32
↓ 128 callersMethodempty
native/cocos/base/ThreadPool.h:169
↓ 128 callersMethodslice
* @en Slices a interval of the path. * @zh 分割指定区段上的路径。 * @param beginIndex Begin index to the segment. Default to 0. * @param endIndex
cocos/animation/tracks/track.ts:224
↓ 126 callersFunctiongetPipelineSceneData
()
cocos/rendering/pipeline-scene-data-utils.ts:27
↓ 125 callersFunctionabs
native/cocos/editor-support/spine/3.8/spine/MathUtil.h:60
↓ 125 callersMethodgetAttribute
(name)
platforms/native/builtin/jsb-adapter/HTMLElement.js:25
↓ 124 callersMethodempty
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:5755
↓ 124 callersFunctiontoRadian
(a: number)
cocos/core/math/utils.ts:114
↓ 122 callersFunctionmin
native/cocos/audio/android/AudioMixer.cpp:84
↓ 122 callersMethodsetObject
native/cocos/bindings/jswrapper/Value.cpp:373
↓ 119 callersMethodsubtract
* @en Element-wise vector subtraction and save the results to out vector object * @zh 逐元素向量减法
cocos/core/math/vec4.ts:139
↓ 117 callersMethodgetValue
()
cocos/animation/tracks/track.ts:49
↓ 116 callersFunctionproperty
( target?: Parameters<LegacyPropertyDecorator>[0] | PropertyType, propertyKey?: Parameters<LegacyPrope
cocos/core/data/decorators/property.ts:67
↓ 116 callersMethodpush
(command)
editor/inspector/contributions/asset-history/history-manager-base.js:8
↓ 115 callersMethoddestroy
* @en Destroy resources of PipelineRuntime * @zh 销毁PipelineRuntime所持资源 * @returns Success or not
cocos/rendering/custom/pipeline.ts:69
↓ 115 callersMethodempty
native/cocos/platform/openharmony/WorkerMessageQueue.cpp:45
↓ 115 callersMethodregisterSystem
* @en Register a system. * @zh 注册一个系统。
cocos/game/director.ts:701
↓ 115 callersMethodrender
* @en Render contents of cameras * @zh 根据相机进行绘制 * @param cameras @en Camera list @zh 相机列表
cocos/rendering/custom/pipeline.ts:75
↓ 115 callersMethodsetPosition
(value: IVec3Like)
cocos/physics/spec/i-character-controller.ts:36
↓ 113 callersFunctionorient3d
native/cocos/gi/light-probe/predicates.cpp:2179
↓ 112 callersMethodpush
native/cocos/editor-support/TypedArrayPool.cpp:138
↓ 111 callersFunctiondestroy
native/cocos/renderer/gfx-base/GFXDef-common.h:1577
↓ 110 callersMethodlock
native/cocos/base/Locked.h:81
↓ 110 callersFunctiontoUint
native/cocos/base/Utils.h:119
↓ 109 callersMethodaddRef
native/cocos/base/RefCounted.cpp:54
↓ 109 callersFunctionparseInt
native/cocos/base/csscolorparser.cpp:232
↓ 108 callersFunctioncb
(err?: Error | null)
cocos/asset/asset-manager/utilities.ts:207
↓ 108 callersMethodtype
()
cocos/ui/layout.ts:277
↓ 107 callersMethodemit
(name: string, ...args: any)
@types/editor-extends.d.ts:34
↓ 107 callersFunctionjsvm_clear_last_error
native/cocos/bindings/jswrapper/jsvm-v8-backend/js_native_api_v8.h:256
↓ 106 callersFunctionrange
* @en Time range of this track. * @zh 此轨道的时间范围。 * @returns The time range.
cocos/animation/tracks/track.ts:500
↓ 105 callersFunctionbroadcast
native/cocos/core/event/EventBus.h:204
↓ 105 callersMethodd
Return degree of the vertex
cocos/rendering/custom/graph.ts:258
↓ 105 callersMethodmultiply
* @en Element-wise vector multiplication and save the results to out vector object * @zh 逐元素向量乘法
cocos/core/math/vec4.ts:151
↓ 105 callersMethodtransformMat4
* @en Vector and fourth order matrix multiplication * @zh 向量与四维矩阵乘法
cocos/core/math/vec4.ts:444
↓ 104 callersMethodcos
Returns the cosine in radians from a lookup table.
native/cocos/editor-support/spine/4.2/spine/MathUtil.cpp:80
↓ 104 callersMethodunregisterSystem
(sys: System)
cocos/game/director.ts:708
↓ 103 callersFunctionassert
(condition: boolean, message?: string, ...optionalParams: StringSubstitution[])
cocos/core/platform/debug.ts:105
↓ 103 callersMethodassignSorted
( times: Iterable<[number, RealKeyframeValueParameters]> | readonly number[], values?: readonl
cocos/core/curves/curve.ts:460
↓ 103 callersFunctionatan2
Returns atan2 in radians, faster but less accurate than Math.Atan2. Average error of 0.00231 radians (0.1323 degrees), largest error of 0.00488 radian
native/cocos/editor-support/spine/3.8/spine/MathUtil.h:86
↓ 102 callersMethodclear
(value: ClearView[])
cocos/rendering/custom/render-graph.ts:1212
↓ 102 callersMethodget_allocator
native/cocos/renderer/pipeline/custom/RenderGraphTypes.h:960
↓ 101 callersMethodstringify
native/cocos/network/SocketIO.cpp:177
↓ 100 callersFunctionV8LocalValueFromJsValue
native/cocos/bindings/jswrapper/jsvm-v8-backend/js_native_api_v8.h:403
↓ 100 callersFunctionfree
native/cocos/base/memory/MemoryHook.cpp:59
↓ 100 callersFunctiongetItem
(key)
platforms/minigame/platforms/taobao/wrapper/builtin/localStorage.js:14
↓ 97 callersMethodnativeThisObject
* @brief Gets void* pointer of `this` object's private data. * @return A void* pointer of `this` object's private data. */
native/cocos/bindings/jswrapper/State.h:45
↓ 97 callersFunctionwarn
(...args: any)
cocos/core/platform/sys.ts:319
↓ 96 callersFunctionIsEqualF
native/tests/unit-test/src/utils.h:32
↓ 96 callersMethodassign
native/cocos/core/DataView.cpp:69
↓ 96 callersMethodtraversalinit
native/cocos/gi/light-probe/tetgen.cpp:4363
↓ 95 callersFunctionEnum
(obj: T)
cocos/core/value-types/enum.ts:51
↓ 95 callersMethodstr
native/cocos/base/StringHandle.h:35
↓ 94 callersMethodexistsSync
(filePath: string)
scripts/native-pack-tool/source/utils.ts:350
↓ 94 callersMethodtoArray
* @en Converts the given vector to an array * @zh 向量转数组 * @param ofs Array Start Offset
cocos/core/math/vec4.ts:505
↓ 93 callersFunctionjoin
(...segments: string[])
cocos/core/utils/path.ts:40
↓ 93 callersMethodsin
Returns the sine in radians from a lookup table.
native/cocos/editor-support/spine/4.2/spine/MathUtil.cpp:85
↓ 92 callersMethodIsEmpty
native/cocos/bindings/jswrapper/v8/debugger/util-inl.h:77
↓ 92 callersMethodgetName
native/cocos/audio/android/Track.h:59
↓ 92 callersMethodupdate
* @engineInternal * @en Update camera * @zh 更新相机 * @param camera @en Camera @zh 相机
cocos/rendering/custom/pipeline.ts:980
↓ 91 callersMethodappend
(self, func)
native/tools/bindings-generator/generator.py:1039
↓ 91 callersMethoddata
native/cocos/bindings/jswrapper/v8/Utils.cpp:251
↓ 91 callersFunctiontype
* @en Get current type. * @zh 队列类型。
cocos/gfx/base/queue.ts:37
← previousnext →101–200 of 39,311, ranked by callers