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
↓ 14 callers
Method
setWorldScale
(val: Vec3 | number, y?: number, z?: number)
cocos/scene-graph/node.ts:2749
↓ 14 callers
Method
sort
()
cocos/rendering/custom/web-pipeline-types.ts:1062
↓ 14 callers
Method
step
(deltaTime: number)
tests/animation/new-gen-anim/utils/eval-mock.ts:48
↓ 14 callers
Method
stop
()
cocos/tween/actions/action-interval.ts:836
↓ 14 callers
Method
submit
* Schedules the execution of the command buffers by the GPU on this queue. * Submitted command buffers cannot be used again. * `commandBuffers`
@types/webGPU.d.ts:2773
↓ 14 callers
Method
toCSS
* @en Convert color to css format. * @zh 将当前颜色转换为 CSS 格式。 * @param opt "rgba", "rgb", "#rgb" or "#rrggbb". * @returns CSS format for th
cocos/core/math/color.ts:497
↓ 14 callers
Method
toHierarchy
* @en Appends a hierarchy path. * @zh 附加一段层级路径。 * @param nodePath Path to the children. * @returns `this`
cocos/animation/tracks/track.ts:98
↓ 14 callers
Method
toJSON
(self)
native/tools/bindings-generator/generator.py:443
↓ 14 callers
Method
toMatrix
(out: Mat4, transform: ReadonlyTransform)
cocos/animation/core/transform.ts:212
↓ 14 callers
Method
top
native/tools/simulator/libsimulator/lib/runtime/VisibleRect.cpp:53
↓ 14 callers
Method
tryShrink
()
tests/core/memop/container-manager.test.ts:5
↓ 13 callers
Method
Data
native/cocos/platform/openharmony/napi/napi-inl.h:1836
↓ 13 callers
Method
Get
native/cocos/platform/openharmony/napi/napi-inl.h:1493
↓ 13 callers
Method
IsEmpty
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:8878
↓ 13 callers
Method
ReadVarint32
native/tools/simulator/libsimulator/lib/protobuf-lite/google/protobuf/io/coded_stream.h:757
↓ 13 callers
Method
_updateDrive
(idx: number)
cocos/physics/physx/joints/physx-configurable-joint.ts:147
↓ 13 callers
Method
addBuffer
* @en Add or update buffer. * @zh 添加或更新缓冲 * @param name @en Resource name @zh 资源名字 * @param size @en Size of the resource in bytes @zh
cocos/rendering/custom/pipeline.ts:834
↓ 13 callers
Method
addFullscreenQuad
* @en Render a full-screen quad. * @zh 渲染全屏四边形 * @param material @en The material used for shading @zh 着色所需材质 * @param passID @en Mater
cocos/rendering/custom/pipeline.ts:513
↓ 13 callers
Method
addProceduralPoseState
* @zh 向此状态机中添加一项姿势状态。 * @en Adds an pose state into this state machine. * @returns @zh 新创建的姿势状态。 @en The newly created pose state.
cocos/animation/marionette/animation-graph.ts:441
↓ 13 callers
Function
append
(content)
native/tools/gles-wrangler-generator/generate.js:57
↓ 13 callers
Method
assign
(target: BlendTarget)
cocos/gfx/base/pipeline-sub-state.ts:176
↓ 13 callers
Method
begin
native/cocos/bindings/jswrapper/MappingUtils.cpp:61
↓ 13 callers
Function
calculateExpectedMotionStatusProgress
(expectedStateTime: number, expectedStateDuration: number)
tests/animation/newgenanim.test.ts:5508
↓ 13 callers
Function
changeExtname
native/cocos/core/utils/Path.cpp:129
↓ 13 callers
Method
checkIn
native/cocos/renderer/gfx-vulkan/VKGPUObjects.h:1277
↓ 13 callers
Function
checkPhysicsModule
(obj: any)
cocos/physics-2d/framework/physics-selector.ts:171
↓ 13 callers
Method
create
()
scripts/native-pack-tool/source/platforms/ios.ts:29
↓ 13 callers
Function
createClipMotionPositionXLinear
(duration: number, from: number, to: number, name = '')
tests/animation/newgenanim.test.ts:5436
↓ 13 callers
Method
createDirectory
native/cocos/platform/FileUtils.cpp:937
↓ 13 callers
Method
decRef
* @en * Decrease the reference count and it will be auto released when refCount equals 0. * * @zh * 减少资源的引用,如果引用数量为 0,则将自动释放该资源。
cocos/asset/assets/asset.ts:331
↓ 13 callers
Method
decode
native/cocos/gi/light-probe/tetgen.h:2548
↓ 13 callers
Method
defineFunction
native/cocos/bindings/jswrapper/sm/Class.cpp:157
↓ 13 callers
Method
detachFromScene
native/cocos/scene/Camera.cpp:130
↓ 13 callers
Method
disengage
native/cocos/renderer/gfx-vulkan/VKGPUObjects.h:1025
↓ 13 callers
Method
fastRemove
* @en Delete the element at the specified location and move the last element to that location. * @zh 删除指定位置的元素并将最后一个元素移动至该位置。 * @param idx @
cocos/core/memop/cached-array.ts:171
↓ 13 callers
Method
findBone
native/cocos/editor-support/spine/3.8/spine/Skeleton.cpp:300
↓ 13 callers
Method
getAttachment
native/cocos/editor-support/spine/4.2/spine/Slot.cpp:89
↓ 13 callers
Function
getBindingFromHandle
(handle: number)
cocos/render-scene/core/pass-utils.ts:36
↓ 13 callers
Method
getBlock
(index: VisibilityIndex)
cocos/rendering/custom/layout-graph-editor.ts:414
↓ 13 callers
Method
getGlobalDSManager
native/cocos/renderer/pipeline/custom/NativePipeline.cpp:1522
↓ 13 callers
Method
getHeight
native/cocos/platform/java/jni/glue/JniNativeGlue.cpp:286
↓ 13 callers
Method
getId
* @en Gets the id of the texture. * @zh 获取标识符。 * @returns @en The id of this texture. @zh 此贴图的 id。
cocos/asset/assets/texture-base.ts:174
↓ 13 callers
Method
getIndex
native/cocos/editor-support/spine/3.8/spine/BoneData.cpp:57
↓ 13 callers
Method
getInputKeys
(object: PoseGraphNode)
cocos/animation/marionette/pose-graph/foundation/authoring/input-authoring.ts:162
↓ 13 callers
Method
getInstance
native/cocos/core/Root.cpp:59
↓ 13 callers
Method
getInt
native/cocos/platform/interfaces/modules/XRCommon.h:167
↓ 13 callers
Function
getJNISignature
native/cocos/platform/java/jni/JniHelper.h:479
↓ 13 callers
Method
getNumberOfRunningActionsInTarget
* @en * Returns the numbers of actions that are running in a certain target. <br/> * Composable actions are counted as 1 action. <br/>
cocos/tween/actions/action-manager.ts:353
↓ 13 callers
Function
getPaddingAndBorderAxis
(node, axis)
platforms/minigame/openDataContext/engine.js:1425
↓ 13 callers
Method
getPriority
states
native/cocos/scene/Pass.h:277
↓ 13 callers
Method
getSpecialLayer
native/cocos/renderer/pipeline/shadow/CSMLayers.h:141
↓ 13 callers
Method
getTransform
native/cocos/scene/Model.h:222
↓ 13 callers
Method
getWrapper
(ptr: Bullet.ptr, type: string)
cocos/physics/bullet/bullet-cache.ts:71
↓ 13 callers
Method
get_declaration
Return the cursor for the declaration of the given type.
native/tools/bindings-generator/clang/cindex.py:2342
↓ 13 callers
Method
gpuRenderPass
()
cocos/gfx/webgl/webgl-render-pass.ts:31
↓ 13 callers
Method
identity
* @en Reset the out matrix to an identity matrix * @zh 将目标赋值为单位矩阵
cocos/core/math/mat3.ts:96
↓ 13 callers
Method
isAnimationCached
* @en Whether in cached mode. * @zh 当前是否处于缓存模式。 * @method isAnimationCached * @returns @en True means animation mode is SHARED_CACHE or
cocos/dragon-bones/ArmatureDisplay.ts:842
↓ 13 callers
Function
isArray
(obj)
scripts/native-pack-tool/xcode/lib/pbxWriter.js:48
↓ 13 callers
Method
isUnknownDuration
()
cocos/tween/actions/action-interval.ts:917
↓ 13 callers
Method
isUseColorTemperature
native/cocos/scene/Light.h:71
↓ 13 callers
Function
isValid
Checks wether it's a valid URI */
native/cocos/network/Uri.h:78
↓ 13 callers
Method
len
* @en Calculates the length of the vector * @zh 求向量长度
cocos/core/math/vec4.ts:283
↓ 13 callers
Function
mat4
( m00?: Mat4 | number, m01?: number, m02?: number, m03?: number, m10?: number, m11?: number, m12?: num
cocos/core/math/mat4.ts:2291
↓ 13 callers
Function
max
native/cocos/editor-support/spine/4.2/spine/MathUtil.h:57
↓ 13 callers
Method
nodes
* @zh 获取所有结点。 * @en Gets all nodes. * @returns @zh 用于遍历所有结点的迭代器。 @en The iterator to iterate all nodes.
cocos/animation/marionette/pose-graph/pose-graph.ts:49
↓ 13 callers
Method
nv
Return number of vertices
cocos/rendering/custom/graph.ts:321
↓ 13 callers
Function
parseLoadResArgs
( type: Constructor<Asset> | ((finished: number, total: number, item: RequestItem) => void) | T | null | u
cocos/asset/asset-manager/utilities.ts:265
↓ 13 callers
Method
recompileShaders
* @en Recompile the shader with the specified macro overrides. Allowed only on material instances. * @zh 使用指定预处理宏重新编译当前 pass(数组)中的 shader。只允许对材质实
cocos/asset/assets/material.ts:253
↓ 13 callers
Method
recycle
* @en * Recycle this task to be reused. * * @zh * 回收 task 用于复用。 *
cocos/asset/asset-manager/task.ts:319
↓ 13 callers
Method
set
(tet: number, i: number, v0: number, v1: number)
cocos/gi/light-probe/delaunay.ts:75
↓ 13 callers
Method
setDouble
native/cocos/bindings/jswrapper/Value.cpp:349
↓ 13 callers
Method
setPrivateObject
native/cocos/bindings/jswrapper/v8/Object.cpp:726
↓ 13 callers
Method
setScale
native/cocos/core/geometry/Obb.cpp:123
↓ 13 callers
Method
setTransform
(index: number, value: Readonly<Transform>)
cocos/animation/core/transform-array.ts:103
↓ 13 callers
Method
setViewport
* @en Set rendering viewport. * @zh 设置渲染视口 * @param viewport @en The required viewport @zh 所需视口
cocos/rendering/custom/pipeline.ts:557
↓ 13 callers
Method
setVisibility
(int visibility)
native/cocos/platform/android/java/src/com/cocos/lib/CocosVideoView.java:252
↓ 13 callers
Method
setWorldPosition
(val: Vec3 | number, y?: number, z?: number)
cocos/scene-graph/node.ts:2621
↓ 13 callers
Function
seval_to_native_ptr
native/cocos/bindings/manual/jsb_conversions.h:119
↓ 13 callers
Method
startWithTarget
(target: T | null)
cocos/tween/actions/action-interval.ts:830
↓ 13 callers
Function
to_string
native/cocos/bindings/jswrapper/v8/debugger/inspector_socket_server.cpp:45
↓ 13 callers
Method
updateRegion
native/cocos/editor-support/spine/4.2/spine/MeshAttachment.cpp:50
↓ 13 callers
Function
vertex
UuidGraph
native/cocos/renderer/pipeline/custom/RenderGraphGraphs.h:2212
↓ 12 callers
Function
B
(a,c)
external/compression/zlib.min.js:9
↓ 12 callers
Method
GetAllocator
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:6997
↓ 12 callers
Method
Global
native/cocos/platform/openharmony/napi/napi-inl.h:465
↓ 12 callers
Method
IsEmpty
native/cocos/bindings/jswrapper/jsvm-v8-backend/util.h:644
↓ 12 callers
Function
Point
native/cocos/editor-support/dragonbones/geom/Point.h:74
↓ 12 callers
Method
Value
native/cocos/platform/openharmony/napi/napi-inl.h:590
↓ 12 callers
Method
_getJSObject
native/cocos/bindings/jswrapper/sm/Object.cpp:625
↓ 12 callers
Function
_getPrototypeOf
(o)
platforms/minigame/openDataContext/engine.js:128
↓ 12 callers
Method
_updateMotorTargetAndVelocity
(index: number)
cocos/physics/bullet/constraints/bullet-configurable-constraint.ts:188
↓ 12 callers
Method
addLayer
* Adds a layer. * @returns The new layer.
cocos/animation/marionette/animation-graph.ts:912
↓ 12 callers
Method
addRef
* @en * Increase the reference count. This will prevent assets from being automatically recycled. * When you no longer need to hold the asse
cocos/asset/assets/asset.ts:316
↓ 12 callers
Method
addSceneOfCamera
* @deprecated Method will be removed in the future * @en Render the scene the camera is looking at. * @zh 渲染当前相机指向的场景。 * @param camera
cocos/rendering/custom/pipeline.ts:487
↓ 12 callers
Method
addSearchPath
native/cocos/platform/FileUtils.cpp:754
↓ 12 callers
Function
boundAxis
(node, axis, value)
platforms/minigame/openDataContext/engine.js:1537
↓ 12 callers
Method
byteOffset
native/cocos/core/DataView.h:64
↓ 12 callers
Function
checkExtension
native/cocos/renderer/gfx-vulkan/VKDevice.h:84
↓ 12 callers
Method
close
* @en * Causes the point of the pen to move back to the start of the current path. * It tries to add a straight line from the current point
cocos/2d/components/graphics.ts:572
↓ 12 callers
Function
computeHash
()
cocos/gfx/base/render-pass.ts:59
← previous
next →
1,101–1,200 of 39,311, ranked by callers