MCPcopy Create free account

hub / github.com/cocos/cocos4 / functions

Functions39,311 in github.com/cocos/cocos4

↓ 42 callersMethodequals
* @en Check whether the two given vectors are approximately equivalent * @zh 排除浮点数误差的向量近似等价判断
cocos/core/math/vec4.ts:538
↓ 42 callersMethodisInited
native/cocos/scene/Model.h:185
↓ 42 callersFunctionpolar
(magnitude: number, thetaDeg: number)
tests/animation/new-gen-anim/blend-algorithms/blend-2d.test.ts:478
↓ 42 callersMethodpush
(transformIndex: number, transform: Transform)
cocos/animation/marionette/pose-graph/pose-nodes/modify-pose-base.ts:29
↓ 42 callersMethodreserve
ContinuousContainer
native/cocos/renderer/pipeline/custom/RenderGraphTypes.cpp:157
↓ 42 callersMethodround
* @en Calculates element-wise round results and save to the out vector * @zh 逐元素向量四舍五入取整
cocos/core/math/vec4.ts:223
↓ 41 callersMethodaddQueue
* @en Add render queue. * Every render queue has a hint type, such as NONE, OPAQUE, MASK or BLEND. * User should only add objects of this hi
cocos/rendering/custom/pipeline.ts:1514
↓ 41 callersFunctioncreateAnimationGraph
(params: AnimationGraphParams)
tests/animation/new-gen-anim/utils/factory.ts:16
↓ 41 callersMethodgetGFXTexture
* @en Gets the related GFX [[gfx.Texture]] resource. * @zh 获取渲染贴图的 GFX 资源。 * @returns @en Gfx Texture resource. @zh GFX 贴图资源。
cocos/2d/assets/sprite-frame.ts:778
↓ 41 callersMethodgpuDeviceObject
native/cocos/renderer/gfx-wgpu/WGPUDevice.h:59
↓ 41 callersMethodgpuTexture
()
cocos/gfx/webgl/webgl-texture.ts:33
↓ 41 callersMethodlength
native/cocos/core/geometry/Line.h:165
↓ 41 callersMethodonce
(type: PipelineEventType, callback: PipelineEventCallback, target?: any)
cocos/rendering/pipeline-event.ts:102
↓ 41 callersMethodpop_back
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:5061
↓ 40 callersFunctioncreateAttribute
(name: AttributeName, format: Format, isNormalized = false, stream = 0, isInstanced = false, location = 0)
cocos/particle/renderer/particle-system-renderer-cpu.ts:89
↓ 40 callersFunctionformerlySerializedAs
(name: string)
cocos/core/data/decorators/serializable.ts:48
↓ 40 callersMethodmultiply
native/cocos/math/Vec3.cpp:197
↓ 40 callersMethodremoveChild
* @en Removes a child from the container. * @zh 移除节点中指定的子节点。 * @param child - The child node which will be removed.
cocos/scene-graph/node.ts:805
↓ 40 callersMethodroot
native/cocos/bindings/jswrapper/v8/Object.cpp:1089
↓ 40 callersMethodvisible
* @zh 地形块的可见性 * @en The visibility of the block
cocos/terrain/terrain.ts:780
↓ 39 callersMethodbasename
native/cocos/base/memory/CallStack.cpp:136
↓ 39 callersFunctionend
()
templates/wechatprogram/first-screen.js:231
↓ 39 callersMethoderase
native/cocos/bindings/jswrapper/MappingUtils.cpp:74
↓ 39 callersFunctionfindVertex
native/cocos/renderer/pipeline/custom/RenderGraphGraphs.h:2229
↓ 39 callersFunctioninitialize
* @en The initialization process, user shouldn't use it in most case, only useful when need to generate render pipeline programmatically. * @zh 初
cocos/rendering/render-flow.ts:112
↓ 39 callersMethodregister
( type: string | Record<string, (file: any, options: Record<string, any>, onComplete: ((err: Error | n
cocos/asset/asset-manager/parser.ts:236
↓ 39 callersMethodsubarray
native/cocos/core/TypedArray.h:164
↓ 38 callersMethodLength
native/cocos/platform/openharmony/napi/napi-inl.h:1874
↓ 38 callersMethodgetImpl
native/cocos/physics/physx/PhysXSharedBody.cpp:104
↓ 38 callersFunctionmax
native/cocos/editor-support/spine/3.8/spine/MathUtil.h:54
↓ 37 callersMethodGetSize
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:6164
↓ 37 callersMethod_vSet
(x: number, y: number, distance = 0)
cocos/2d/assembler/graphics/webgl/graphics-assembler.ts:658
↓ 37 callersMethodaddText
native/cocos/profiler/DebugRenderer.cpp:291
↓ 37 callersFunctioncleanUpVectorOfPointers
native/cocos/editor-support/spine/4.2/spine/ContainerUtil.h:109
↓ 37 callersMethodclose
native/cocos/base/Log.cpp:101
↓ 37 callersFunctioncross
Calculates cross product of two points. @return float @since v2.1.4 */
native/cocos/math/Vec2.h:514
↓ 37 callersMethoddecRef
native/cocos/bindings/jswrapper/RefCounter.cpp:34
↓ 37 callersMethoddestroy
()
cocos/physics/spec/i-physics-world.ts:61
↓ 37 callersFunctiongetDeviceAccessFlagsImpl
native/cocos/renderer/gfx-base/GFXBarrier.cpp:446
↓ 37 callersMethodgetWindow
native/cocos/scene/Camera.h:280
↓ 37 callersMethodgetWorldBounds
native/cocos/scene/Model.h:226
↓ 37 callersMethodisTypedArray
native/cocos/bindings/jswrapper/v8/Object.cpp:635
↓ 37 callersFunctionnow
* @en Get the current time in milliseconds. * @zh 获取当前时间(毫秒为单位)。
cocos/core/platform/sys.ts:346
↓ 37 callersFunctionsize
The number of elements in the map. */
native/cocos/base/RefMap.h:121
↓ 37 callersMethodwriteToBlackboard
native/cocos/renderer/frame-graph/PassNodeBuilder.cpp:62
↓ 36 callersMethod_markForUpdateRenderData
* An internal method that marks the render data of the current component as modified so that the render data is recalculated. * Adding this metho
cocos/2d/components/ui-mesh-renderer.ts:259
↓ 36 callersFunctionassert
(value, message)
native/tests/sebind-tests/data/main.js:4
↓ 36 callersMethoddebug
native/cocos/renderer/gfx-wgpu/WGPUDevice.cpp:482
↓ 36 callersFunctionformat
native/cocos/base/UTF8.cpp:47
↓ 36 callersMethodgetScale
native/cocos/math/Mat4.cpp:693
↓ 36 callersFunctionisNotEqualF
native/cocos/math/Math.h:73
↓ 36 callersMethodoff
* @en * Removes the listeners previously registered with the same type, callback, target and or useCapture, * if only type is passed as para
templates/harmonyos-next/entry/src/main/ets/common/Eventify.ts:108
↓ 36 callersFunctionpeg$fail
(expected)
scripts/native-pack-tool/xcode/lib/parser/pbxproj.js:396
↓ 36 callersMethodsetPassInput
(inputName: string, shaderName: string)
cocos/rendering/post-process/utils/pass-context.ts:234
↓ 36 callersFunctionsign
native/cocos/primitive/Cylinder.cpp:29
↓ 36 callersFunctionswap
Swap the values object1 and object2. */
native/cocos/base/RefVector.h:472
↓ 35 callersMethodaddTexture
* @en Add or update texture. * @zh 添加或更新外部的贴图。 * @param name @en Resource name @zh 资源名字 * @param type @en Type of the texture @zh 贴图的类型
cocos/rendering/custom/pipeline.ts:884
↓ 35 callersFunctionassertIsNonNullable
(expr: T, message?: string)
cocos/core/data/utils/asserts.ts:33
↓ 35 callersMethodbegin
native/tools/simulator/libsimulator/lib/protobuf-lite/google/protobuf/repeated_field.h:721
↓ 35 callersMethodcbegin
Return const_iterator to beginning.*/
native/cocos/base/RefMap.h:64
↓ 35 callersFunctioncleanUpVectorOfPointers
native/cocos/editor-support/spine/3.8/spine/ContainerUtil.h:109
↓ 35 callersFunctioncomposeInputKeyInternally
(propertyName: string, elementIndex?: number)
tests/animation/new-gen-anim/pose-graph/utils/misc.ts:41
↓ 35 callersMethodcomputeWorldVertices
native/cocos/editor-support/spine/4.2/spine/MeshAttachment.cpp:237
↓ 35 callersMethodgetRotation
native/cocos/math/Mat4.cpp:697
↓ 35 callersMethodgetSettings
()
native/cocos/platform/android/libcocosxr/src/com/cocos/lib/xr/CocosXRWebViewContainer.java:459
↓ 35 callersMethodgetUint32
native/cocos/core/DataView.cpp:102
↓ 35 callersMethodhandle
(asset: TAssetType)
editor/src/marionette/pose-graph/drag/registry.ts:57
↓ 35 callersMethodisEnabled
* @en Get rendering debug view on / off state. * @zh 查询当前是否开启了渲染调试模式。 */
native/cocos/renderer/pipeline/DebugView.h:201
↓ 35 callersMethodonEnable
* @en Called when this component becomes enabled and its node is active.<br/> * This is a lifecycle method. It may not be implemented in the supe
cocos/physics/spec/i-lifecycle.ts:90
↓ 35 callersMethodpush
* @en * Push an element to the end of the array. * @zh * 向数组末尾添加一个元素。 * @param item @en The item to be added. @zh 被添加到数组的元素。
cocos/core/memop/cached-array.ts:78
↓ 35 callersMethodrunOnUiThread
Runs the specified action on the UI thread. If the current thread is the UI thread, then the action is executed immediately. If the current thread is
native/cocos/platform/android/java/src/com/cocos/lib/GlobalObject.java:73
↓ 35 callersMethodsyncSceneToPhysics
()
cocos/physics-2d/spec/i-physics-world.ts:36
↓ 35 callersMethodtoBeAround
(expected: number, numDigits?: number)
tests/utils/matchers/value-type-asymmetric-matchers.ts:53
↓ 35 callersMethodupdateWorldTransform
* @en Update the world transform information if outdated * @zh 更新节点的世界变换信息
cocos/scene-graph/node.ts:2311
↓ 34 callersMethodWriteNumber
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:8336
↓ 34 callersFunctionclamp
native/cocos/math/Utils.h:83
↓ 34 callersMethodgetInstance
()
native/cocos/platform/android/libcocosxr/src/com/cocos/lib/xr/CocosXRVideoManager.java:119
↓ 34 callersMethodhasEventListener
* @zh 检查指定事件是否已注册回调。 * @en Checks whether there is correspond event listener registered on the given event. * @param type - Event type.
templates/harmonyos-next/entry/src/main/ets/common/Eventify.ts:46
↓ 34 callersMethodisExactly
native/cocos/editor-support/spine/3.8/spine/RTTI.cpp:49
↓ 34 callersMethodrunCmd
(cmd: string, args: string[], slient: boolean, cwd?: string)
scripts/native-pack-tool/source/utils.ts:314
↓ 34 callersMethodsetFloat32
native/cocos/core/DataView.cpp:179
↓ 34 callersMethodsetNull
native/cocos/bindings/jswrapper/Value.cpp:295
↓ 34 callersMethodsetRadius
(value: number)
cocos/physics/spec/i-character-controller.ts:47
↓ 34 callersMethodtrim
native/cocos/editor-support/spine/3.8/spine/Atlas.cpp:236
↓ 33 callersMethodGetAllocationCallbacks
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:7794
↓ 33 callersFunctionadd
native/cocos/editor-support/spine/3.8/spine/Vector.h:108
↓ 33 callersFunctioncallObjectVoidMethod
native/cocos/platform/java/jni/JniHelper.h:121
↓ 33 callersFunctioncheckExtension
native/cocos/renderer/gfx-gles2/GLES2Device.h:80
↓ 33 callersMethodcreate
* @en * Create a new task from pool. * * @zh * 从对象池中创建 task。 * * @param options @en Some optional parameters. @zh 一些可选参数
cocos/asset/asset-manager/task.ts:73
↓ 33 callersFunctioncreatePool
(Constructor: new() => T)
cocos/rendering/custom/render-graph.ts:1530
↓ 33 callersFunctionf
(e)
templates/web-mobile/vconsole.min.js:10
↓ 33 callersMethodfastRemoveAt
(i: number)
cocos/core/utils/array.ts:78
↓ 33 callersMethodgetPrivateData
native/cocos/bindings/jswrapper/jsvm/Object.cpp:590
↓ 33 callersMethodgetTypedID
native/cocos/renderer/gfx-base/GFXObject.h:38
↓ 33 callersMethodparse
* @en * Use corresponding handler to parse file. * * @zh * 使用对应的 handler 来解析文件。 * * @param id @en The id of file. @zh 文件
cocos/asset/asset-manager/parser.ts:271
↓ 33 callersMethodpushDefaultedPose
()
cocos/animation/marionette/animation-graph-context.ts:779
↓ 33 callersFunctionremove
native/cocos/base/Utils.h:320
↓ 33 callersMethodscaleAndAdd
* @en Element-wise multiplication and addition with the equation: a + b * scale * @zh 逐元素向量乘加: A + B * scale
cocos/core/math/vec4.ts:247
↓ 33 callersMethodsetFrame
native/cocos/editor-support/spine/4.2/spine/EventTimeline.cpp:94
↓ 33 callersFunctionsevalue_to_native
native/cocos/renderer/pipeline/custom/details/JsbConversion.h:70
← previousnext →401–500 of 39,311, ranked by callers