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
↓ 12 callers
Method
computeWorldVertices
native/cocos/editor-support/spine/3.8/spine/RegionAttachment.cpp:108
↓ 12 callers
Method
construct
()
platforms/minigame/platforms/alipay/wrapper/builtin/FileReader.js:2
↓ 12 callers
Method
create
(...args: U)
cocos/rendering/custom/utils.ts:147
↓ 12 callers
Function
createAnimationGraphEval2
(animationGraph: AnimationGraph | AnimationGraphVariant, node: Node)
tests/animation/newgenanim.test.ts:5609
↓ 12 callers
Function
createDummyState
({ duration = 1.0 } = {})
tests/animation/cross-fade.test.ts:32
↓ 12 callers
Method
createInputAssembler
(info: Readonly<InputAssemblerInfo>)
cocos/gfx/webgl/webgl-device.ts:507
↓ 12 callers
Function
createTransformFromPRS
(prs: { position?: Readonly<Vec3>; rotation?: Readonly<Quat>; scale?: Readonly<Vec3> })
tests/animation/new-gen-anim/pose-graph/pose-nodes/apply-transform.test.ts:372
↓ 12 callers
Function
define
(np: Record<string | number, any>, propName: string, getter: string, setter: string)
cocos/core/utils/misc.ts:60
↓ 12 callers
Function
defineProperties
(target, props)
platforms/minigame/platforms/xiaomi/wrapper/builtin.js:328
↓ 12 callers
Function
defineReverseKeyEnum
(e)
cocos/spine/lib/spine-core.js:4
↓ 12 callers
Method
destroyAllChildren
* @en * Destroy all children from the node, and release all their own references to other objects. * Actual destruct operation will delayed
cocos/scene-graph/node.ts:1384
↓ 12 callers
Method
dispatchMessage
(Message msg)
native/cocos/platform/ohos/libcocos/src/main/java/com/cocos/lib/CocosVideoHelper.java:199
↓ 12 callers
Function
e
(t)
templates/web-mobile/vconsole.min.js:10
↓ 12 callers
Function
evaluate
* @en * Calculate the curve interpolation at a given point in time. * @zh * 计算给定时间点的曲线插值。 * @param time 时间。 */
native/cocos/core/geometry/Curve.h:242
↓ 12 callers
Function
fspath
(x)
native/tools/bindings-generator/clang/cindex.py:138
↓ 12 callers
Function
fullPathForFilename
(filename, forceReturnFullpath = false)
platforms/nodejs/engine/fs-utils.js:62
↓ 12 callers
Function
gen
(input: Readonly<Vec3>)
tests/core/math/vec3.test.ts:216
↓ 12 callers
Method
getAttachment
native/cocos/editor-support/spine/3.8/spine/Slot.cpp:84
↓ 12 callers
Function
getAttributeStride
(attrs: Attribute[])
cocos/2d/renderer/vertex-format.ts:147
↓ 12 callers
Method
getBlendState
native/cocos/scene/Pass.h:288
↓ 12 callers
Method
getComponentsInChildren
(typeOrClassName: string | Constructor<T> | AbstractedConstructor<T>)
cocos/scene-graph/node.ts:1016
↓ 12 callers
Function
getDevice
native/cocos/renderer/pipeline/RenderPipeline.h:98
↓ 12 callers
Method
getLuminanceHDR
native/cocos/scene/SpotLight.h:81
↓ 12 callers
Method
getLuminanceLDR
native/cocos/scene/SpotLight.h:82
↓ 12 callers
Method
getNextBuffer
native/cocos/audio/android/PcmBufferProvider.cpp:55
↓ 12 callers
Function
getOrCreateDescriptorID
(lg: LayoutGraphData, name: string)
cocos/rendering/custom/layout-graph-utils.ts:212
↓ 12 callers
Function
getPositionType
(node)
platforms/minigame/openDataContext/engine.js:1496
↓ 12 callers
Method
getShadingScale
native/cocos/renderer/pipeline/RenderPipeline.cpp:285
↓ 12 callers
Method
getShadowNormalBias
native/cocos/scene/Model.h:234
↓ 12 callers
Method
getShadowPcf
native/cocos/scene/SpotLight.h:89
↓ 12 callers
Method
getSharedMaterial
(v: PhysicsMaterial | null)
cocos/physics/physx/shapes/physx-shape.ts:132
↓ 12 callers
Function
getTheOnlyInputKey
(node: PoseGraphNode)
tests/animation/new-gen-anim/pose-graph/utils/misc.ts:25
↓ 12 callers
Method
getUp
native/cocos/core/scene-graph/Node.h:443
↓ 12 callers
Method
getWindowId
native/cocos/platform/win32/modules/SystemWindow.cpp:81
↓ 12 callers
Method
gpuBufferObject
native/cocos/renderer/gfx-wgpu/WGPUBuffer.h:42
↓ 12 callers
Function
hash_tuple
native/cocos/base/std/hash/extensions.hpp:149
↓ 12 callers
Method
instantiate
()
tests/animation/embedded-player/genernal-embedded-player.test.ts:382
↓ 12 callers
Method
isInWorld
native/cocos/physics/physx/PhysXSharedBody.h:51
↓ 12 callers
Method
isShadowFixedArea
native/cocos/scene/DirectionalLight.h:87
↓ 12 callers
Method
isTextureView
native/cocos/renderer/pipeline/custom/NativeResourceGraph.cpp:371
↓ 12 callers
Function
normalize
native/cocos/core/utils/Path.cpp:170
↓ 12 callers
Method
onError
()
platforms/native/engine/jsb-webview.js:54
↓ 12 callers
Method
onPlay
()
pal/audio/web/player.ts:35
↓ 12 callers
Method
onProgressUpdate
( listener: LoadSubpackageTaskOnProgressUpdateCallback )
@types/pal/minigame.d.ts:351
↓ 12 callers
Function
parseValue
(val, shouldParse, parseTrueNumberOnly)
platforms/minigame/openDataContext/engine.js:2859
↓ 12 callers
Function
peg$literalExpectation
(text, ignoreCase)
native/cmake/scripts/plugin_support/plugin_cfg.js:283
↓ 12 callers
Function
r
(e)
templates/web-mobile/vconsole.min.js:10
↓ 12 callers
Method
read
native/cocos/audio/ohos/AudioDecoderWav.cpp:72
↓ 12 callers
Function
readArrayBuffer
(filePath, onComplete)
platforms/runtime/common/engine/fs-utils.js:172
↓ 12 callers
Method
record
()
cocos/rendering/custom/executor.ts:229
↓ 12 callers
Method
releaseBuffer
native/cocos/audio/android/PcmBufferProvider.cpp:78
↓ 12 callers
Method
removeAllChildren
* @en Removes all children from the container. * @zh 移除节点所有的子节点。
cocos/scene-graph/node.ts:816
↓ 12 callers
Method
removeFromParent
* @en * Remove itself from its parent node. * If the node have no parent, then nothing happens. * @zh * 从父节点中删除该节点。 * 如果这个节点是
cocos/scene-graph/node.ts:794
↓ 12 callers
Method
resize
* @en Resize the pool. * @zh 设置对象池容量。 */
native/cocos/core/utils/Pool.h:158
↓ 12 callers
Function
runTest
(caseModulePath, port, value, verify, env)
tests/core/serialization/run-test.ts:9
↓ 12 callers
Method
sequence
* @en * Add a sequence action. * @zh * 添加一个队列 action。 * @method sequence * @param args @en All tween that make up the sequenc
cocos/tween/tween.ts:587
↓ 12 callers
Method
set
(stash: PoseGraphStash, context: AnimationGraphBindingContext)
cocos/animation/marionette/pose-graph/stash/runtime-stash.ts:151
↓ 12 callers
Method
setBreakForce
(v: number)
cocos/physics/spec/i-physics-constraint.ts:54
↓ 12 callers
Method
setInt32
native/cocos/bindings/jswrapper/Value.cpp:314
↓ 12 callers
Method
setMipFilter
* @en Sets the texture's mip filter mode. * @zh 设置此贴图的多层 mip 过滤算法。 * @param mipFilter @en Filter mode for multiple mip level. @zh 多层 mip 过滤模
cocos/asset/assets/texture-base.ts:242
↓ 12 callers
Method
setRotationFromEuler
(val: Vec3 | number, y?: number, zOpt?: number)
cocos/scene-graph/node.ts:2503
↓ 12 callers
Method
setSiblingIndex
* @en Set the sibling index of the current node in its parent's children array. * @zh 设置当前节点在父节点的 children 数组中的位置。
cocos/scene-graph/node.ts:655
↓ 12 callers
Method
setStepped
native/cocos/editor-support/spine/4.2/spine/CurveTimeline.cpp:51
↓ 12 callers
Method
setVisible
(visible)
platforms/native/engine/jsb-videoplayer-openharmony.js:98
↓ 12 callers
Function
supportsR32FloatTexture
(device: Device)
cocos/rendering/define.ts:1091
↓ 12 callers
Function
testEachPort
(ports: ReadonlyArray<Port>, fn: (port: Port) => Promise<void>)
tests/core/serialization/shared/port.ts:48
↓ 12 callers
Method
toInt32
native/cocos/bindings/jswrapper/Value.cpp:428
↓ 12 callers
Method
tryCompile
native/cocos/renderer/core/PassInstance.cpp:88
↓ 12 callers
Method
updateWorldTransform
native/cocos/editor-support/spine-creator-support/SkeletonRenderer.cpp:953
↓ 12 callers
Function
v2
(x?: number | Vec2, y?: number)
cocos/core/math/vec2.ts:870
↓ 12 callers
Function
verify
(...args: Parameters<TransformArray['copyWithin']>)
tests/animation/core/transform-array.test.ts:101
↓ 12 callers
Method
wait
native/cocos/base/threading/Semaphore.cpp:37
↓ 11 callers
Function
AttachData
native/cocos/platform/openharmony/napi/napi-inl.h:43
↓ 11 callers
Method
ByteLength
native/cocos/platform/openharmony/napi/napi-inl.h:1979
↓ 11 callers
Method
Call
native/cocos/platform/openharmony/napi/napi-inl.h:2480
↓ 11 callers
Function
Eventify
(base: Constructor<TBase>)
cocos/core/event/eventify.ts:152
↓ 11 callers
Method
ExpectTag
native/tools/simulator/libsimulator/lib/protobuf-lite/google/protobuf/io/coded_stream.h:861
↓ 11 callers
Method
GetLastUseFrameIndex
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:6181
↓ 11 callers
Method
GetMemoryTypeIndex
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:7000
↓ 11 callers
Function
VmaBlocksOnSamePage
Returns true if two memory blocks occupy overlapping pages. ResourceA must be in less memory offset than ResourceB. Algorithm is based on "Vulkan
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:4573
↓ 11 callers
Function
VmaIsBufferImageGranularityConflict
Returns true if given suballocation types could conflict and must respect VkPhysicalDeviceLimits::bufferImageGranularity. They conflict if one is buf
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:4602
↓ 11 callers
Method
_bin
(length: number)
external/deserialize/notepack_decode.ts:67
↓ 11 callers
Method
_calculateUV
* Calculate UV * @deprecated since v3.5.0, this is an engine private interface that will be removed in the future. * @engineInternal *
cocos/2d/assets/sprite-frame.ts:1025
↓ 11 callers
Function
_classCallCheck
(instance, Constructor)
platforms/minigame/openDataContext/engine.js:110
↓ 11 callers
Method
_dispatchOrPushEvent
(event: Event, eventList: Event[])
cocos/input/input.ts:481
↓ 11 callers
Method
_doScroll
(x: number, y: number, applyToHorizontal: boolean, applyToVertical: boolean, timeInSecond?: number, attenuated
cocos/ui/scroll-view.ts:793
↓ 11 callers
Method
_free
native/cocos/editor-support/spine/3.8/spine/Extension.cpp:107
↓ 11 callers
Method
addChild
* @en Add a child to the current node. * @zh 添加一个子节点。 * @param child - the child node to be added
cocos/scene-graph/node.ts:624
↓ 11 callers
Method
addJoint
native/cocos/physics/physx/PhysXSharedBody.cpp:297
↓ 11 callers
Function
assertsOwnedBy
(mastered: OwnedBy<T>, owner: T)
cocos/animation/marionette/ownership.ts:34
↓ 11 callers
Function
b
(x)
native/tools/bindings-generator/clang/cindex.py:106
↓ 11 callers
Function
binarySearchEpsilon
(array: Readonly<ArrayLike<number>>, value: number, EPSILON = 1e-6)
cocos/core/algorithm/binary-search.ts:49
↓ 11 callers
Method
bindTransformByName
(bone: string)
cocos/animation/marionette/animation-graph-context.ts:121
↓ 11 callers
Method
call
native/cocos/bindings/jswrapper/jsvm/Object.cpp:551
↓ 11 callers
Function
callMaterialPreviewFunction
(funcName, ...args)
editor/inspector/assets/material-header.js:48
↓ 11 callers
Method
cend
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:5762
↓ 11 callers
Method
clamp
native/cocos/math/Vec3.cpp:126
↓ 11 callers
Method
conjugate
* @en Conjugating a quaternion, it's equivalent to the inverse of the unit quaternion, but more efficient * @zh 求共轭四元数,对单位四元数与求逆等价,但更高效
cocos/core/math/quat.ts:401
↓ 11 callers
Method
containsResource
* @en Check whether the resource has been registered in the pipeline. * @zh 检查资源是否在管线中已注册 * @param name @en Resource name @zh 资源名字 * @r
cocos/rendering/custom/pipeline.ts:730
↓ 11 callers
Method
convert
(curve: RealCurve)
cocos/animation/legacy-clip-data.ts:525
← previous
next →
1,201–1,300 of 39,311, ranked by callers