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
mapFind
native/cocos/editor-support/dragonbones/core/DragonBones.h:348
↓ 6 callers
Method
mapIndex
(i: number, j: number, k: number)
cocos/terrain/terrain-lod.ts:60
↓ 6 callers
Method
mergedUUID
()
cocos/spine/skeleton-data.ts:282
↓ 6 callers
Function
mulRL
* Similar to mul, but the 16-bit terms are extracted from a 32-bit interleaved stereo pair. */
native/cocos/audio/common/utils/include/primitives.h:914
↓ 6 callers
Method
newMeshAttachment
(skin: Skin, name: string, path: string)
cocos/spine/lib/spine-core.d.ts:1305
↓ 6 callers
Function
nt2lm
(size: number)
cocos/render-scene/scene/light.ts:71
↓ 6 callers
Method
offRunning
()
pal/audio/web/player-web.ts:366
↓ 6 callers
Method
onFinish
(final int id, final int errCode, final String errStr, final byte[] data)
native/cocos/platform/ohos/libcocos/src/main/java/com/cocos/lib/CocosDownloader.java:62
↓ 6 callers
Method
onFinish
(final int id, final int errCode, final String errStr, final byte[] data)
native/cocos/platform/android/java/src/com/cocos/lib/CocosDownloader.java:82
↓ 6 callers
Method
open
native/cocos/bindings/manual/jsb_xmlhttprequest.cpp:244
↓ 6 callers
Method
orElse
native/cocos/bindings/jswrapper/MappingUtils.h:47
↓ 6 callers
Method
own
native/cocos/editor-support/spine/3.8/spine/SpineString.cpp:72
↓ 6 callers
Method
own
native/cocos/editor-support/spine/4.2/spine/SpineString.cpp:75
↓ 6 callers
Method
package_seq
native/tools/simulator/libsimulator/lib/runtime/Protos.pb.h:509
↓ 6 callers
Function
parents
native/cocos/renderer/pipeline/custom/LayoutGraphGraphs.h:203
↓ 6 callers
Function
parse
native/cocos/base/csscolorparser.cpp:279
↓ 6 callers
Method
parsePropertyAt
* @zh 将指定路径段视为属性路径,获取其描述的属性。 * @en Treats the path segment as a property path. Obtains the property it describes. * @param index Index to th
cocos/animation/tracks/track.ts:151
↓ 6 callers
Method
parseTextureAtlasData
native/cocos/editor-support/dragonbones/factory/BaseFactory.cpp:279
↓ 6 callers
Method
perform
@param responseCode Null not allowed
native/cocos/network/HttpClient.cpp:261
↓ 6 callers
Method
perspective
* @en Calculates perspective projection matrix * @zh 计算透视投影矩阵 * @param out The receiving matrix. * @param fovy Vertical field-of-view i
cocos/core/math/mat4.ts:1173
↓ 6 callers
Function
pingPong
native/cocos/math/Utils.h:249
↓ 6 callers
Method
play
* @en Play this animation. * @zh 播放动画。
cocos/animation/playable.ts:62
↓ 6 callers
Method
play
(...args: Parameters<EmbeddedPlayableState['play']>)
tests/animation/embedded-player/genernal-embedded-player.test.ts:419
↓ 6 callers
Method
pop
()
cocos/animation/core/pose-allocator.ts:54
↓ 6 callers
Method
pop
deletes the retrieved element, do not use for non integral types
native/cocos/base/ThreadPool.h:160
↓ 6 callers
Method
pop_front
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:5070
↓ 6 callers
Function
poseGraphCreateNodeFactory
(factory: PoseGraphCreateNodeFactory<any>)
cocos/animation/marionette/pose-graph/decorator/node.ts:33
↓ 6 callers
Function
position
(locator,node)
platforms/minigame/common/xmldom/dom-parser.js:70
↓ 6 callers
Function
position
(locator,node)
platforms/nodejs/builtin/xmldom/dom-parser.js:70
↓ 6 callers
Function
position
(locator,node)
platforms/native/builtin/xmldom/dom-parser.js:70
↓ 6 callers
Method
prepare
native/cocos/renderer/gfx-wgpu/WGPUPipelineState.cpp:151
↓ 6 callers
Method
prepare
(CocosXRVideoManager.VideoEventData data)
native/cocos/platform/android/libcocosxr/src/com/cocos/lib/xr/CocosXRVideoPlayer.java:134
↓ 6 callers
Method
purge
native/cocos/renderer/gfx-wgpu/WGPUObject.h:287
↓ 6 callers
Function
randomRangeInt
(min: number, max: number)
cocos/core/math/utils.ts:162
↓ 6 callers
Method
read
native/cocos/audio/common/decoder/AudioDecoderMp3.cpp:157
↓ 6 callers
Function
readBuffer
( target: DataView, format: Format = Format.R32F, offset = 0, length: number = target.byteLeng
cocos/3d/misc/buffer.ts:60
↓ 6 callers
Method
readLine
native/cocos/editor-support/spine/4.2/spine/Atlas.cpp:187
↓ 6 callers
Function
readText
(filePath, onComplete)
platforms/runtime/common/engine/fs-utils.js:168
↓ 6 callers
Function
rect
(x: Rect | number = 0, y = 0, width = 0, height = 0)
cocos/core/math/rect.ts:525
↓ 6 callers
Method
removeAll
(typeOrTarget: any)
cocos/rendering/pipeline-event.ts:106
↓ 6 callers
Method
removeChild
(node)
platforms/native/builtin/jsb-adapter/Node.js:36
↓ 6 callers
Function
repeat
native/cocos/math/Utils.h:237
↓ 6 callers
Method
repeatForever
* @en * Add a repeat forever action. * This action will integrate before actions to a sequence action as their parameters. * @zh *
cocos/tween/tween.ts:685
↓ 6 callers
Method
replaceChild
(newChild, oldChild)
platforms/native/builtin/jsb-adapter/Node.js:24
↓ 6 callers
Method
resetSystem
* @en Kill all living particles. * @zh 杀死所有存在的粒子,然后重新启动粒子发射器。 * @example * // play particle system. * myParticleSystem.resetSystem
cocos/particle-2d/particle-system-2d.ts:904
↓ 6 callers
Method
resize
* @en Resize the view size of the camera. * @zh 重置相机视图尺寸 * @param width The width of the view size * @param height The height of the vi
cocos/render-scene/scene/camera.ts:972
↓ 6 callers
Function
run
( sourceStateParams: StateParams | 'any', expectedFormula: (stateTime: number) => number, threshol
tests/animation/new-gen-anim/state-machine/condition/state-motion-time-binding.test.ts:200
↓ 6 callers
Function
scale
native/cocos/primitive/Transform.cpp:59
↓ 6 callers
Function
sceneCulling
native/cocos/renderer/pipeline/custom/NativeSceneCulling.cpp:329
↓ 6 callers
Method
scissor
()
cocos/rendering/custom/executor.ts:595
↓ 6 callers
Function
seToJsValue
native/cocos/bindings/jswrapper/jsvm/Utils.cpp:134
↓ 6 callers
Function
searchPathForFile
(file, proj)
scripts/native-pack-tool/xcode/lib/pbxProject.js:1688
↓ 6 callers
Function
serializeAndDeserialize
(curve: T, CurveConstructor: new () => T)
tests/curves/serialize-and-deserialize-curve.ts:6
↓ 6 callers
Method
setAngularExtent
(twist: number, swing1: number, swing2: number)
cocos/physics/spec/i-physics-constraint.ts:63
↓ 6 callers
Method
setAxis
(v: IVec3Like)
cocos/physics/spec/i-physics-constraint.ts:44
↓ 6 callers
Method
setBreakTorque
(v: number)
cocos/physics/spec/i-physics-constraint.ts:55
↓ 6 callers
Function
setCameraUBOValues
( setter: WebSetter, camera: Readonly<Camera> | null, cfg: Readonly<PipelineSceneData>, scene:
cocos/rendering/custom/web-pipeline-types.ts:66
↓ 6 callers
Method
setClearFlag
(clearFlag: ClearFlagBit)
cocos/rendering/post-process/utils/pass-context.ts:48
↓ 6 callers
Method
setConstraintMode
(idx: number, v: EConstraintMode)
cocos/physics/bullet/constraints/bullet-configurable-constraint.ts:71
↓ 6 callers
Method
setConstraintMode
(idx: number, v: EConstraintMode)
cocos/physics/physx/joints/physx-configurable-joint.ts:219
↓ 6 callers
Method
setConstraintMode
(idx, v)
platforms/native/engine/jsb-physics.js:885
↓ 6 callers
Method
setData
native/cocos/3d/assets/Mesh.h:281
↓ 6 callers
Method
setDefaultResourceRootPath
native/cocos/platform/FileUtils.cpp:711
↓ 6 callers
Method
setDescriptorSet
native/cocos/scene/SubModel.h:60
↓ 6 callers
Method
setDiffuseMaps
* @en Set the diffuse maps * @zh 设置环境光漫反射贴图 * @param diffuseMapHDR @en Diffuse map for HDR mode @zh HDR 模式下的漫反射贴图 * @param diffuseMapLD
cocos/render-scene/scene/skybox.ts:262
↓ 6 callers
Method
setDrawInfoType
(drawInfoType: RenderDrawInfoType)
cocos/2d/renderer/render-draw-info.ts:299
↓ 6 callers
Method
setDriverMode
(idx: number, v: EDriverMode)
cocos/physics/bullet/constraints/bullet-configurable-constraint.ts:176
↓ 6 callers
Method
setDriverMode
(idx, v)
platforms/native/engine/jsb-physics.js:903
↓ 6 callers
Method
setEnabled
* Set enable state of the node event processor * @param value Enable state * @param recursive Recursively set the state or not * @retur
cocos/scene-graph/node-event-processor.ts:154
↓ 6 callers
Method
setEnvMaps
* @en Set the environment maps for HDR and LDR mode * @zh 为 HDR 和 LDR 模式设置环境贴图 * @param envmapHDR @en Environment map for HDR mode @zh HDR 模
cocos/render-scene/scene/skybox.ts:248
↓ 6 callers
Method
setErrorProc
native/cocos/network/Downloader-curl.cpp:153
↓ 6 callers
Method
setFrequency
(v: number)
cocos/physics-2d/spec/i-physics-joint.ts:50
↓ 6 callers
Method
setIbCount
native/cocos/2d/renderer/RenderDrawInfo.h:98
↓ 6 callers
Method
setKeyframes
(times: number[], values: TKeyframeValue[])
cocos/core/curves/keyframe-curve.ts:252
↓ 6 callers
Method
setLimit
native/cocos/editor-support/spine/4.2/spine/PhysicsConstraintData.cpp:97
↓ 6 callers
Method
setLocation
* @en Sets cursor location. * @zh 设置当前鼠标位置。 * @param x - The location on x axis * @param y - The location on y axis
cocos/input/types/event/event-mouse.ts:193
↓ 6 callers
Method
setMacroInt
(name: string, value: number)
cocos/rendering/custom/web-pipeline.ts:1429
↓ 6 callers
Method
setOrder
native/cocos/editor-support/spine/3.8/spine/ConstraintData.cpp:54
↓ 6 callers
Method
setProjectDir
native/tools/simulator/libsimulator/lib/ProjectConfig/ProjectConfig.cpp:84
↓ 6 callers
Function
setPunctualLightShadowUBO
native/cocos/renderer/pipeline/custom/NativeBuiltinUtils.cpp:532
↓ 6 callers
Method
setRegion
native/cocos/editor-support/spine/4.2/spine/MeshAttachment.cpp:149
↓ 6 callers
Method
setRequestMethod
native/cocos/network/HttpClient-java.cpp:97
↓ 6 callers
Method
setRotationFromEuler
native/cocos/core/scene-graph/Node.cpp:446
↓ 6 callers
Method
setScissor
(scissor: Readonly<Rect>)
cocos/gfx/webgl/webgl-command-buffer.ts:154
↓ 6 callers
Method
setSkinRequired
native/cocos/editor-support/spine/3.8/spine/BoneData.cpp:145
↓ 6 callers
Method
setSleepThreshold
(v: number)
cocos/physics/spec/i-rigid-body.ts:54
↓ 6 callers
Method
setState
native/cocos/audio/android/Track.cpp:77
↓ 6 callers
Method
setTarget
(v: IVec2Like)
cocos/physics-2d/spec/i-physics-joint.ts:63
↓ 6 callers
Method
setToSetupPose
native/cocos/editor-support/spine/4.2/spine/Skeleton.cpp:283
↓ 6 callers
Function
setTrailingPosition
(node, child, axis)
platforms/minigame/openDataContext/engine.js:1587
↓ 6 callers
Method
setTransform
native/cocos/scene/Model.h:172
↓ 6 callers
Function
setTypedArrayValue
native/cocos/core/TypedArray.cpp:73
↓ 6 callers
Method
setVertexAttributes
()
cocos/particle/renderer/particle-system-renderer-gpu.ts:197
↓ 6 callers
Method
setVolume
native/cocos/audio/android/Track.cpp:60
↓ 6 callers
Method
setWeights
* Sets weights of targets of specified sub mesh. * @param subMeshIndex * @param weights
cocos/3d/assets/morph-rendering.ts:63
↓ 6 callers
Function
shared_ptr_private_object
native/cocos/bindings/jswrapper/PrivateObject.h:217
↓ 6 callers
Function
stepExpectedNormalizedMotionTimeAndCheck
(step: number)
tests/animation/new-gen-anim/pose-graph/pose-nodes/motion-node.test.ts:178
↓ 6 callers
Method
stop
* @en Stop this animation. * @zh 停止动画播放。
cocos/animation/playable.ts:80
↓ 6 callers
Function
strToColor
(value: string)
cocos/tiledmap/tmx-xml-parser.ts:71
↓ 6 callers
Function
sweepClosest
( world: PhysXWorld, worldRay: geometry.Ray, geometry: any, geometryRotation: IQuatLike, o
cocos/physics/physx/physx-adapter.ts:491
← previous
next →
2,301–2,400 of 39,311, ranked by callers