MCPcopy Create free account

hub / github.com/cocos/cocos4 / functions

Functions39,311 in github.com/cocos/cocos4

↓ 26 callersMethodremoveAt
* @en Remove the element with the specified index from the object pool. This will decrease pool size. * @zh 移除对象池中指定索引的元素,会减小池子尺寸。 * @param
cocos/core/memop/recycle-pool.ts:149
↓ 26 callersMethodset
* @en Sets the out vector with the given x, y and z values * @zh 设置向量值
cocos/core/math/vec3.ts:101
↓ 26 callersMethodsetFrame
native/cocos/editor-support/spine/3.8/spine/EventTimeline.cpp:101
↓ 26 callersMethodsetUint8
native/cocos/core/DataView.cpp:137
↓ 26 callersMethodslerp
* @en Spherical quaternion interpolation * @zh 四元数球面插值
cocos/core/math/quat.ts:318
↓ 26 callersMethodversion
()
cocos/rendering/post-process/utils/pass-context.ts:63
↓ 25 callersMethodData
native/cocos/bindings/jswrapper/jsvm-v8-backend/js_native_api_v8.cc:1248
↓ 25 callersMethodalloc
* @en Take an object out of the object pool. * @zh 从对象池中取出一个对象。 * @returns @en An object ready for use. This function always returns an obje
cocos/core/memop/pool.ts:78
↓ 25 callersMethodbeginRenderPass
* Begins encoding a render pass described by `descriptor`. * @param descriptor - Description of the {@link GPURenderPassEncoder} to create.
@types/webGPU.d.ts:2159
↓ 25 callersMethodbindPipelineState
(pipelineState: PipelineState)
cocos/gfx/webgl/webgl-command-buffer.ts:105
↓ 25 callersMethodbindTexture
native/cocos/renderer/pipeline/GlobalDescriptorSetManager.cpp:96
↓ 25 callersMethodblitScreen
(passIdx = 0)
cocos/rendering/post-process/utils/pass-context.ts:241
↓ 25 callersMethodconcat
native/cocos/core/memop/CachedArray.h:118
↓ 25 callersMethodcross
* @en Calculates the cross product with another vector. * @zh 向量叉乘。视当前向量和指定向量为三维向量(舍弃 w 分量),将当前向量左叉乘指定向量 * @param other specified vector
cocos/core/math/vec4.ts:910
↓ 25 callersMethodfind
(key: Key)
cocos/rendering/custom/graph.ts:447
↓ 25 callersMethodfixPath
(p: string)
scripts/native-pack-tool/source/utils.ts:20
↓ 25 callersMethodgetArrayElement
native/cocos/bindings/jswrapper/v8/Object.cpp:877
↓ 25 callersMethodgetMask
()
cocos/physics/spec/i-group-mask.ts:31
↓ 25 callersMethodgetTransform
(index: number, out: Transform)
cocos/animation/core/transform-array.ts:60
↓ 25 callersMethodgetWorldVerticesLength
native/cocos/editor-support/spine/4.2/spine/VertexAttachment.cpp:141
↓ 25 callersMethodmin
native/cocos/math/Vec3.cpp:382
↓ 25 callersMethodresize
native/cocos/platform/FileUtils.h:86
↓ 25 callersFunctionset
native/cocos/editor-support/spine/4.2/spine/PhysicsConstraintTimeline.h:86
↓ 25 callersMethodsphereFrustum
native/cocos/core/geometry/Sphere.cpp:190
↓ 25 callersMethodsplit
* @en Calculates a split frustum. * @zh 计算出一个分割的视锥体。 * @param start @en The split start position. @zh 分割开始位置。 * @param end @en The spli
cocos/core/geometry/frustum.ts:186
↓ 25 callersMethodtick
native/cocos/engine/Engine.cpp:280
↓ 25 callersMethodupdatePassViewPort
(shadingScale = 1, offsetScale = 0)
cocos/rendering/post-process/utils/pass-context.ts:168
↓ 25 callersMethodupdateRenderData
(comp: UIRenderer)
cocos/2d/renderer/base.ts:42
↓ 25 callersFunctionvisitObject
native/cocos/renderer/pipeline/custom/RenderGraphGraphs.h:1351
↓ 24 callersMethodGetCurrentFrameIndex
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:7895
↓ 24 callersMethod_axisToButtons
(axisValue: number)
pal/input/web/gamepad-input.ts:480
↓ 24 callersMethod_getWebGamepad
(deviceId: number)
pal/input/web/gamepad-input.ts:469
↓ 24 callersMethod_recursiveDirty
()
cocos/ui/widget.ts:1027
↓ 24 callersMethod_tryEnableEditorPreview
()
editor/assets/default_renderpipeline/builtin-pipeline-settings.ts:91
↓ 24 callersMethodbegin
native/cocos/bindings/jswrapper/v8/debugger/util-inl.h:153
↓ 24 callersMethodbindInputAssembler
(inputAssembler: InputAssembler)
cocos/gfx/webgl/webgl-command-buffer.ts:130
↓ 24 callersMethodclipEnd
native/cocos/editor-support/spine/3.8/spine/SkeletonClipping.cpp:72
↓ 24 callersMethodcopy
(value: CopyPass)
cocos/rendering/custom/render-graph.ts:1205
↓ 24 callersFunctioncreatePool
(Constructor: new() => T)
cocos/rendering/custom/layout-graph.ts:1006
↓ 24 callersFunctionfree
native/cocos/editor-support/spine/3.8/spine/Pool.h:63
↓ 24 callersMethodgetInversed
native/cocos/math/Mat4.cpp:758
↓ 24 callersMethodgetKeyframeTime
* @en * Gets the time of specified keyframe. * @zh * 获取指定关键帧上的时间。 * @param index Index to the keyframe. * @returns The keyfra
cocos/core/curves/keyframe-curve.ts:135
↓ 24 callersFunctiongetName
native/cocos/renderer/pipeline/custom/LayoutGraphNames.h:39
↓ 24 callersMethodgetOrCreatePipelineState
(device: Device, pass: Pass, shader: Shader, renderPass: RenderPass, ia: InputAssembler)
cocos/rendering/pipeline-state-manager.ts:34
↓ 24 callersMethodgoto
(time: number)
tests/animation/new-gen-anim/utils/eval-mock.ts:59
↓ 24 callersMethodindexOf
native/cocos/core/memop/CachedArray.h:151
↓ 24 callersMethodpop
native/cocos/renderer/gfx-vulkan/VKGPUObjects.h:645
↓ 24 callersMethodscale
native/cocos/math/Mat4.cpp:912
↓ 24 callersMethodsetMat4
* @en Set matrix4x4 常量(uniform) which consists of 16 floats (64 bytes). * @zh 设置4x4矩阵,常量(uniform)有16个float (64 bytes) * @param name @en unif
cocos/rendering/custom/pipeline.ts:298
↓ 24 callersMethodsetRotation
(val: Readonly<Quat> | number, y?: number, z?: number, w?: number)
cocos/scene-graph/node.ts:2473
↓ 24 callersMethodtoFloat
native/cocos/bindings/jswrapper/Value.cpp:446
↓ 24 callersMethodtraverse
native/cocos/gi/light-probe/tetgen.cpp:4391
↓ 24 callersFunctionvisit
native/cocos/base/Value.cpp:724
↓ 24 callersMethodwakeUp
()
cocos/physics/spec/i-rigid-body.ts:49
↓ 23 callersMethodbindTexture
native/cocos/scene/Pass.cpp:254
↓ 23 callersFunctioncopy
(array: T[])
cocos/core/utils/array.ts:254
↓ 23 callersMethoddealloc
native/cocos/gi/light-probe/tetgen.cpp:4347
↓ 23 callersMethodempty
native/cocos/renderer/pipeline/GeometryRenderer.cpp:256
↓ 23 callersMethodgetArrayLength
native/cocos/bindings/jswrapper/v8/Object.cpp:868
↓ 23 callersMethodgetName
(v: number)
cocos/rendering/custom/layout-graph.ts:353
↓ 23 callersMethodgetRegion
native/cocos/editor-support/spine/4.2/spine/MeshAttachment.cpp:145
↓ 23 callersMethodgetViewportRect
* @en Returns the view port rectangle. * @zh 返回视窗剪裁区域。
cocos/ui/view.ts:528
↓ 23 callersFunctionhash_range
native/cocos/base/std/hash/hash.h:432
↓ 23 callersFunctionisCurveTwoValues
(curve: CurveRange)
cocos/particle/particle-general-function.ts:143
↓ 23 callersMethodisZero
native/cocos/math/Vec4.cpp:74
↓ 23 callersMethodlength
* @en Returns the length of this vector. * @zh 计算向量的长度(模)。 * @returns Length of vector
cocos/core/math/vec4.ts:926
↓ 23 callersMethodname
native/cocos/plugins/bus/EventBus.h:67
↓ 23 callersMethodparallel
* @en * Add a parallel action. * @zh * 添加一个并行 action。 * @method parallel * @param args @en The tween parallel to this tween @
cocos/tween/tween.ts:602
↓ 23 callersFunctionpeg$parse_
()
scripts/native-pack-tool/xcode/lib/parser/pbxproj.js:1752
↓ 23 callersFunctionpow
native/cocos/editor-support/spine/3.8/spine/MathUtil.h:114
↓ 23 callersMethodserialize
* 应 AssetDB 要求提供这个方法。 * 返回一个序列化后的对象 * * @method serialize * @returns {String} * @private
cocos/asset/assets/asset.ts:241
↓ 23 callersMethodstop
()
tests/animation/embedded-player/util.ts:24
↓ 23 callersMethodtoUint32
* @zh 转换当前颜色为无符号 32 位整数, 高 8 位为 alpha 通道,次高 8 位为蓝色通道,次低 8 位为绿色通道,低 8 位为红色通道。 * @en Convert the current color to a unsigned 32 bit integer, the hi
cocos/core/math/color.ts:308
↓ 22 callersMethodIsObject
native/cocos/platform/openharmony/napi/napi-inl.h:709
↓ 22 callersMethodThis
native/cocos/bindings/jswrapper/jsvm-v8-backend/js_native_api_v8.cc:626
↓ 22 callersFunctionWrapCallback
native/cocos/platform/openharmony/napi/napi-inl.h:86
↓ 22 callersFunction_defineProperties
(target, props)
platforms/minigame/openDataContext/engine.js:112
↓ 22 callersMethodbindTexture
* @en Bind texture for all descriptorSets, so that all created descriptorSet texture are consistent * @zh 为所有的 descriptorSet 绑定 texture,使得所有已创建的
cocos/rendering/global-descriptor-set-manager.ts:142
↓ 22 callersMethodbyteLength
native/cocos/core/DataView.h:65
↓ 22 callersFunctionfmaxf
(a, b)
platforms/minigame/openDataContext/engine.js:1562
↓ 22 callersMethodgetCurrentStateStatus
(layer: number)
cocos/animation/marionette/graph-eval.ts:165
↓ 22 callersMethodgetDevice
native/cocos/renderer/pipeline/custom/NativePipeline.cpp:122
↓ 22 callersMethodgetElementsByTagName
(tagName)
platforms/native/builtin/jsb-adapter/document.js:55
↓ 22 callersMethodgetPhaseID
(subpassOrPassID: number, name: string)
cocos/rendering/custom/pipeline.ts:1755
↓ 22 callersMethodgetStateCache
()
cocos/gfx/webgl2/webgl2-device.ts:100
↓ 22 callersMethodh
Checks if a vertex currently holds a given type
cocos/rendering/custom/graph.ts:387
↓ 22 callersFunctionhashCombineKey
(val)
cocos/rendering/custom/define.ts:683
↓ 22 callersMethodisBoolean
* @brief Tests whether se::Value stores a boolean. * @return true if se::Value stores a boolean, otherwise false. */
native/cocos/bindings/jswrapper/Value.h:445
↓ 22 callersMethodisExactly
native/cocos/editor-support/spine/4.2/spine/RTTI.cpp:45
↓ 22 callersMethoditems
()
cocos/animation/marionette/motion/animation-blend-2d.ts:90
↓ 22 callersMethodlengthSqr
* @en Calculates the squared length of the vector * @zh 求向量长度平方
cocos/core/math/vec4.ts:295
↓ 22 callersMethodlineTo
* @en * Adds a straight line to the path. * * @zh * 绘制直线路径。 * * @param x @en The x-axis coordinate of the target positio
cocos/2d/components/graphics.ts:330
↓ 22 callersMethodloadAny
( requests: string | string[] | IRequest | Array<IRequest>, options?: { [key: string]: any, pr
cocos/asset/asset-manager/asset-manager.ts:558
↓ 22 callersMethodrbegin
Returns a reverse iterator pointing to the last element of the Vector. */
native/cocos/base/RefVector.h:89
↓ 22 callersMethodresize
native/cocos/core/assets/RenderTexture.cpp:74
↓ 22 callersFunctionsetIndex
native/cocos/renderer/pipeline/custom/NativeProgramLibrary.cpp:70
↓ 22 callersMethodsetViewport
* Sets the viewport used during the rasterization stage to linearly map from * NDC|normalized device coordinates to viewport coordinates. * @par
@types/webGPU.d.ts:2907
↓ 22 callersFunctionwrapSetProperty
(cb: setProperyCB, target: Material, name: string, val: MaterialPropertyFull | MaterialPropertyFull[], passIdx
cocos/asset/assets/material.jsb.ts:82
↓ 21 callersMethodCheck
native/cocos/platform/openharmony/napi/napi-inl.h:404
↓ 21 callersFunctionFIXED_ONE_BYTE_STRING
native/cocos/bindings/jswrapper/jsvm-v8-backend/util.h:336
← previousnext →601–700 of 39,311, ranked by callers