MCPcopy Create free account

hub / github.com/cocos/cocos4 / functions

Functions39,311 in github.com/cocos/cocos4

↓ 17 callersFunctionl
(e)
templates/web-mobile/vconsole.min.js:10
↓ 17 callersFunctionmurmurhash2_32_gc
(input: string | Uint8Array, seed: number)
cocos/core/algorithm/murmurhash2_gc.ts:48
↓ 17 callersMethodpause
(time: number)
tests/animation/embedded-player/util.ts:48
↓ 17 callersMethodr
* @en Get or set red channel value. * @zh 获取或设置当前颜色的 Red 通道。
cocos/core/math/color.ts:346
↓ 17 callersMethodrunOnGameThread
(final Runnable runnable)
native/cocos/platform/android/java/src/com/cocos/lib/CocosHelper.java:160
↓ 17 callersMethodrunOnGameThreadAtForeground
(final Runnable runnable)
native/cocos/platform/ohos/libcocos/src/main/java/com/cocos/lib/CocosHelper.java:161
↓ 17 callersMethodset
native/cocos/bindings/sebind/intl/common.h:401
↓ 17 callersMethodsetLinearLimit
(idx: number, lower: number, upper: number)
cocos/physics/spec/i-physics-constraint.ts:62
↓ 17 callersFunctionsetMat4Impl
native/cocos/renderer/pipeline/custom/NativeUtils.cpp:47
↓ 17 callersFunctionsinDeg
Returns the sine in radians from a lookup table.
native/cocos/editor-support/spine/3.8/spine/MathUtil.h:75
↓ 17 callersMethodsubtract
native/cocos/math/Vec3.cpp:366
↓ 17 callersMethodtoStringForce
native/cocos/bindings/jswrapper/Value.cpp:477
↓ 17 callersMethodtransformMat3
native/cocos/math/Vec3.cpp:209
↓ 17 callersFunctiontryDefineGlobal
(name: string, value: boolean)
tests/constants-for-test.ts:10
↓ 17 callersFunctionunicode
(s)
native/tools/bindings-generator/generator.py:22
↓ 17 callersMethodupdate
(space: number, trans: Mat4)
cocos/particle/particle.ts:145
↓ 17 callersFunctionwithVisibleTrueSerializableFalse
(v: T)
tests/core/decorator.test.ts:66
↓ 16 callersMethodGetBlockVector
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:7490
↓ 16 callersMethodGetOffset
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:8438
↓ 16 callersMethodIsExceptionPending
native/cocos/platform/openharmony/napi/napi-inl.h:486
↓ 16 callersFunctionVmaAlignUp
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:4448
↓ 16 callersMethod_getClass
native/cocos/bindings/jswrapper/v8/Object.cpp:1080
↓ 16 callersMethodaddAsset
native/cocos/core/builtin/BuiltinResMgr.cpp:154
↓ 16 callersFunctionadd_vertex
for transive_closure.hpp line 231
native/cocos/renderer/pipeline/custom/FrameGraphDispatcher.cpp:512
↓ 16 callersMethodappend
native/cocos/renderer/frame-graph/DevicePass.cpp:230
↓ 16 callersMethodbegin
native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp:85
↓ 16 callersMethodbind
native/cocos/bindings/sebind/intl/common.h:54
↓ 16 callersMethodbindBuffer
native/cocos/renderer/gfx-base/GFXDescriptorSet.cpp:63
↓ 16 callersMethodbindTarget
(target: any)
cocos/particle/particle.ts:144
↓ 16 callersFunctioncheckExtension
native/cocos/renderer/gfx-gles3/GLES3Device.h:82
↓ 16 callersMethodcloseAsync
native/cocos/network/WebSocketServer.cpp:179
↓ 16 callersMethodcolor
()
cocos/particle/line.ts:168
↓ 16 callersMethodcreateTextNode
()
platforms/native/builtin/jsb-adapter/document.js:103
↓ 16 callersMethodcrossFade
* 在指定时间内将从当前动画状态切换到指定的动画状态。 * @param state 指定的动画状态。 * @param duration 切换时间。
cocos/animation/cross-fade.ts:85
↓ 16 callersMethoddistanceSquared
native/cocos/math/Vec3.cpp:334
↓ 16 callersFunctionfilter
native/cocos/editor-support/spine-creator-support/spine-cocos2dx.cpp:65
↓ 16 callersMethodgetBone
native/cocos/editor-support/dragonbones/armature/Armature.cpp:352
↓ 16 callersMethodgetChildByPath
* @en Returns a child with the given path. * @zh 通过路径获取节点的子节点。 * @param path - A path to find the child node. * @return a Node object w
cocos/scene-graph/node.ts:601
↓ 16 callersMethodgetClearFlag
native/cocos/scene/Camera.h:326
↓ 16 callersMethodgetColor
native/cocos/2d/renderer/RenderEntity.h:134
↓ 16 callersMethodgetData
native/cocos/editor-support/spine/4.2/spine/Skeleton.cpp:542
↓ 16 callersFunctiongetNameID
native/cocos/renderer/pipeline/custom/NativeUtils.cpp:37
↓ 16 callersMethodgetShaderVariant
* @en Gets the shader variant of the current pass and given macro patches * @zh 结合指定的编译宏组合获取当前 Pass 的 Shader Variant * @param patches The ma
cocos/render-scene/core/pass.ts:537
↓ 16 callersMethodgetState
* @en Gets the animation state object. * @zh 获取动画状态。 * @method getState * @return {sp.spine.AnimationState} state
cocos/spine/skeleton.ts:697
↓ 16 callersMethodgetTexture
* @en Get a Texture2D object from _textureData. * @zh 获取2D纹理对象。 * @returns @en A texture instance if _textureData is not null, otherwise ret
cocos/dragon-bones/CCSlot.ts:97
↓ 16 callersMethodgetXRConfig
native/cocos/platform/java/modules/XRInterface.cpp:431
↓ 16 callersMethodgpuTextureObject
native/cocos/renderer/gfx-wgpu/WGPUTexture.h:43
↓ 16 callersMethodinspector_agent
native/cocos/bindings/jswrapper/v8/debugger/env.h:333
↓ 16 callersMethodinstanceOf
native/cocos/editor-support/spine/4.2/spine/RTTI.cpp:49
↓ 16 callersMethodisEnabled
native/cocos/scene/Fog.h:98
↓ 16 callersFunctionlog
(...data: unknown[])
cocos/core/platform/debug.ts:65
↓ 16 callersFunctionm
(a)
external/compression/zlib.min.js:2
↓ 16 callersMethodonAccelerometerChange
(cb: AccelerometerChangeCallback)
@types/pal/minigame.d.ts:61
↓ 16 callersMethodopen
native/cocos/audio/ohos/AudioDecoderWav.cpp:52
↓ 16 callersFunctionp
(array: Element[])
tests/core/algorithm/partition.test.ts:6
↓ 16 callersFunctionpeg$literalExpectation
(text, ignoreCase)
scripts/native-pack-tool/xcode/lib/parser/pbxproj.js:325
↓ 16 callersFunctionposeGraphNodeCategory
(category: string)
cocos/animation/marionette/pose-graph/decorator/node.ts:29
↓ 16 callersMethodquerySelectorAll
(query)
platforms/native/builtin/jsb-adapter/document.js:90
↓ 16 callersMethodrecordCommandBuffer
( device: Device, renderPass: RenderPass, cmdBuffer: CommandBuffer, ds: Descri
cocos/rendering/custom/web-pipeline-types.ts:867
↓ 16 callersMethodrecordCommandBuffer
native/cocos/renderer/pipeline/custom/NativeRenderQueue.cpp:133
↓ 16 callersMethodrend
Returns a reverse iterator pointing to the theoretical element preceding the * first element of the vector (which is considered its reverse end).
native/cocos/base/RefVector.h:96
↓ 16 callersFunctionresetAndEval
(time: number)
tests/curves/key-shared-curves.test.ts:76
↓ 16 callersFunctionseToJsValue
native/cocos/bindings/jswrapper/v8/Utils.cpp:58
↓ 16 callersMethodsetDesignResolutionSize
* @en Sets the resolution policy with designed view size in points.<br/> * The resolution policy include: <br/> * [1] ResolutionExactFit
cocos/ui/view.ts:436
↓ 16 callersMethodsetHeight
(value: number)
cocos/physics/spec/i-character-controller.ts:48
↓ 16 callersMethodsetParent
* @en Set parent of the node. * @zh 设置该节点的父节点。 * @param value Parent node * @param keepWorldTransform Whether keep node's current world
cocos/scene-graph/node.ts:492
↓ 16 callersMethodsetSampler
* @en Set sampler descriptor. * Type of the sampler should match the one in shader. * @zh 设置采样器描述符。类型需要与着色器中的一致。 * 不匹配会引起未定义行为。 *
cocos/rendering/custom/pipeline.ts:369
↓ 16 callersMethodsetUint32
native/cocos/core/DataView.cpp:151
↓ 16 callersMethodsetVec4
(name: string, vec: Vec4, idx = 0)
cocos/rendering/custom/web-pipeline-types.ts:566
↓ 16 callersMethodtrigger
native/cocos/base/Scheduler.cpp:114
↓ 15 callersMethodCanBecomeLost
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:8482
↓ 15 callersMethodIsFunction
native/cocos/platform/openharmony/napi/napi-inl.h:713
↓ 15 callersFunctionJust
native/cocos/platform/openharmony/napi/napi-inl.h:451
↓ 15 callersFunction_assertThisInitialized
(self)
platforms/minigame/openDataContext/engine.js:124
↓ 15 callersMethodaddEventListener
(name, listener)
platforms/native/engine/jsb-videoplayer-openharmony.js:183
↓ 15 callersFunctionarea
(p: Aim, q: Aim, r: Aim)
cocos/2d/assembler/graphics/webgl/earcut.ts:525
↓ 15 callersFunctionarea
(a: IVec2Like, b: IVec2Like, c: IVec2Like)
cocos/physics-2d/framework/utils/polygon-partition.ts:117
↓ 15 callersMethodbegin
native/cocos/renderer/gfx-wgpu/WGPUCommandBuffer.cpp:80
↓ 15 callersMethodbindSampler
* @en Bind sampler for all descriptorSets, so that all created descriptorSet sampler are consistent * @zh 为所有的 descriptorSet 绑定 sampler,使得所有已创建的
cocos/rendering/global-descriptor-set-manager.ts:125
↓ 15 callersMethodbuild
native/cocos/gi/light-probe/Delaunay.cpp:69
↓ 15 callersFunctionc
(e)
templates/fb-instant-games/vconsole.min.js:10
↓ 15 callersFunctioncalcSimpleDirectional
(samples: readonly Vec2[], input: Vec2)
tests/animation/new-gen-anim/blend-algorithms/blend-2d.test.ts:9
↓ 15 callersFunctioncallModelPreviewFunction
(funcName, ...args)
editor/inspector/assets/fbx/preview.js:302
↓ 15 callersFunctioncheck
()
tests/animation/newgenanim.test.ts:197
↓ 15 callersMethodcopyBuffersToTexture
(buffers: Readonly<ArrayBufferView[]>, texture: Texture, regions: Readonly<BufferTextureCopy[]>)
cocos/gfx/webgl/webgl-device.ts:585
↓ 15 callersMethodcopyTo
(that: Transition)
cocos/animation/marionette/animation-graph.ts:76
↓ 15 callersMethodcreateFramebuffer
(info: Readonly<FramebufferInfo>)
cocos/gfx/webgl/webgl-device.ts:519
↓ 15 callersMethoddecRef
native/cocos/bindings/jswrapper/jsvm/Object.cpp:930
↓ 15 callersFunctiondefineAttr
(proto: any, name: string, offset: number)
cocos/core/math/math-native-ext.ts:45
↓ 15 callersMethoddisconnect
native/cocos/network/SocketIO.cpp:533
↓ 15 callersFunctionencode
(item)
editor/inspector/utils/material.js:20
↓ 15 callersMethodfreeCmds
native/cocos/renderer/gfx-gles-common/GLESCommandPool.h:136
↓ 15 callersMethodgetActivity
()
native/cocos/platform/android/java/src/com/cocos/lib/GlobalObject.java:57
↓ 15 callersMethodgetCurrentCameraUBOOffset
native/cocos/renderer/pipeline/PipelineUBO.cpp:602
↓ 15 callersMethodgetDataByKey
* @method getDataByKey * @param {string} Key
cocos/physics/utils/tuple-dictionary.ts:113
↓ 15 callersMethodgetDesignResolutionSize
* @en Returns the designed size for the view. * @zh 返回视图的设计分辨率。
cocos/ui/view.ts:490
↓ 15 callersFunctiongetExtension
(gl: WebGL2RenderingContext, ext: string)
cocos/gfx/webgl2/webgl2-swapchain.ts:79
↓ 15 callersMethodgetIndexOffset
native/cocos/2d/renderer/UIMeshBuffer.h:69
↓ 15 callersMethodgetLayer
* @en get layer * @zh 获得纹理层
cocos/terrain/terrain.ts:1817
↓ 15 callersMethodgetNormalized
native/cocos/math/Vec3.cpp:360
← previousnext →901–1,000 of 39,311, ranked by callers