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
↓ 8 callers
Method
set
native/cocos/gi/light-probe/Delaunay.h:68
↓ 8 callers
Method
setFloat
* @en Set float uniform (4 bytes). * @zh 设置浮点值 (4 bytes) * @param name @en uniform name in shader. @zh 填写着色器中的常量(uniform)名字
cocos/rendering/custom/pipeline.ts:328
↓ 8 callers
Method
setHalfHeight
(value: number)
cocos/physics/spec/i-character-controller.ts:52
↓ 8 callers
Method
setInt32
native/cocos/core/DataView.cpp:172
↓ 8 callers
Function
setInterval
set interval in seconds */
native/cocos/base/Scheduler.h:54
↓ 8 callers
Function
setMassAndUpdateInertia
(impl: any, mass: number)
cocos/physics/physx/physx-adapter.ts:233
↓ 8 callers
Method
setNativeAsset
native/cocos/core/assets/Asset.h:76
↓ 8 callers
Method
setNextAlignment
native/cocos/3d/misc/BufferBlob.cpp:29
↓ 8 callers
Method
setPosition
(val: Readonly<Vec3> | number, y?: number, z?: number)
cocos/scene-graph/node.ts:2422
↓ 8 callers
Function
setPropertyEnumType
(objectOrConstructor: object, propertyName: string, enumType: EnumType)
cocos/core/data/utils/attribute-internal.ts:29
↓ 8 callers
Method
setRigidBodyFlag
(v: any, b: boolean)
cocos/physics/physx/physx-shared-body.ts:278
↓ 8 callers
Method
setSearchPaths
native/cocos/platform/FileUtils.cpp:724
↓ 8 callers
Method
setUint32
native/cocos/bindings/jswrapper/Value.cpp:319
↓ 8 callers
Method
setUuid
native/cocos/core/assets/Asset.h:59
↓ 8 callers
Method
setWidth
native/cocos/editor-support/spine/3.8/spine/SkeletonData.cpp:158
↓ 8 callers
Method
setWorldRotation
(val: Quat | number, y?: number, z?: number, w?: number)
cocos/scene-graph/node.ts:2685
↓ 8 callers
Method
setWrapper
(impl: Bullet.ptr, type: string, wrap: any)
cocos/physics/bullet/bullet-cache.ts:62
↓ 8 callers
Function
set_error_code
native/cocos/bindings/jswrapper/jsvm-v8-backend/js_native_api_v8.cc:3079
↓ 8 callers
Method
sleep
()
cocos/physics/spec/i-rigid-body.ts:50
↓ 8 callers
Function
split
native/cocos/base/csscolorparser.cpp:269
↓ 8 callers
Method
tag
* @en Sets tween tag * @zh 设置缓动的标签 * @method tag * @param tag @en The tag set for this tween @zh 为当前缓动设置的标签 * @return @en The inst
cocos/tween/tween.ts:139
↓ 8 callers
Function
toWGPULoadOp
native/cocos/renderer/gfx-wgpu/WGPUUtils.h:34
↓ 8 callers
Method
to_native
(self, convert_opts)
native/tools/bindings-generator/generator.py:672
↓ 8 callers
Function
unquoted
(text)
scripts/native-pack-tool/xcode/lib/pbxFile.js:85
↓ 8 callers
Method
updateFrames
()
cocos/physics/bullet/constraints/bullet-configurable-constraint.ts:367
↓ 8 callers
Method
updateFrames
()
cocos/physics/physx/joints/physx-configurable-joint.ts:365
↓ 8 callers
Method
updateMaterial
* cocos-test-projects/assets/cases/rendertexture depends on this method, so it should not be marked as `@mangle` now. * FIXME(cjh): `protected` i
cocos/2d/framework/ui-renderer.ts:529
↓ 8 callers
Function
updateScale
()
cocos/physics/bullet/shapes/bullet-shape.ts:210
↓ 8 callers
Method
updateUVs
(comp: UIRenderer, ...args: any[])
cocos/2d/renderer/base.ts:40
↓ 8 callers
Method
walk
(node: Node, level?: number)
cocos/2d/renderer/i-batcher.ts:85
↓ 8 callers
Function
weightsOfSample
({ sampleTriangleVertexA = 0.0, sampleTriangleVertexB = 0.0, sampleOutOfSe
tests/animation/new-gen-anim/blend-algorithms/blend-2d.test.ts:88
↓ 8 callers
Method
writeInt32
(value: number)
cocos/terrain/terrain-asset.ts:100
↓ 7 callers
Method
Alloc
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:5319
↓ 7 callers
Method
Allocate
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:11920
↓ 7 callers
Method
BeginString
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:8265
↓ 7 callers
Function
Copy
(i: number, j: number, vertices: IVec2Like[])
cocos/physics-2d/framework/utils/polygon-separator.ts:47
↓ 7 callers
Function
CreateClass
(order)
tests/core/test-component-scheduler.js:1010
↓ 7 callers
Method
Delete
native/cocos/bindings/jswrapper/jsvm-v8-backend/js_native_api_v8.cc:1342
↓ 7 callers
Method
EndString
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:8327
↓ 7 callers
Method
Escape
native/cocos/bindings/jswrapper/jsvm-v8-backend/js_native_api_v8.cc:492
↓ 7 callers
Function
FormatSurfaceSize
( format: Format, width: number, height: number, depth: number, mips: number, )
cocos/gfx/base/define.ts:2385
↓ 7 callers
Method
Front
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:5411
↓ 7 callers
Method
Get
native/tools/simulator/libsimulator/lib/protobuf-lite/google/protobuf/extension_set.h:740
↓ 7 callers
Method
GetAllocationInfo
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:15565
↓ 7 callers
Method
GetMemory
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:8450
↓ 7 callers
Method
IsArrayBuffer
native/cocos/platform/openharmony/napi/napi-inl.h:687
↓ 7 callers
Method
IsBigInt
native/cocos/platform/openharmony/napi/napi-inl.h:650
↓ 7 callers
Method
IsBoolean
native/cocos/platform/openharmony/napi/napi-inl.h:641
↓ 7 callers
Method
MemoryTypeIndexToHeapIndex
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:7812
↓ 7 callers
Method
PushLimit
native/tools/simulator/libsimulator/lib/protobuf-lite/google/protobuf/io/coded_stream.cc:112
↓ 7 callers
Function
RightOn
(a: IVec2Like, b: IVec2Like, c: IVec2Like)
cocos/physics-2d/framework/utils/polygon-separator.ts:238
↓ 7 callers
Method
SetMethod
native/cocos/bindings/jswrapper/v8/debugger/env.h:510
↓ 7 callers
Function
UTF16ToUTF8
native/cocos/base/UTF8.cpp:251
↓ 7 callers
Function
VmaBinaryFindFirstNotLess
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:4744
↓ 7 callers
Function
VmaIsPow2
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:4441
↓ 7 callers
Function
VmaVectorRemove
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:4907
↓ 7 callers
Method
_determineRenderType
(renderMode: LegacyRenderMode)
cocos/gfx/device-manager.ts:211
↓ 7 callers
Method
_editBoxEditingDidBegan
* @deprecated since v3.5.0, this is an engine private interface that will be removed in the future.
cocos/ui/editbox/edit-box.ts:498
↓ 7 callers
Method
_getClass
native/cocos/bindings/jswrapper/jsvm/Object.cpp:681
↓ 7 callers
Method
_getClass
native/cocos/bindings/jswrapper/napi/Object.cpp:630
↓ 7 callers
Method
_getJSObject
native/cocos/bindings/jswrapper/jsvm/Object.cpp:695
↓ 7 callers
Method
_getJSObject
native/cocos/bindings/jswrapper/v8/Object.cpp:769
↓ 7 callers
Method
_getPropertyNodeInputRecord
(constructor: null | Constructor, propertyKey: string)
cocos/animation/marionette/pose-graph/foundation/authoring/input-authoring.ts:347
↓ 7 callers
Method
_on
* @engineInternal
pal/input/web/hmd-input.ts:115
↓ 7 callers
Method
_updateLineInfo
()
cocos/2d/components/rich-text.ts:924
↓ 7 callers
Method
_updateNodeTransformFlags
()
cocos/2d/framework/ui-skew.ts:224
↓ 7 callers
Method
_updateReceiveShadow
()
cocos/3d/framework/mesh-renderer.ts:1149
↓ 7 callers
Function
a
(e)
templates/fb-instant-games/vconsole.min.js:10
↓ 7 callers
Method
addKeyFrame
* @en * Adds a keyframe into this curve. * @zh * 添加一个关键帧到此曲线。 * @param time Time of the keyframe. * @param value Value of the
cocos/core/curves/curve.ts:440
↓ 7 callers
Method
addRenderWindow
* @en Add or update render window to the pipeline. * If the render window is a swapchain and its default framebuffer contains depth stencil buffe
cocos/rendering/custom/pipeline.ts:747
↓ 7 callers
Function
add_vertex
MutableGraph(Vertex)
native/cocos/renderer/pipeline/custom/RenderGraphGraphs.h:1145
↓ 7 callers
Method
append
* @en * Appends a new pipe to the pipeline. * * @zh * 添加一个管道到管线中。 * * @param func @en The new pipe to be appended. @zh 要
cocos/asset/asset-manager/pipeline.ts:164
↓ 7 callers
Method
applyForce
(force: IVec3Like, relativePoint?: IVec3Like)
cocos/physics/spec/i-rigid-body.ts:64
↓ 7 callers
Function
attr
(constructor: any, propertyName: string)
cocos/core/data/utils/attribute.ts:74
↓ 7 callers
Method
begin
native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp:85
↓ 7 callers
Function
bool
(val)
cocos/rendering/custom/define.ts:697
↓ 7 callers
Method
broadcast
native/cocos/core/event/EventBus.h:98
↓ 7 callers
Function
btoa
(input)
platforms/minigame/platforms/alipay/wrapper/builtin/Base64.js:11
↓ 7 callers
Function
bundle
* Build adapters * @param {string} entry * @param {string} output * @param {boolean} needUglify * @param {string} targets
scripts/build-adapter.js:145
↓ 7 callers
Method
byteLength
native/cocos/core/TypedArray.h:241
↓ 7 callers
Function
callMeshPreviewFunction
(funcName, ...args)
editor/inspector/assets/mesh-preview.js:75
↓ 7 callers
Function
callStaticBooleanMethod
native/cocos/platform/java/jni/JniHelper.h:226
↓ 7 callers
Method
capacity
Current maximum capacity of the buffer with which SetLength() can be used without first calling AllocateSufficientStorage().
native/cocos/bindings/jswrapper/v8/debugger/util.h:318
↓ 7 callers
Function
checkBindStatus
(bindStarted = false)
cocos/animation/marionette/animation-graph-context.ts:283
↓ 7 callers
Method
clampColorSample
(colorSample: number, bitsPerSample: number)
cocos/particle-2d/tiff-reader.ts:253
↓ 7 callers
Function
clampf
native/cocos/math/Vec2.h:31
↓ 7 callers
Method
clearRect
(x, y, width, height)
platforms/native/builtin/jsb-adapter/CanvasRenderingContext2D.js:81
↓ 7 callers
Function
color
(r?: number | Color | string, g?: number, b?: number, a?: number)
cocos/core/math/color.ts:775
↓ 7 callers
Method
commitComp
( comp: UIRenderer, renderData: BaseRenderData|null, textureOrFrame: TextureBase | Spr
cocos/2d/renderer/i-batcher.ts:66
↓ 7 callers
Function
createAllocationMonitor
()
tests/animation/__pose-allocator.test.ts:305
↓ 7 callers
Method
createEvaluator
* Creates an evaluator for this animation. * @param context The context. * @returns The evaluator. * @internal Do not use this in your
cocos/animation/animation-clip.ts:385
↓ 7 callers
Function
createMesh
(geometry: IGeometry, out?: Mesh, options?: ICreateMeshOptions)
cocos/3d/misc/create-mesh.ts:44
↓ 7 callers
Function
createNode
(nodeName)
tests/core/test-serialize-node.js:61
↓ 7 callers
Function
createWindow
* @brief Create window. *@param title: Window title *@param x: x-axis coordinate *@param y: y-axis coordinate *@param w: Window wi
native/cocos/platform/interfaces/modules/ISystemWindow.h:75
↓ 7 callers
Method
define
Define from 3 vertices.
native/cocos/core/geometry/Plane.cpp:90
↓ 7 callers
Method
delete
()
platforms/native/builtin/jsb-adapter/FontFaceSet.js:49
↓ 7 callers
Function
destroy
native/cocos/editor-support/spine/3.8/spine/Vector.h:238
↓ 7 callers
Method
dict_has_key_re
(dict, real_key_list)
native/tools/bindings-generator/generator.py:621
↓ 7 callers
Function
downloadFile
(remoteUrl, filePath, header, onProgress, onComplete)
platforms/runtime/common/engine/fs-utils.js:63
↓ 7 callers
Method
drain
Raises all events in the queue and drains the queue.
native/cocos/editor-support/spine/3.8/spine/AnimationState.cpp:239
← previous
next →
1,801–1,900 of 39,311, ranked by callers