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
↓ 6 callers
Function
_possibleConstructorReturn
(self, call)
platforms/minigame/openDataContext/engine.js:122
↓ 6 callers
Method
_refresh
()
editor/inspector/utils/preview.js:226
↓ 6 callers
Method
_setCtor
native/cocos/bindings/jswrapper/v8/Class.cpp:120
↓ 6 callers
Method
_setLinearLimit
()
cocos/physics/physx/joints/physx-configurable-joint.ts:51
↓ 6 callers
Method
_setOpacity
(opacity: number)
cocos/ui/scroll-bar.ts:369
↓ 6 callers
Function
_setPrototypeOf
(o, p)
platforms/minigame/openDataContext/engine.js:118
↓ 6 callers
Method
_setSwingLimit
()
cocos/physics/physx/joints/physx-configurable-joint.ts:96
↓ 6 callers
Method
_setTwistLimit
()
cocos/physics/physx/joints/physx-configurable-joint.ts:124
↓ 6 callers
Method
_triggerEvent
(type, ...args)
platforms/minigame/platforms/taobao/wrapper/builtin/WebSocket.js:107
↓ 6 callers
Method
_triggerEvent
(type, ...args)
platforms/minigame/platforms/taobao-mini-game/wrapper/builtin/WebSocket.js:123
↓ 6 callers
Function
_typeof
(obj)
platforms/minigame/openDataContext/engine.js:108
↓ 6 callers
Method
_updateCastShadow
()
cocos/3d/framework/mesh-renderer.ts:1136
↓ 6 callers
Method
_updateGraphics
()
cocos/2d/components/mask.ts:457
↓ 6 callers
Method
_updateModels
()
cocos/3d/framework/mesh-renderer.ts:910
↓ 6 callers
Method
_updatePipeline
()
cocos/rendering/debug-view.ts:232
↓ 6 callers
Method
_updateUseReflectionProbe
()
cocos/3d/framework/mesh-renderer.ts:1217
↓ 6 callers
Function
absDot
(n: Vec3, x: number, y: number, z: number)
cocos/core/geometry/intersect.ts:808
↓ 6 callers
Function
absolute
(v: Vec3)
cocos/physics/utils/util.ts:94
↓ 6 callers
Method
addAction
native/cocos/editor-support/dragonbones/model/DisplayData.cpp:57
↓ 6 callers
Function
addPassComputeViewImpl
native/cocos/renderer/pipeline/custom/NativeRenderGraphUtils.h:144
↓ 6 callers
Method
addPersistRootNode
* @en * Add a persistent root node to the game, the persistent node won't be destroyed during scene transition.<br> * The target node must b
cocos/game/game.ts:1131
↓ 6 callers
Method
addQuad
(v0: Vec3, v1: Vec3, v2: Vec3, v3: Vec3, color: Color, wireframe = true, depthTest = true, unlit = false)
cocos/rendering/geometry-renderer.ts:384
↓ 6 callers
Method
alloc
* @en Take an object out of the object pool. * @zh 从对象池中取出一个对象。 * @returns @en An object ready for use. This function always returns an obje
templates/harmonyos-next/entry/src/main/ets/common/Pool.ts:73
↓ 6 callers
Method
alloc
native/cocos/renderer/gfx-vulkan/VKGPUObjects.h:501
↓ 6 callers
Method
animate
(p: Particle, dt?: number)
cocos/particle/particle.ts:146
↓ 6 callers
Method
append
native/cocos/renderer/gfx-vulkan/VKCommands.cpp:339
↓ 6 callers
Function
apply
native/cocos/editor-support/spine/4.2/spine/MathUtil.h:120
↓ 6 callers
Method
applyLocalForce
(force: IVec3Like, relativePoint?: IVec3Like)
cocos/physics/spec/i-rigid-body.ts:65
↓ 6 callers
Method
asString
native/cocos/base/Value.cpp:608
↓ 6 callers
Function
assertOrder
(firstComp, lastComp, method)
tests/core/test-component-scheduler.js:760
↓ 6 callers
Function
assertivelyGetGraphVariable
(graph: AnimationGraph, name: string)
tests/animation/newgenanim.test.ts:5403
↓ 6 callers
Method
atan2
Returns atan2 in radians, faster but less accurate than Math.Atan2. Average error of 0.00231 radians (0.1323 degrees), largest error of 0.00488 radian
native/cocos/editor-support/spine/4.2/spine/MathUtil.cpp:71
↓ 6 callers
Method
beginChangeStatesSilently
native/cocos/renderer/core/PassInstance.cpp:97
↓ 6 callers
Method
bindAuxiliaryCurve
* Binds an auxiliary curve. * @param curveName Curve name.
cocos/animation/marionette/animation-graph-animation-clip-binding.ts:49
↓ 6 callers
Method
bindContext
native/cocos/renderer/gfx-gles2/GLES2Device.cpp:293
↓ 6 callers
Function
bindTexture
native/cocos/renderer/gfx-base/GFXDescriptorSet.h:63
↓ 6 callers
Method
bindTransform
* Binds a scene node transform into animation graph. * @param path Path to the scene node from `origin`. * @returns The transform handle if
cocos/animation/marionette/animation-graph-animation-clip-binding.ts:43
↓ 6 callers
Method
blend
(value: Readonly<TValue>, weight: number)
cocos/3d/skeletal-animation/skeletal-animation-blending.ts:156
↓ 6 callers
Function
blend1D
(weights: number[], thresholds: readonly number[], value: number)
cocos/animation/marionette/motion/blend-1d.ts:25
↓ 6 callers
Method
blendColor
()
cocos/gfx/base/pipeline-sub-state.jsb.ts:610
↓ 6 callers
Method
body
()
cocos/physics-2d/box2d/joints/joint-2d.ts:38
↓ 6 callers
Function
cacheUnderlyingData
* cache native object's `underlyingData()` result in __data
cocos/core/geometry/geometry-native-ext.ts:63
↓ 6 callers
Function
callSkeletonPreviewFunction
(funcName, ...args)
editor/inspector/assets/skeleton-preview.js:47
↓ 6 callers
Method
cancel
native/cocos/base/Scheduler.cpp:120
↓ 6 callers
Method
cbrt
(x)
cocos/spine/lib/spine-core.js:159
↓ 6 callers
Method
checkGLError
(String operation)
native/cocos/platform/android/libcocosxr/src/com/cocos/lib/xr/CocosXRGLHelper.java:109
↓ 6 callers
Function
checkMetaData
native/cocos/audio/android/AudioDecoderSLES.cpp:66
↓ 6 callers
Function
checkZero
()
tests/animation/new-gen-anim/state-machine-event-binding.test.ts:108
↓ 6 callers
Method
clearBlack
()
cocos/rendering/post-process/utils/pass-context.ts:71
↓ 6 callers
Method
clearCmds
native/cocos/renderer/gfx-gles2/GLES2Commands.h:147
↓ 6 callers
Method
clearCmds
native/cocos/renderer/gfx-gles3/GLES3Commands.h:199
↓ 6 callers
Method
clearDynamicRenderDrawInfos
native/cocos/2d/renderer/RenderEntity.cpp:68
↓ 6 callers
Method
clearForces
()
cocos/physics/spec/i-rigid-body.ts:52
↓ 6 callers
Method
clearVelocity
()
cocos/physics/spec/i-rigid-body.ts:53
↓ 6 callers
Method
code
()
platforms/native/builtin/jsb-adapter/MediaError.js:11
↓ 6 callers
Function
colorEqualTest
(color1: Color, color2: Color)
tests/core/math/color.test.ts:4
↓ 6 callers
Method
colors
native/cocos/renderer/pipeline/custom/RenderGraphTypes.h:1082
↓ 6 callers
Method
commit
native/cocos/3d/assets/MorphRendering.cpp:319
↓ 6 callers
Method
compile
native/cocos/renderer/frame-graph/FrameGraph.cpp:116
↓ 6 callers
Method
computeHit
* @en * Calculates a point on the ray with the specific distance from the origin point. * @zh * 根据给定的距离计算出射线上的一点。 * @param out @en
cocos/core/geometry/ray.ts:190
↓ 6 callers
Function
convert_js_args_to_tuple
NOLINTNEXTLINE
native/cocos/bindings/sebind/intl/common.h:355
↓ 6 callers
Method
copyPlatformTemplate
()
scripts/native-pack-tool/source/platforms/android.ts:46
↓ 6 callers
Method
copyWithin
* Same algorithm as https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/copyWithin * except for the the o
cocos/animation/core/transform-array.ts:146
↓ 6 callers
Method
create
(origin: Node, bindContext: BindContext)
tests/animation/new-gen-anim/pose-graph/pose-nodes/utils/evaluation-mock.ts:58
↓ 6 callers
Method
create
native/cocos/physics/physx/character-controllers/PhysXBoxCharacterController.cpp:55
↓ 6 callers
Method
createCommandEncoder
* Creates a {@link GPUCommandEncoder}. * @param descriptor - Description of the {@link GPUCommandEncoder} to create.
@types/webGPU.d.ts:2548
↓ 6 callers
Method
createData
(comp: UIRenderer)
cocos/2d/renderer/base.ts:38
↓ 6 callers
Function
createInvokeImpl
(singleInvoke, fastPath, ensureFlag?)
cocos/scene-graph/component-scheduler.ts:248
↓ 6 callers
Function
createLODGroup
()
tests/core/components/lod-group.test.ts:214
↓ 6 callers
Function
createMap
(forceDictMode?: boolean)
cocos/core/utils/js-typed.ts:218
↓ 6 callers
Function
createOnlyOnLoadComp
(node, name)
tests/core/test-component-scheduler.js:301
↓ 6 callers
Function
createPool
(Constructor: new() => T)
cocos/rendering/custom/types.ts:395
↓ 6 callers
Method
createPort
()
cocos/animation/marionette/motion/motion.ts:63
↓ 6 callers
Function
createVariableBindingView
( object: { [_x in T]: string; }, key: T, acceptableTypes: VariableType | VariableType[], )
editor/src/marionette/variable-binding.ts:55
↓ 6 callers
Method
data
native/cocos/renderer/gfx-vulkan/VKGPUObjects.h:522
↓ 6 callers
Method
decRef
native/cocos/bindings/jswrapper/napi/Object.cpp:771
↓ 6 callers
Method
decompress
(storage: CompactValueTypeArrayStorage, index: number)
cocos/core/data/utils/compact-value-type-array.ts:173
↓ 6 callers
Function
defaultAttachment
native/cocos/renderer/pipeline/custom/NativeRenderGraphUtils.h:213
↓ 6 callers
Function
defined
(name: string)
tests/constants-for-test.ts:6
↓ 6 callers
Function
depthFirstSearch
( g: IncidenceGraph & VertexListGraph, visitor: GraphVisitor, color: MutableVertexPropertyMap<Grap
cocos/rendering/custom/graph.ts:680
↓ 6 callers
Method
destroy
()
cocos/scene-graph/node.ts:1367
↓ 6 callers
Function
dirname
native/cocos/core/utils/Path.cpp:118
↓ 6 callers
Method
dispatchEventToScript
Dispatch the event with argument, the event should be registered in javascript, or other script language in future.
native/cocos/platform/android/java/src/com/cocos/lib/JsbBridgeWrapper.java:79
↓ 6 callers
Function
downSize
(size: number, scale: number)
editor/assets/default_renderpipeline/builtin-pipeline.ts:991
↓ 6 callers
Method
dpToPixel
(int dp)
native/cocos/platform/android/java/src/com/cocos/lib/CocosEditBoxActivity.java:331
↓ 6 callers
Method
endChangeStatesSilently
native/cocos/renderer/core/PassInstance.cpp:101
↓ 6 callers
Method
endElement
native/cocos/platform/SAXParser.cpp:119
↓ 6 callers
Method
endRenderPass
native/cocos/renderer/gfx-wgpu/WGPUCommandBuffer.cpp:212
↓ 6 callers
Function
equals
(a: IVec2Like, b: IVec2Like)
cocos/physics-2d/framework/utils/polygon-partition.ts:126
↓ 6 callers
Method
evalString
native/cocos/bindings/jswrapper/v8/ScriptEngine.cpp:672
↓ 6 callers
Method
evaluate
(context: ConditionEvaluationContext)
cocos/animation/marionette/state-machine/condition/binding/binding.ts:45
↓ 6 callers
Method
event
(entry: TrackEntry, event: Event)
cocos/spine/lib/spine-core.d.ts:452
↓ 6 callers
Function
expectToBeCloseToVec3
(actual: Readonly<Vec3>, expected: Readonly<Vec3>)
tests/value-types/vec3.test.ts:61
↓ 6 callers
Function
expectVec3CloseTo
(input: Readonly<Vec3>, expected: Readonly<Vec3>)
tests/animation/exotic-animation/exotic-animation.test.ts:417
↓ 6 callers
Function
extendType
(proto: any, parentProto: any, typ: MathType)
cocos/core/math/math-native-ext.ts:58
↓ 6 callers
Function
extname
(path: string)
cocos/core/utils/path.ts:55
↓ 6 callers
Function
fastRemoveAt
(array: T[], index: number)
cocos/core/utils/array.ts:115
↓ 6 callers
Function
findSkewAndGetOriginalWorldMatrix
(node: Node | null, out: Mat4)
cocos/2d/framework/ui-skew-utils.ts:39
↓ 6 callers
Method
finite
* Generates a finite number. * @order The order(max mag).
tests/utils/random.ts:31
↓ 6 callers
Method
flushBuffer
native/cocos/renderer/gfx-base/GFXBuffer.cpp:101
← previous
next →
2,101–2,200 of 39,311, ranked by callers