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
↓ 9 callers
Method
onComplete
* @en Called when the Task completes. * @zh 任务完成时调用。
@types/jsb.d.ts:398
↓ 9 callers
Method
onMessage
native/cocos/network/SocketIO.cpp:664
↓ 9 callers
Function
out_edges
native/cocos/renderer/pipeline/custom/RenderGraphGraphs.h:54
↓ 9 callers
Method
overrideClips
(context: AnimationGraphBindingContext)
cocos/animation/marionette/motion/motion.ts:61
↓ 9 callers
Function
p
(e,t)
templates/web-mobile/vconsole.min.js:10
↓ 9 callers
Function
poseGraphNodeHide
(hide = true)
cocos/animation/marionette/pose-graph/decorator/node.ts:37
↓ 9 callers
Function
r
(e)
templates/fb-instant-games/vconsole.min.js:10
↓ 9 callers
Function
rawHalfAsUint16
native/cocos/base/Utils.h:195
↓ 9 callers
Method
readUInt32
()
cocos/particle-2d/png-reader.ts:247
↓ 9 callers
Function
record
native/cocos/renderer/pipeline/custom/FrameGraphDispatcher.cpp:1114
↓ 9 callers
Method
reference
(u: vertex_descriptor, v: vertex_descriptor)
cocos/rendering/custom/graph.ts:404
↓ 9 callers
Method
release
()
cocos/physics/physx/character-controllers/physx-character-controller.ts:121
↓ 9 callers
Method
releaseAll
* @en * Release all assets within this bundle. Refer to [[AssetManager.releaseAll]] for detailed information. * * @zh * 释放此包中的所有资源
cocos/asset/asset-manager/bundle.ts:631
↓ 9 callers
Method
rotateX
native/cocos/math/Mat4.cpp:882
↓ 9 callers
Function
runRemoveLinearKeys
(keys: number[], values: number[], maxError?: number)
tests/animation/compression.test.ts:51
↓ 9 callers
Method
search
native/cocos/editor-support/spine/4.2/spine/Animation.cpp:94
↓ 9 callers
Method
set
* @en Sets a matrix with the given values and save the results to out matrix * @zh 设置矩阵值 * * @param out The receive matrix * @para
cocos/core/math/mat4.ts:125
↓ 9 callers
Method
set
* Same algorithm as https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/set * except for: * - the th
cocos/animation/core/transform-array.ts:188
↓ 9 callers
Method
setAngularVelocity
(value: IVec3Like)
cocos/physics/spec/i-rigid-body.ts:62
↓ 9 callers
Function
setFormatFeature
(formatFeatures: FormatFeature[], indexArray: Format[], feature: FormatFeature)
cocos/gfx/webgl2/webgl2-device.ts:74
↓ 9 callers
Method
setIndexBuffer
* Sets the current index buffer. * @param buffer - Buffer containing index data to use for subsequent drawing commands. * @param indexFormat - F
@types/webGPU.d.ts:1790
↓ 9 callers
Method
setLinearVelocity
(value: IVec3Like)
cocos/physics/spec/i-rigid-body.ts:60
↓ 9 callers
Function
setName
native/cocos/renderer/pipeline/RenderFlow.h:58
↓ 9 callers
Method
setNextAlignment
(align: number)
cocos/3d/misc/buffer-blob.ts:32
↓ 9 callers
Method
setPivotA
(v: IVec3Like)
cocos/physics/spec/i-physics-constraint.ts:42
↓ 9 callers
Method
setPivotB
(v: IVec3Like)
cocos/physics/spec/i-physics-constraint.ts:43
↓ 9 callers
Method
setSpeed
* @en Set texture rolling speed. * @zh 设置纹理滚动速度。 * @param x @en X axis roll speed. @zh X 轴滚动速度。 * @param y @en Y axis roll speed. @zh Y
cocos/particle/noise.ts:150
↓ 9 callers
Method
setUsage
* @en Sets the render shadow map info * @zh 设置阴影渲染信息 * @param light * @param shadowFrameBuffer * @param level 层级
cocos/rendering/shadow/shadow-stage.ts:67
↓ 9 callers
Method
setXRConfig
native/cocos/platform/java/modules/XRInterface.cpp:441
↓ 9 callers
Method
squaredDistance
* @en Calculates the squared euclidean distance of two vectors * @zh 求两向量的欧氏距离平方
cocos/core/math/vec4.ts:271
↓ 9 callers
Method
states
* Gets an iterator to all states within this graph. * @returns The iterator.
cocos/animation/marionette/animation-graph.ts:362
↓ 9 callers
Function
stripSep
native/cocos/core/utils/Path.cpp:202
↓ 9 callers
Method
sub
(a: MyProp, b: MyProp)
tests/tween/tween.test.ts:4072
↓ 9 callers
Function
thsvsGetVulkanImageMemoryBarrier
native/cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h:1039
↓ 9 callers
Function
toVec4
native/cocos/renderer/pipeline/custom/NativeUtils.h:80
↓ 9 callers
Function
toWGPUStoreOp
native/cocos/renderer/gfx-wgpu/WGPUUtils.h:47
↓ 9 callers
Function
toWGPUTextureFormat
native/cocos/renderer/gfx-wgpu/WGPUUtils.h:190
↓ 9 callers
Method
tryAllowDestroyInGC
native/cocos/bindings/jswrapper/PrivateObject.h:62
↓ 9 callers
Method
tryCreatePerPassDescriptorSet
native/cocos/renderer/pipeline/custom/NativeExecutorDescriptor2.cpp:1075
↓ 9 callers
Method
tryRelease
(asset: Asset, force = false)
cocos/asset/asset-manager/release-manager.ts:208
↓ 9 callers
Function
unindent
native/cocos/renderer/pipeline/custom/details/DebugUtils.h:70
↓ 9 callers
Method
updateFilterData
()
cocos/physics/physx/character-controllers/physx-character-controller.ts:292
↓ 9 callers
Method
updateMaterialParams
()
cocos/particle/renderer/particle-system-renderer-gpu.ts:590
↓ 9 callers
Function
updateTexture
( tex: Texture2D | null, data: Parameters<Texture2D['uploadData']>[0], width: number, height:
cocos/particle/animator/curve-range.ts:352
↓ 9 callers
Function
value
(instance: unknown)
cocos/core/utils/internal.ts:197
↓ 8 callers
Function
Add
native/tools/simulator/libsimulator/lib/protobuf-lite/google/protobuf/extension_set.h:719
↓ 8 callers
Method
ConsumedEntireMessage
native/tools/simulator/libsimulator/lib/protobuf-lite/google/protobuf/io/coded_stream.h:857
↓ 8 callers
Method
Free
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:5342
↓ 8 callers
Method
IsArray
native/cocos/platform/openharmony/napi/napi-inl.h:676
↓ 8 callers
Function
IsPowerOf2
(x: number)
cocos/gfx/base/define.ts:2264
↓ 8 callers
Method
Utf8Value
native/cocos/platform/openharmony/napi/napi-inl.h:1112
↓ 8 callers
Function
V
(i)
cocos/primitive/utils.ts:78
↓ 8 callers
Function
VmaFree
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:4814
↓ 8 callers
Function
VmaValidateMagicValue
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:4643
↓ 8 callers
Method
_addState
(state: T)
cocos/animation/marionette/animation-graph.ts:758
↓ 8 callers
Method
_deserializeObject
* @param serialized - The object to deserialize, must be non-nil. * @param globalIndex - If the object is deserialized from "root objects" array.
cocos/serialization/deserialize-dynamic.ts:473
↓ 8 callers
Method
_editBoxEditingDidEnded
* @deprecated since v3.5.0, this is an engine private interface that will be removed in the future. * @param text content filtered by sensitive w
cocos/ui/editbox/edit-box.ts:509
↓ 8 callers
Method
_editBoxEditingReturn
* @deprecated since v3.5.0, this is an engine private interface that will be removed in the future. * @param text content filtered by sensitive w
cocos/ui/editbox/edit-box.ts:530
↓ 8 callers
Method
_getGFXDevice
()
cocos/asset/assets/texture-base.ts:351
↓ 8 callers
Method
_getLegacyData
()
cocos/animation/animation-clip.ts:971
↓ 8 callers
Method
_getUsedScaleValue
(value: number)
cocos/ui/layout.ts:1142
↓ 8 callers
Function
_inherits
(subClass, superClass)
platforms/minigame/platforms/xiaomi/wrapper/builtin.js:292
↓ 8 callers
Method
_invalidMaterial
()
cocos/terrain/terrain.ts:887
↓ 8 callers
Method
_maskUpdate
(t: Vec3, m: number)
cocos/physics/framework/components/constant-force.ts:157
↓ 8 callers
Function
_onUpdateFrame
native/cocos/editor-support/dragonbones/animation/TimelineState.h:39
↓ 8 callers
Method
_onUpdateLocalShadowBiasAndProbeId
()
cocos/3d/framework/mesh-renderer.ts:1047
↓ 8 callers
Function
_possibleConstructorReturn
(self, call)
platforms/minigame/platforms/xiaomi/wrapper/builtin.js:290
↓ 8 callers
Method
_setRawAsset
* @en * Set native file name for this asset. * @zh * 为此资源设置原始文件名。 * @seealso nativeUrl * * @param filename * @param
cocos/asset/assets/asset.ts:254
↓ 8 callers
Method
_updateReceiveDirLight
()
cocos/3d/framework/mesh-renderer.ts:945
↓ 8 callers
Method
_updateUseLightProbe
()
cocos/3d/framework/mesh-renderer.ts:1195
↓ 8 callers
Method
activateNode
* @en Activate or des-activate a node * @zh 激活或者停用某个节点 * @param node Target node * @param active Which state to set the node to
cocos/scene-graph/node-activator.ts:158
↓ 8 callers
Method
addBuffer
(arrayBuffer: ArrayBuffer)
cocos/3d/misc/buffer-blob.ts:43
↓ 8 callers
Method
addDBEventListener
(type: string, listener, target)
cocos/dragon-bones/CCArmatureDisplay.ts:192
↓ 8 callers
Method
addGroup
(v: number)
cocos/physics/spec/i-group-mask.ts:28
↓ 8 callers
Method
addMask
(v: number)
cocos/physics/spec/i-group-mask.ts:32
↓ 8 callers
Method
addTriangle
(index: number, tet: number, i: number, v0: number, v1: number, v2: number, v3: number)
cocos/gi/light-probe/delaunay.ts:377
↓ 8 callers
Method
adjustVolumeRamp
Checks to see if the volume ramp has completed and clears the increment * variables appropriately. * * IDEA: There is code to handle int/float ramp
native/cocos/audio/android/AudioMixer.cpp:820
↓ 8 callers
Method
allowedForCurve
(curve: RealCurve)
cocos/core/curves/keys-shared-curves.ts:162
↓ 8 callers
Method
attachToScene
* @en Attach the model to a [[renderer.RenderScene]] * @zh 添加模型到渲染场景 [[renderer.RenderScene]] 中 * @param scene destination scene
cocos/render-scene/scene/model.ts:661
↓ 8 callers
Function
b2Mul
(T: any, v: IVec2Like, out: IVec2Like)
cocos/physics-2d/box2d-wasm/instantiated.ts:131
↓ 8 callers
Function
blendPoseInto
(target: Pose, source: Readonly<Pose>, alpha: number, transformFilter: TransformFilter | undefined = undefined
cocos/animation/core/pose.ts:95
↓ 8 callers
Method
buffer
native/cocos/platform/FileUtils.h:97
↓ 8 callers
Function
callStaticStringMethod
native/cocos/platform/java/jni/JniHelper.h:372
↓ 8 callers
Method
cbegin
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:5761
↓ 8 callers
Function
check
()
tests/animation/new-gen-anim/pose-graph/pose-graph-authoring.test.ts:568
↓ 8 callers
Function
children
native/cocos/renderer/pipeline/custom/RenderGraphGraphs.h:389
↓ 8 callers
Method
circle
* @en * Adds a circle to the path. * * @zh * 绘制圆形路径。 * * @param cx @en The x-axis coordinates of the center point.
cocos/2d/components/graphics.ts:457
↓ 8 callers
Method
clipEnd
native/cocos/editor-support/spine/4.2/spine/SkeletonClipping.cpp:68
↓ 8 callers
Method
connect
native/cocos/renderer/gfx-vulkan/VKGPUObjects.h:942
↓ 8 callers
Function
context
native/cocos/renderer/gfx-gles2/GLES2Device.h:73
↓ 8 callers
Function
convertPathFormatToUnixStyle
D:\aaa\bbb\ccc\ddd\abc.txt --> D:/aaa/bbb/ccc/ddd/abc.txt
native/cocos/platform/win32/FileUtils-win32.cpp:47
↓ 8 callers
Function
copyAsCCEnum
(e: T)
cocos/gfx/base/pipeline-state.editor.ts:68
↓ 8 callers
Method
copyAttribute
* @en Read the requested attribute of the given sub mesh and fill into the given buffer. * @zh 读取子网格的指定属性到目标缓冲区中。 * @param primitiveIndex @e
cocos/3d/assets/mesh.ts:1211
↓ 8 callers
Method
copyFileSync
(srcRoot: string, srcFile: string, dstRoot: string, dstFile: string)
scripts/native-pack-tool/source/utils.ts:47
↓ 8 callers
Method
copyTexImagesToTexture
( texImages: Readonly<TexImageSource[]>, texture: Texture, regions: Readonly<BufferTex
cocos/gfx/webgl/webgl-device.ts:603
↓ 8 callers
Function
copyTo
(that: AnimationBlend)
cocos/animation/marionette/motion/animation-blend.ts:61
↓ 8 callers
Method
createBlit
( material: Material | null = null, passID = 0, sceneFlags: SceneFlags = SceneFlags.NO
cocos/rendering/custom/render-graph.ts:1783
↓ 8 callers
Function
createClipWithEasingMethodsAndConvert
( times: number[], values: number[], easingMethod: undefined | LegacyEasin
tests/animation/animaion-clip-migration-3.x.test.ts:351
↓ 8 callers
Function
createInt32Array
(capacity: number)
cocos/gfx/webgl/webgl-gpu-objects.ts:42
↓ 8 callers
Function
createPerspective
* Builds a perspective projection matrix based on a field of view and returns by value. * * Projection space refers to the space after apply
native/cocos/math/Mat4.h:210
← previous
next →
1,601–1,700 of 39,311, ranked by callers