Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cocos/cocos4
/ functions
Functions
39,311 in github.com/cocos/cocos4
⨍
Functions
39,311
◇
Types & classes
10,059
↓ 17 callers
Function
l
(e)
templates/web-mobile/vconsole.min.js:10
↓ 17 callers
Function
murmurhash2_32_gc
(input: string | Uint8Array, seed: number)
cocos/core/algorithm/murmurhash2_gc.ts:48
↓ 17 callers
Method
pause
(time: number)
tests/animation/embedded-player/util.ts:48
↓ 17 callers
Method
r
* @en Get or set red channel value. * @zh 获取或设置当前颜色的 Red 通道。
cocos/core/math/color.ts:346
↓ 17 callers
Method
runOnGameThread
(final Runnable runnable)
native/cocos/platform/android/java/src/com/cocos/lib/CocosHelper.java:160
↓ 17 callers
Method
runOnGameThreadAtForeground
(final Runnable runnable)
native/cocos/platform/ohos/libcocos/src/main/java/com/cocos/lib/CocosHelper.java:161
↓ 17 callers
Method
set
native/cocos/bindings/sebind/intl/common.h:401
↓ 17 callers
Method
setLinearLimit
(idx: number, lower: number, upper: number)
cocos/physics/spec/i-physics-constraint.ts:62
↓ 17 callers
Function
setMat4Impl
native/cocos/renderer/pipeline/custom/NativeUtils.cpp:47
↓ 17 callers
Function
sinDeg
Returns the sine in radians from a lookup table.
native/cocos/editor-support/spine/3.8/spine/MathUtil.h:75
↓ 17 callers
Method
subtract
native/cocos/math/Vec3.cpp:366
↓ 17 callers
Method
toStringForce
native/cocos/bindings/jswrapper/Value.cpp:477
↓ 17 callers
Method
transformMat3
native/cocos/math/Vec3.cpp:209
↓ 17 callers
Function
tryDefineGlobal
(name: string, value: boolean)
tests/constants-for-test.ts:10
↓ 17 callers
Function
unicode
(s)
native/tools/bindings-generator/generator.py:22
↓ 17 callers
Method
update
(space: number, trans: Mat4)
cocos/particle/particle.ts:145
↓ 17 callers
Function
withVisibleTrueSerializableFalse
(v: T)
tests/core/decorator.test.ts:66
↓ 16 callers
Method
GetBlockVector
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:7490
↓ 16 callers
Method
GetOffset
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:8438
↓ 16 callers
Method
IsExceptionPending
native/cocos/platform/openharmony/napi/napi-inl.h:486
↓ 16 callers
Function
VmaAlignUp
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:4448
↓ 16 callers
Method
_getClass
native/cocos/bindings/jswrapper/v8/Object.cpp:1080
↓ 16 callers
Method
addAsset
native/cocos/core/builtin/BuiltinResMgr.cpp:154
↓ 16 callers
Function
add_vertex
for transive_closure.hpp line 231
native/cocos/renderer/pipeline/custom/FrameGraphDispatcher.cpp:512
↓ 16 callers
Method
append
native/cocos/renderer/frame-graph/DevicePass.cpp:230
↓ 16 callers
Method
begin
native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp:85
↓ 16 callers
Method
bind
native/cocos/bindings/sebind/intl/common.h:54
↓ 16 callers
Method
bindBuffer
native/cocos/renderer/gfx-base/GFXDescriptorSet.cpp:63
↓ 16 callers
Method
bindTarget
(target: any)
cocos/particle/particle.ts:144
↓ 16 callers
Function
checkExtension
native/cocos/renderer/gfx-gles3/GLES3Device.h:82
↓ 16 callers
Method
closeAsync
native/cocos/network/WebSocketServer.cpp:179
↓ 16 callers
Method
color
()
cocos/particle/line.ts:168
↓ 16 callers
Method
createTextNode
()
platforms/native/builtin/jsb-adapter/document.js:103
↓ 16 callers
Method
crossFade
* 在指定时间内将从当前动画状态切换到指定的动画状态。 * @param state 指定的动画状态。 * @param duration 切换时间。
cocos/animation/cross-fade.ts:85
↓ 16 callers
Method
distanceSquared
native/cocos/math/Vec3.cpp:334
↓ 16 callers
Function
filter
native/cocos/editor-support/spine-creator-support/spine-cocos2dx.cpp:65
↓ 16 callers
Method
getBone
native/cocos/editor-support/dragonbones/armature/Armature.cpp:352
↓ 16 callers
Method
getChildByPath
* @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 callers
Method
getClearFlag
native/cocos/scene/Camera.h:326
↓ 16 callers
Method
getColor
native/cocos/2d/renderer/RenderEntity.h:134
↓ 16 callers
Method
getData
native/cocos/editor-support/spine/4.2/spine/Skeleton.cpp:542
↓ 16 callers
Function
getNameID
native/cocos/renderer/pipeline/custom/NativeUtils.cpp:37
↓ 16 callers
Method
getShaderVariant
* @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 callers
Method
getState
* @en Gets the animation state object. * @zh 获取动画状态。 * @method getState * @return {sp.spine.AnimationState} state
cocos/spine/skeleton.ts:697
↓ 16 callers
Method
getTexture
* @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 callers
Method
getXRConfig
native/cocos/platform/java/modules/XRInterface.cpp:431
↓ 16 callers
Method
gpuTextureObject
native/cocos/renderer/gfx-wgpu/WGPUTexture.h:43
↓ 16 callers
Method
inspector_agent
native/cocos/bindings/jswrapper/v8/debugger/env.h:333
↓ 16 callers
Method
instanceOf
native/cocos/editor-support/spine/4.2/spine/RTTI.cpp:49
↓ 16 callers
Method
isEnabled
native/cocos/scene/Fog.h:98
↓ 16 callers
Function
log
(...data: unknown[])
cocos/core/platform/debug.ts:65
↓ 16 callers
Function
m
(a)
external/compression/zlib.min.js:2
↓ 16 callers
Method
onAccelerometerChange
(cb: AccelerometerChangeCallback)
@types/pal/minigame.d.ts:61
↓ 16 callers
Method
open
native/cocos/audio/ohos/AudioDecoderWav.cpp:52
↓ 16 callers
Function
p
(array: Element[])
tests/core/algorithm/partition.test.ts:6
↓ 16 callers
Function
peg$literalExpectation
(text, ignoreCase)
scripts/native-pack-tool/xcode/lib/parser/pbxproj.js:325
↓ 16 callers
Function
poseGraphNodeCategory
(category: string)
cocos/animation/marionette/pose-graph/decorator/node.ts:29
↓ 16 callers
Method
querySelectorAll
(query)
platforms/native/builtin/jsb-adapter/document.js:90
↓ 16 callers
Method
recordCommandBuffer
( device: Device, renderPass: RenderPass, cmdBuffer: CommandBuffer, ds: Descri
cocos/rendering/custom/web-pipeline-types.ts:867
↓ 16 callers
Method
recordCommandBuffer
native/cocos/renderer/pipeline/custom/NativeRenderQueue.cpp:133
↓ 16 callers
Method
rend
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 callers
Function
resetAndEval
(time: number)
tests/curves/key-shared-curves.test.ts:76
↓ 16 callers
Function
seToJsValue
native/cocos/bindings/jswrapper/v8/Utils.cpp:58
↓ 16 callers
Method
setDesignResolutionSize
* @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 callers
Method
setHeight
(value: number)
cocos/physics/spec/i-character-controller.ts:48
↓ 16 callers
Method
setParent
* @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 callers
Method
setSampler
* @en Set sampler descriptor. * Type of the sampler should match the one in shader. * @zh 设置采样器描述符。类型需要与着色器中的一致。 * 不匹配会引起未定义行为。 *
cocos/rendering/custom/pipeline.ts:369
↓ 16 callers
Method
setUint32
native/cocos/core/DataView.cpp:151
↓ 16 callers
Method
setVec4
(name: string, vec: Vec4, idx = 0)
cocos/rendering/custom/web-pipeline-types.ts:566
↓ 16 callers
Method
trigger
native/cocos/base/Scheduler.cpp:114
↓ 15 callers
Method
CanBecomeLost
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:8482
↓ 15 callers
Method
IsFunction
native/cocos/platform/openharmony/napi/napi-inl.h:713
↓ 15 callers
Function
Just
native/cocos/platform/openharmony/napi/napi-inl.h:451
↓ 15 callers
Function
_assertThisInitialized
(self)
platforms/minigame/openDataContext/engine.js:124
↓ 15 callers
Method
addEventListener
(name, listener)
platforms/native/engine/jsb-videoplayer-openharmony.js:183
↓ 15 callers
Function
area
(p: Aim, q: Aim, r: Aim)
cocos/2d/assembler/graphics/webgl/earcut.ts:525
↓ 15 callers
Function
area
(a: IVec2Like, b: IVec2Like, c: IVec2Like)
cocos/physics-2d/framework/utils/polygon-partition.ts:117
↓ 15 callers
Method
begin
native/cocos/renderer/gfx-wgpu/WGPUCommandBuffer.cpp:80
↓ 15 callers
Method
bindSampler
* @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 callers
Method
build
native/cocos/gi/light-probe/Delaunay.cpp:69
↓ 15 callers
Function
c
(e)
templates/fb-instant-games/vconsole.min.js:10
↓ 15 callers
Function
calcSimpleDirectional
(samples: readonly Vec2[], input: Vec2)
tests/animation/new-gen-anim/blend-algorithms/blend-2d.test.ts:9
↓ 15 callers
Function
callModelPreviewFunction
(funcName, ...args)
editor/inspector/assets/fbx/preview.js:302
↓ 15 callers
Function
check
()
tests/animation/newgenanim.test.ts:197
↓ 15 callers
Method
copyBuffersToTexture
(buffers: Readonly<ArrayBufferView[]>, texture: Texture, regions: Readonly<BufferTextureCopy[]>)
cocos/gfx/webgl/webgl-device.ts:585
↓ 15 callers
Method
copyTo
(that: Transition)
cocos/animation/marionette/animation-graph.ts:76
↓ 15 callers
Method
createFramebuffer
(info: Readonly<FramebufferInfo>)
cocos/gfx/webgl/webgl-device.ts:519
↓ 15 callers
Method
decRef
native/cocos/bindings/jswrapper/jsvm/Object.cpp:930
↓ 15 callers
Function
defineAttr
(proto: any, name: string, offset: number)
cocos/core/math/math-native-ext.ts:45
↓ 15 callers
Method
disconnect
native/cocos/network/SocketIO.cpp:533
↓ 15 callers
Function
encode
(item)
editor/inspector/utils/material.js:20
↓ 15 callers
Method
freeCmds
native/cocos/renderer/gfx-gles-common/GLESCommandPool.h:136
↓ 15 callers
Method
getActivity
()
native/cocos/platform/android/java/src/com/cocos/lib/GlobalObject.java:57
↓ 15 callers
Method
getCurrentCameraUBOOffset
native/cocos/renderer/pipeline/PipelineUBO.cpp:602
↓ 15 callers
Method
getDataByKey
* @method getDataByKey * @param {string} Key
cocos/physics/utils/tuple-dictionary.ts:113
↓ 15 callers
Method
getDesignResolutionSize
* @en Returns the designed size for the view. * @zh 返回视图的设计分辨率。
cocos/ui/view.ts:490
↓ 15 callers
Function
getExtension
(gl: WebGL2RenderingContext, ext: string)
cocos/gfx/webgl2/webgl2-swapchain.ts:79
↓ 15 callers
Method
getIndexOffset
native/cocos/2d/renderer/UIMeshBuffer.h:69
↓ 15 callers
Method
getLayer
* @en get layer * @zh 获得纹理层
cocos/terrain/terrain.ts:1817
↓ 15 callers
Method
getNormalized
native/cocos/math/Vec3.cpp:360
← previous
next →
901–1,000 of 39,311, ranked by callers