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
↓ 11 callers
Method
convertToNodeSpaceAR
* @en * Converts a Point to node (local) space coordinates. * * @zh * 将一个 UI 节点世界坐标系下点转换到另一个 UI 节点 (局部) 空间坐标系,这个坐标系以锚点为原点。 *
cocos/2d/framework/ui-transform.ts:550
↓ 11 callers
Function
createClipWithLegacyData
({ times, curves, commonTargets, }: { times?: number[][]; curves?: LegacyClipCurve[];
tests/animation/animaion-clip-migration-3.x.test.ts:606
↓ 11 callers
Method
createDescriptorSetLayout
(info: Readonly<DescriptorSetLayoutInfo>)
cocos/gfx/webgl/webgl-device.ts:525
↓ 11 callers
Method
createInnerAudioContext
()
@types/pal/minigame.d.ts:51
↓ 11 callers
Method
createModel
()
cocos/particle/billboard.ts:229
↓ 11 callers
Function
createPoseGraph
()
tests/animation/new-gen-anim/pose-graph/utils/misc.ts:21
↓ 11 callers
Function
d
(e)
templates/fb-instant-games/vconsole.min.js:10
↓ 11 callers
Function
d
(e)
templates/web-mobile/vconsole.min.js:10
↓ 11 callers
Method
defineFinalizeFunction
native/cocos/bindings/jswrapper/v8/Class.cpp:288
↓ 11 callers
Method
destroy
()
cocos/animation/core/animation-handle.ts:14
↓ 11 callers
Function
destroyInstance
native/cocos/editor-support/TypedArrayPool.h:48
↓ 11 callers
Function
e
(t)
templates/fb-instant-games/vconsole.min.js:10
↓ 11 callers
Function
evaluateHeight
(cr: CurveRange)
cocos/particle/animator/curve-range.ts:323
↓ 11 callers
Function
expectMotionStateRecordCalls
(expects: Parameters<typeof expectRecordCall>[1][])
tests/animation/newgenanim.test.ts:2741
↓ 11 callers
Function
extname
native/cocos/core/utils/Path.cpp:61
↓ 11 callers
Method
fromPoints
* @en * Creates a ray from two points. * @zh * 用两个点创建一条射线。 * @param out @en The Ray object. @zh 接受操作的射线。 * @param origin @en
cocos/core/geometry/ray.ts:99
↓ 11 callers
Method
fromSRT
* @en Compose a matrix from scale, rotation and translation, applied in order. * @zh 根据旋转、位移、缩放信息计算矩阵,以 S->R->T 的顺序应用 * @param out The recei
cocos/core/math/mat4.ts:964
↓ 11 callers
Method
fromTranslation
native/cocos/math/Mat3.cpp:321
↓ 11 callers
Method
from_id
(id)
native/tools/bindings-generator/clang/cindex.py:1952
↓ 11 callers
Method
getAllKeys
native/cocos/bindings/jswrapper/v8/Object.cpp:901
↓ 11 callers
Method
getBuffer
native/cocos/renderer/pipeline/custom/NativeResourceGraph.cpp:388
↓ 11 callers
Method
getCamera
native/cocos/scene/ReflectionProbe.h:99
↓ 11 callers
Method
getCanvasSize
* @en * Returns the canvas size of the view.<br/> * On native platforms, it returns the screen size since the view is a fullscreen view.<br/
cocos/ui/view.ts:301
↓ 11 callers
Method
getData
native/cocos/editor-support/spine/3.8/spine/Skeleton.cpp:485
↓ 11 callers
Method
getDescriptorSet
native/cocos/scene/Pass.h:291
↓ 11 callers
Function
getFormatFeatures
native/cocos/renderer/gfx-base/GFXDevice.h:115
↓ 11 callers
Function
getGlobalAnimationManager
()
cocos/animation/global-animation-manager.ts:28
↓ 11 callers
Method
getHeight
* @en get height * @zh 获得地形上的高度
cocos/terrain/terrain.ts:1857
↓ 11 callers
Method
getIndex
native/cocos/editor-support/spine/4.2/spine/BoneData.cpp:56
↓ 11 callers
Method
getKeyByIndex
* @method getKeyByIndex * @param {number} index
cocos/physics/utils/tuple-dictionary.ts:105
↓ 11 callers
Method
getLength
* @method getLength
cocos/physics/utils/tuple-dictionary.ts:97
↓ 11 callers
Method
getMaterialInstance
* @deprecated Since v3.6, Because mask changes the inheritance relationship, * you can directly manipulate the rendering components under the sam
cocos/2d/components/mask.ts:717
↓ 11 callers
Function
getName
native/cocos/renderer/pipeline/custom/NativeRenderGraphUtils.cpp:15
↓ 11 callers
Method
getPhase
native/cocos/scene/Pass.h:282
↓ 11 callers
Function
getPosition
(node, pos)
platforms/minigame/openDataContext/engine.js:1530
↓ 11 callers
Method
getProbeId
()
cocos/render-scene/scene/reflection-probe.ts:331
↓ 11 callers
Function
getProgramLibrary
native/cocos/renderer/pipeline/custom/NativeFactory.cpp:82
↓ 11 callers
Method
getRadius
native/cocos/core/geometry/Sphere.h:117
↓ 11 callers
Function
getRenderArea
( camera: Camera, width: number, height: number, light: Light | null = null, level = 0,
cocos/rendering/custom/define.ts:147
↓ 11 callers
Method
getResourceNode
native/cocos/renderer/frame-graph/FrameGraph.cpp:650
↓ 11 callers
Method
getResponseData
native/tools/simulator/libsimulator/lib/network/CCHTTPRequest.cpp:261
↓ 11 callers
Method
getRuntime
native/tools/simulator/libsimulator/lib/runtime/Runtime.cpp:247
↓ 11 callers
Method
getSurfaceTransform
native/cocos/scene/Camera.h:341
↓ 11 callers
Function
getSymbolCodeAt
(str: string, index: number)
cocos/2d/utils/text-utils.ts:293
↓ 11 callers
Function
getTSObjectFromWASMObjectPtr
(Type: B2ObjectType, implPtr: number)
cocos/physics-2d/box2d-wasm/instantiated.ts:83
↓ 11 callers
Method
getTexture
native/cocos/renderer/pipeline/custom/NativeResourceGraph.cpp:407
↓ 11 callers
Method
getViewSize
native/cocos/platform/qnx/modules/SystemWindow.cpp:129
↓ 11 callers
Method
getVisibility
(name: string)
cocos/rendering/custom/layout-graph-editor.ts:401
↓ 11 callers
Method
group
()
cocos/physics/framework/components/rigid-body.ts:80
↓ 11 callers
Method
hasFeature
native/cocos/renderer/gfx-wgpu/WGPUDevice.h:108
↓ 11 callers
Method
initSubModel
* @en Initialize a sub model with the sub mesh data and the material. * @zh 用子网格数据和材质初始化一个子模型。 * @param idx sub model's index * @param
cocos/render-scene/scene/model.ts:878
↓ 11 callers
Method
invoke
native/cocos/platform/openharmony/napi/NapiHelper.h:77
↓ 11 callers
Method
isActive
native/cocos/editor-support/spine/4.2/spine/Bone.cpp:589
↓ 11 callers
Method
isChildOf
* @en Is this node a child of the given node? * @zh 是否是指定节点的子节点? * @return True if this node is a child, deep child or identical to the give
cocos/scene-graph/node.ts:833
↓ 11 callers
Method
isValid
native/cocos/bindings/manual/JavaScriptJavaBridge.cpp:91
↓ 11 callers
Method
lineTo
(x, y)
platforms/native/builtin/jsb-adapter/CanvasRenderingContext2D.js:65
↓ 11 callers
Function
min
native/cocos/editor-support/spine/3.8/spine/MathUtil.h:51
↓ 11 callers
Function
mulAdd
* Multiply-accumulate 16-bit terms with 32-bit result: return a + in*v. */
native/cocos/audio/common/utils/include/primitives.h:855
↓ 11 callers
Function
multiplyTransforms
( ...transforms: readonly [...Transform[], Transform] )
tests/animation/new-gen-anim/pose-graph/pose-nodes/apply-transform.test.ts:362
↓ 11 callers
Function
next
native/cocos/editor-support/spine/3.8/spine/HashMap.h:66
↓ 11 callers
Function
num_vertices
native/cocos/renderer/pipeline/custom/RenderGraphGraphs.h:105
↓ 11 callers
Method
onEnded
(cb: () => void)
pal/audio/web/player.ts:128
↓ 11 callers
Function
parseSimpleAttribute
(attributeName: keyof IAcceptableAttributes, expectType: string)
cocos/core/data/class.ts:492
↓ 11 callers
Function
peg$decode
(s)
native/cmake/scripts/plugin_support/plugin_cfg.js:378
↓ 11 callers
Function
realloc
native/cocos/editor-support/spine/3.8/spine/Extension.h:54
↓ 11 callers
Method
reenter
()
cocos/animation/marionette/pose-graph/stash/runtime-stash.ts:11
↓ 11 callers
Method
removeDirectory
native/cocos/platform/FileUtils.cpp:943
↓ 11 callers
Method
removeFile
native/cocos/platform/FileUtils.cpp:949
↓ 11 callers
Function
remove_edge
native/cocos/renderer/pipeline/custom/RenderGraphGraphs.h:144
↓ 11 callers
Method
resize
(width, height)
cocos/rendering/custom/executor.ts:1488
↓ 11 callers
Method
restore
()
cocos/spine/lib/spine-core.d.ts:1163
↓ 11 callers
Method
runOnUIThread
(Runnable runnable)
native/cocos/platform/android/libcocosxr/src/com/cocos/lib/xr/CocosXRVideoPlayer.java:119
↓ 11 callers
Method
set
(i: number, j: number, value: number)
cocos/terrain/height-field.ts:42
↓ 11 callers
Method
setLinearDamping
(v: number)
cocos/physics/spec/i-physics-constraint.ts:71
↓ 11 callers
Method
setParent
native/cocos/core/scene-graph/Node.cpp:167
↓ 11 callers
Method
setSubModelMaterial
* @en Set a sub material * @zh 设置一个子材质 * @param idx sub model's index * @param mat sub material
cocos/render-scene/scene/model.ts:908
↓ 11 callers
Method
setWrapMode
* @en Sets the wrap mode of the texture. * Be noted, if the size of the texture is not power of two, only [[WrapMode.CLAMP_TO_EDGE]] is allowed.
cocos/asset/assets/texture-base.ts:205
↓ 11 callers
Function
shift
(array: T[], first: number, last: number)
cocos/core/algorithm/move.ts:38
↓ 11 callers
Function
size
(width: Size | number = 0, height = 0)
cocos/core/math/size.ts:191
↓ 11 callers
Method
snapshot
(panel)
editor/inspector/contributions/asset-history/index.js:17
↓ 11 callers
Method
time
()
cocos/particle/burst.ts:46
↓ 11 callers
Method
toBeRemovedWith
(expected: number[])
tests/animation/compression.test.ts:86
↓ 11 callers
Method
toSRT
* @en Extracts the scale, rotation and translation from the matrix, assuming it's composed in order of scale, rotation, translation * @zh 提取旋转、位移
cocos/core/math/mat4.ts:878
↓ 11 callers
Method
transpose
* @en Transposes a matrix and save the results to out matrix * @zh 转置矩阵
cocos/core/math/mat3.ts:113
↓ 11 callers
Method
transpose
native/cocos/math/Mat4.cpp:1025
↓ 11 callers
Function
tryAddEdge
native/cocos/renderer/pipeline/custom/FrameGraphDispatcher.cpp:2646
↓ 11 callers
Method
uploadData
* @en Upload data to the given mipmap level. * The size of the image will affect how the mipmap is updated. * - When the image is an ArrayBu
cocos/asset/assets/simple-texture.ts:151
↓ 11 callers
Function
warnID
native/cocos/core/platform/Debug.h:196
↓ 11 callers
Method
worldToScreen
native/cocos/scene/Camera.cpp:351
↓ 10 callers
Function
ContainerOf
native/cocos/bindings/jswrapper/v8/debugger/util-inl.h:177
↓ 10 callers
Method
Int32Value
native/cocos/platform/openharmony/napi/napi-inl.h:872
↓ 10 callers
Function
MemoryBarrier
native/tools/simulator/libsimulator/lib/protobuf-lite/google/protobuf/stubs/atomicops_internals_macosx.h:76
↓ 10 callers
Function
StringUtf8ToWideChar
native/cocos/platform/win32/Utils-win32.cpp:35
↓ 10 callers
Method
_calculateSize
* @engineInternal * @mangle
cocos/2d/components/rich-text.ts:754
↓ 10 callers
Function
_classCallCheck
(instance, Constructor)
platforms/minigame/platforms/xiaomi/wrapper/builtin.js:288
↓ 10 callers
Method
_getHowMuchOutOfBoundary
(addition?: Vec3)
cocos/ui/scroll-view.ts:1352
↓ 10 callers
Function
_makeOutIn
(fnIn: (k: number) => number, fnOut: (k: number) => number)
cocos/core/algorithm/easing.ts:491
↓ 10 callers
Function
_safeSubstring
(targetString: string, startIndex: number, endIndex?: number)
cocos/2d/utils/text-utils.ts:385
↓ 10 callers
Method
aabbAabb
native/cocos/core/geometry/AABB.cpp:95
↓ 10 callers
Method
addModel
(model: Model)
cocos/render-scene/scene/lod-group.ts:45
← previous
next →
1,301–1,400 of 39,311, ranked by callers