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
↓ 15 callers
Method
getRotation
* @en Extracts the rotation from the matrix, assuming it's composed in order of scale, rotation, translation * @zh 提取矩阵的旋转信息, 默认输入矩阵不含有缩放信息,如考虑缩放
cocos/core/math/mat4.ts:821
↓ 15 callers
Method
getSamplerInfo
* @en Gets the sampler hash of its texture. * @zh 贴图资源的采样器哈希值。 * @returns @en Sampler`s hash. @zh 采样器哈希值。
cocos/2d/assets/sprite-frame.ts:805
↓ 15 callers
Method
getShader
native/cocos/renderer/pipeline/custom/NativeProgramLibrary.cpp:62
↓ 15 callers
Method
getShadingScale
native/cocos/renderer/pipeline/custom/NativePipeline.cpp:1551
↓ 15 callers
Method
getSuitableFOpen
native/cocos/platform/FileUtils.cpp:967
↓ 15 callers
Function
getTheOnlyOutputKey
(node: PoseGraphNode)
tests/animation/new-gen-anim/pose-graph/utils/misc.ts:31
↓ 15 callers
Method
getVisibleSize
* @en Returns the visible area size of the view port. * @zh 返回视图窗口可见区域尺寸。
cocos/ui/view.ts:345
↓ 15 callers
Method
gpuTextureView
()
cocos/gfx/webgl2/webgl2-texture.ts:48
↓ 15 callers
Function
initTexture
()
templates/wechatprogram/first-screen.js:165
↓ 15 callers
Method
initialize
native/cocos/core/assets/Material.cpp:57
↓ 15 callers
Method
inverse
native/cocos/math/Mat4.cpp:764
↓ 15 callers
Method
isActive
native/cocos/editor-support/spine/3.8/spine/Bone.cpp:372
↓ 15 callers
Method
isStatic
native/cocos/physics/physx/PhysXSharedBody.h:52
↓ 15 callers
Function
isValid
(value: T | null | undefined, strictMode?: boolean)
cocos/core/data/object.ts:651
↓ 15 callers
Function
maskIfEmpty
(curve: T)
cocos/animation/tracks/utils.ts:27
↓ 15 callers
Function
orient3dfast
native/cocos/gi/light-probe/predicates.cpp:1585
↓ 15 callers
Function
out_degree
native/cocos/renderer/pipeline/custom/RenderGraphGraphs.h:61
↓ 15 callers
Method
postMessage
(msgName: string, msgData?: any)
templates/harmonyos-next/entry/src/main/ets/workers/ui_port.ts:92
↓ 15 callers
Method
raycast
(p1: IVec2Like, p2: IVec2Like, type: ERaycast2DType, mask: number)
cocos/physics-2d/spec/i-physics-world.ts:37
↓ 15 callers
Method
reenter
()
cocos/animation/marionette/motion/motion.ts:89
↓ 15 callers
Method
removeEventListener
* Remove a given listener from this event target. * @param {string} eventName The event name to remove. * @param {Function} listener The lis
platforms/native/builtin/jsb-adapter/EventTarget.js:180
↓ 15 callers
Method
resize
(vertexCount: number, indexCount: number)
cocos/2d/renderer/render-data.ts:332
↓ 15 callers
Method
resize
* @en Resize the pool. * @zh 设置对象池容量。 * @param length @en New pool size. * @zh 新对象池大小。
cocos/core/utils/pool.ts:171
↓ 15 callers
Method
seek
* Seek the audio timer. * Call this method when audio is seeked.
pal/audio/audio-timer.ts:115
↓ 15 callers
Method
sendMessage
native/cocos/xr/XRRemotePreviewManager.cpp:187
↓ 15 callers
Method
set
* @en * Set parameters of this task. * * @zh * 设置任务的参数。 * * @param options @en Some optional parameters. @zh 一些可选参数。
cocos/asset/asset-manager/task.ts:254
↓ 15 callers
Method
setColor
* @en Set color uniform which consists of 4 floats (16 bytes). * @zh 设置颜色值,常量(uniform)有4个float (16 bytes) * @param name @en uniform name in
cocos/rendering/custom/pipeline.ts:310
↓ 15 callers
Method
setOption
native/cocos/network/HttpClient.cpp:221
↓ 15 callers
Method
setPrivateData
native/cocos/bindings/jswrapper/v8/Object.h:491
↓ 15 callers
Function
target
native/cocos/renderer/pipeline/custom/RenderGraphGraphs.h:49
↓ 15 callers
Method
timeScale
* @en Set the factor that's used to scale time in the animation where 1 = normal speed (the default), 0.5 = half speed, 2 = double speed, etc. *
cocos/tween/tween.ts:614
↓ 15 callers
Method
toDouble
native/cocos/bindings/jswrapper/Value.cpp:450
↓ 15 callers
Function
vertices
VertexListGraph
native/cocos/renderer/pipeline/custom/RenderGraphGraphs.h:100
↓ 14 callers
Method
GetType
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:6162
↓ 14 callers
Method
SetData
native/cocos/platform/openharmony/napi/napi-inl.h:3826
↓ 14 callers
Function
_extends
^\w+\.prototype\.([_\w]+)\s*=\s*((?:.*\{\s*?[\r\n][\s\S]*?^})|\S.*?(?=[;\r\n]));? ^\w+\.prototype\.([_\w]+)\s*=\s*(\S.*?(?=[;\r\n]));?
platforms/minigame/common/xmldom/dom.js:17
↓ 14 callers
Function
_extends
^\w+\.prototype\.([_\w]+)\s*=\s*((?:.*\{\s*?[\r\n][\s\S]*?^})|\S.*?(?=[;\r\n]));? ^\w+\.prototype\.([_\w]+)\s*=\s*(\S.*?(?=[;\r\n]));?
platforms/nodejs/builtin/xmldom/dom.js:17
↓ 14 callers
Function
_extends
^\w+\.prototype\.([_\w]+)\s*=\s*((?:.*\{\s*?[\r\n][\s\S]*?^})|\S.*?(?=[;\r\n]));? ^\w+\.prototype\.([_\w]+)\s*=\s*(\S.*?(?=[;\r\n]));?
platforms/native/builtin/xmldom/dom.js:17
↓ 14 callers
Method
_getRenderScene
* @deprecated since v3.5.0, this is an engine private interface that will be removed in the future.
cocos/scene-graph/component.ts:218
↓ 14 callers
Method
_wakeUpIfSleep
()
cocos/physics/bullet/bullet-rigid-body.ts:320
↓ 14 callers
Method
addBeforeCleanupHook
native/cocos/bindings/jswrapper/v8/ScriptEngine.cpp:564
↓ 14 callers
Method
addScene
* @en Add the scene to be rendered. * If SceneFlags.NON_BUILTIN is specified, no builtin constants will be set. * Otherwise, related builtin
cocos/rendering/custom/pipeline.ts:501
↓ 14 callers
Function
atof
native/cocos/base/Utils.cpp:48
↓ 14 callers
Function
close
()
editor/inspector/assets/fbx/model.js:881
↓ 14 callers
Function
commitShapeUpdates
(body: CANNON.Body)
cocos/physics/cannon/cannon-util.ts:47
↓ 14 callers
Method
configureAttachment
native/cocos/editor-support/spine/3.8/spine/AtlasAttachmentLoader.cpp:121
↓ 14 callers
Method
configureAttachment
native/cocos/editor-support/spine/4.2/spine/AtlasAttachmentLoader.cpp:104
↓ 14 callers
Function
convert
native/cocos/platform/java/jni/JniHelper.h:415
↓ 14 callers
Method
createDescriptorSet
(info: Readonly<DescriptorSetInfo>)
cocos/gfx/webgl/webgl-device.ts:495
↓ 14 callers
Function
createFormatInfo_ASTC_RGBA
(nameSuffix: string)
cocos/gfx/base/define.ts:2114
↓ 14 callers
Function
createFormatInfo_ASTC_SRGBA
(nameSuffix: string)
cocos/gfx/base/define.ts:2110
↓ 14 callers
Function
data
()
editor/inspector/components/lod-group/index.js:220
↓ 14 callers
Method
detachFromScene
* @en Detach the model from its render scene * @zh 移除场景中的模型
cocos/render-scene/scene/model.ts:670
↓ 14 callers
Method
end
(entry: TrackEntry)
cocos/spine/lib/spine-core.d.ts:449
↓ 14 callers
Method
endRenderPass
()
cocos/gfx/webgl/webgl-command-buffer.ts:101
↓ 14 callers
Function
exec
(cmdArgs, path, cb, options)
native/utils/git.js:10
↓ 14 callers
Method
exists
* @engineInternal * @mangle
cocos/3d/reflection-probe/reflection-probe-manager.ts:173
↓ 14 callers
Method
findBone
native/cocos/editor-support/spine/4.2/spine/Skeleton.cpp:321
↓ 14 callers
Function
g
(e,t)
templates/fb-instant-games/vconsole.min.js:10
↓ 14 callers
Function
g
(e,t)
templates/web-mobile/vconsole.min.js:10
↓ 14 callers
Method
getAssetInfo
(uuid: string)
cocos/asset/asset-manager/config.ts:314
↓ 14 callers
Method
getAttachment
native/cocos/editor-support/spine-creator-support/SkeletonRenderer.cpp:1013
↓ 14 callers
Method
getAttachments
native/cocos/editor-support/spine/3.8/spine/Skin.cpp:143
↓ 14 callers
Method
getData
native/cocos/core/assets/ImageAsset.cpp:109
↓ 14 callers
Function
getDescriptorBlockData
(map: Map<string, DescriptorBlockData>, index: DescriptorBlockIndex)
cocos/rendering/custom/layout-graph-utils.ts:278
↓ 14 callers
Method
getExposure
native/cocos/scene/Camera.h:324
↓ 14 callers
Method
getGlobalObject
native/cocos/bindings/jswrapper/v8/ScriptEngine.cpp:552
↓ 14 callers
Method
getInputMetadata
(object: PoseGraphNode, key: PoseGraphInputKey)
cocos/animation/marionette/pose-graph/foundation/authoring/input-authoring.ts:201
↓ 14 callers
Method
getInt8
native/cocos/core/DataView.cpp:109
↓ 14 callers
Method
getStartOffset
native/cocos/renderer/gfx-vulkan/VKGPUObjects.h:247
↓ 14 callers
Function
getSymbolAt
(str: string, index: number)
cocos/2d/utils/text-utils.ts:254
↓ 14 callers
Method
getType
* @zh 当前雾化类型。 * @en The current global fog type. * @returns {FogType} * Returns the current global fog type * - -1:Disable global
native/cocos/scene/Fog.h:128
↓ 14 callers
Method
getType
* @brief Gets the type of se::Value. * @return The type of se::Value. */
native/cocos/bindings/jswrapper/Value.h:415
↓ 14 callers
Method
getUILocation
* @en Returns the current touch location in UI coordinates.、 * @zh 获取当前触点在 UI 坐标系中的位置。 * @param out - Pass the out object to avoid object cr
cocos/input/types/touch.ts:90
↓ 14 callers
Method
getUint32
(offset: number)
cocos/particle-2d/tiff-reader.ts:69
↓ 14 callers
Method
getVisibleSizeInPixel
* @en Returns the visible area size of the view port. * @zh 返回视图窗口可见区域像素尺寸。
cocos/ui/view.ts:353
↓ 14 callers
Method
get_property
native/cocos/renderer/pipeline/custom/details/GraphTypes.h:113
↓ 14 callers
Method
incRef
native/cocos/bindings/jswrapper/jsvm/Object.cpp:926
↓ 14 callers
Function
initAttrs
()
cocos/core/data/class.ts:426
↓ 14 callers
Method
isLoaded
native/extensions/assets-manager/Manifest.cpp:167
↓ 14 callers
Function
jsToSeValue
native/cocos/bindings/jswrapper/v8/Utils.cpp:93
↓ 14 callers
Method
lengthSquared
native/cocos/math/Vec4.cpp:214
↓ 14 callers
Function
match
(obj, expect, info)
tests/core/test-serialize.js:5
↓ 14 callers
Function
nonComments
(obj)
scripts/native-pack-tool/xcode/lib/pbxProject.js:1708
↓ 14 callers
Method
normalize
native/tools/simulator/libsimulator/lib/ProjectConfig/ProjectConfig.cpp:571
↓ 14 callers
Function
normalizeRadian
* @private */
native/cocos/editor-support/dragonbones/geom/Transform.h:70
↓ 14 callers
Method
onMacroPatchesStateChanged
* @en Shader macro changed callback * @zh Shader 宏更新回调
cocos/render-scene/scene/model.ts:929
↓ 14 callers
Function
overload
native/cocos/renderer/pipeline/custom/details/Overload.h:63
↓ 14 callers
Method
packToDynamicAtlas
* @en * Pack the sprite in the dynamic atlas and update the atlas information of the sprite frame. * * @zh * 将图片打入动态图集,并更新该图片的图集信息
cocos/2d/utils/dynamic-atlas/atlas-manager.ts:286
↓ 14 callers
Function
pxSetQuatExt
native/cocos/physics/physx/PhysXUtils.h:116
↓ 14 callers
Method
release
native/cocos/renderer/gfx-gles-common/GLESCommandPool.h:145
↓ 14 callers
Method
release
native/cocos/bindings/jswrapper/jsvm-v8-backend/util.h:601
↓ 14 callers
Function
resize
native/cocos/base/RefVector.h:508
↓ 14 callers
Method
sample
(now: number)
cocos/profiler/counter.ts:61
↓ 14 callers
Method
sendVideoEvent
(VideoEventData videoEventData, String... eventData)
native/cocos/platform/android/libcocosxr/src/com/cocos/lib/xr/CocosXRVideoManager.java:211
↓ 14 callers
Function
sequenceEraseIf
native/cocos/renderer/pipeline/custom/details/GraphImpl.h:297
↓ 14 callers
Function
setClassAttr
(ctor, propName, key, value)
cocos/core/data/utils/attribute.ts:93
↓ 14 callers
Method
setConstraintMode
(idx: number, v: EConstraintMode)
cocos/physics/spec/i-physics-constraint.ts:59
↓ 14 callers
Method
setDriverMode
(idx: number, v: EDriverMode)
cocos/physics/spec/i-physics-constraint.ts:81
↓ 14 callers
Method
setMask
(v: number)
cocos/physics/spec/i-group-mask.ts:30
← previous
next →
1,001–1,100 of 39,311, ranked by callers