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
↓ 19 callers
Method
isNull
native/cocos/base/Data.cpp:76
↓ 19 callers
Method
moveTo
* @en * Move path start point to (x,y). * * @zh * 移动路径起点到坐标(x, y)。 * * @param x @en The x-axis coordinate of the target
cocos/2d/components/graphics.ts:310
↓ 19 callers
Method
offAccelerometerChange
(cb?: AccelerometerChangeCallback)
@types/pal/minigame.d.ts:62
↓ 19 callers
Method
onDisable
* @en Called when this component becomes disabled or its node becomes inactive.<br/> * This is a lifecycle method. It may not be implemented in t
cocos/physics/spec/i-lifecycle.ts:99
↓ 19 callers
Method
play
(time: number)
tests/animation/embedded-player/util.ts:20
↓ 19 callers
Function
push
( repo, remote, branch, cb )
native/utils/git.js:279
↓ 19 callers
Function
randomRange
(min: number, max: number)
cocos/core/math/utils.ts:151
↓ 19 callers
Method
repeat
* @en * Add a repeat action. * This action will integrate before actions to a sequence action as their parameters. * @zh * 添加一个重复
cocos/tween/tween.ts:656
↓ 19 callers
Method
replaceEnvVariables
(str: string)
scripts/native-pack-tool/source/utils.ts:14
↓ 19 callers
Method
resource
native/cocos/renderer/pipeline/custom/LayoutGraphTypes.h:199
↓ 19 callers
Method
rotate
native/cocos/math/Mat4.cpp:862
↓ 19 callers
Method
setBoolean
native/cocos/bindings/jswrapper/Value.cpp:299
↓ 19 callers
Method
setType
(v: ERigidBody2DType)
cocos/physics-2d/spec/i-rigid-body.ts:38
↓ 19 callers
Function
transformMat4
* Transforms this vector by the specified Mat4 and stores the result in this vector. * @param m The matrix. */
native/cocos/math/Vec3.h:241
↓ 19 callers
Method
union
* @en * Integrate to an action by all previous actions or a range from the specific id to the last one. * @zh * 将之前所有的动作或者从指定标识的动作开始的所有
cocos/tween/tween.ts:434
↓ 19 callers
Method
writeFile
native/cocos/network/HttpCookie.cpp:111
↓ 18 callers
Method
EndObject
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:8227
↓ 18 callers
Method
IsNumber
native/cocos/platform/openharmony/napi/napi-inl.h:645
↓ 18 callers
Function
UTF8ToUTF16
native/cocos/base/UTF8.cpp:221
↓ 18 callers
Method
_destroyImmediate
* @deprecated since v3.5.0, this is an engine private interface that will be removed in the future.
cocos/core/data/object.ts:370
↓ 18 callers
Method
addEventListener
* @en * Add event listener for the DragonBones Event. * @zh * 添加 DragonBones 事件监听器。 * @method addEventListener * @param event
cocos/dragon-bones/ArmatureDisplay.ts:1428
↓ 18 callers
Method
addPass
(pass: BasePass, pipelineName = 'forward')
cocos/rendering/post-process/post-process-builder.ts:90
↓ 18 callers
Method
attachToScene
native/cocos/scene/Camera.cpp:125
↓ 18 callers
Method
bindSampler
native/cocos/scene/Pass.cpp:258
↓ 18 callers
Method
copyBuffersToTexture
native/cocos/renderer/gfx-base/GFXDevice.h:317
↓ 18 callers
Method
copyTo
(that: State)
cocos/animation/marionette/state-machine/state.ts:54
↓ 18 callers
Function
cpp_type
native/tools/simulator/libsimulator/lib/protobuf-lite/google/protobuf/extension_set.cc:62
↓ 18 callers
Method
createDescriptorSetLayout
native/cocos/renderer/gfx-base/GFXDevice.h:299
↓ 18 callers
Function
createLegacyKeyframe
({ time, value, inTangent = 0.0, outTangent = 0.0, }: { time: number, value: number;
tests/core/geometry/geometry-curve.test.ts:179
↓ 18 callers
Method
erase
native/cocos/renderer/gfx-vulkan/VKGPUObjects.h:1373
↓ 18 callers
Method
evaluate
(context: AnimationGraphEvaluationContext)
cocos/animation/marionette/pose-graph/stash/runtime-stash.ts:15
↓ 18 callers
Method
get
* @zh * 获取指定原始动画剪辑应替换成的动画剪辑。 * @en * Gets the overriding animation clip of specified original animation clip. * * @param anim
cocos/animation/marionette/clip-overriding.ts:22
↓ 18 callers
Method
getCSMLevel
native/cocos/scene/DirectionalLight.h:83
↓ 18 callers
Method
getChangedFlags
* @en Whether the node's transformation have changed during the current frame. * @zh 这个节点的空间变换信息在当前帧内是否有变过? */
native/cocos/core/scene-graph/Node.h:480
↓ 18 callers
Function
getClassName
(objOrCtor: any)
cocos/core/utils/js-typed.ts:242
↓ 18 callers
Method
getHash
native/cocos/renderer/gfx-wgpu/WGPUDescriptorSet.h:68
↓ 18 callers
Method
getKey
( phaseID: number, programName: string, defines: MacroRecord)
cocos/rendering/custom/private.ts:44
↓ 18 callers
Function
getPhaseID
native/cocos/renderer/pipeline/Define.cpp:654
↓ 18 callers
Method
getRead
native/cocos/renderer/frame-graph/DevicePassResourceTable.h:76
↓ 18 callers
Method
getRenderPass
native/cocos/renderer/frame-graph/DevicePassResourceTable.h:56
↓ 18 callers
Method
getShape
native/cocos/physics/physx/character-controllers/PhysXCharacterController.cpp:277
↓ 18 callers
Method
getString
native/cocos/platform/interfaces/modules/XRCommon.h:175
↓ 18 callers
Method
get_allocator
native/cocos/renderer/pipeline/custom/NativePipelineTypes.h:1048
↓ 18 callers
Method
identity
native/cocos/math/Mat3.cpp:77
↓ 18 callers
Function
jsvm_set_last_error
native/cocos/bindings/jswrapper/jsvm-v8-backend/js_native_api_v8.h:264
↓ 18 callers
Function
makeRange
native/cocos/renderer/pipeline/custom/details/Range.h:31
↓ 18 callers
Function
pbxGroupChild
(file)
scripts/native-pack-tool/xcode/lib/pbxProject.js:1583
↓ 18 callers
Method
popPose
()
cocos/animation/marionette/animation-graph-context.ts:809
↓ 18 callers
Function
repeat
(t: number, length: number)
cocos/core/math/utils.ts:227
↓ 18 callers
Method
save
native/cocos/base/BinaryArchive.cpp:40
↓ 18 callers
Method
setAnchorPoint
* @en * Sets the anchor point in percent. <br/> * anchor point is the point around which all transformations and positioning manipulations t
cocos/2d/framework/ui-transform.ts:382
↓ 18 callers
Method
setChecked
native/tools/simulator/libsimulator/lib/platform/win32/PlayerMenuServiceWin.cpp:90
↓ 18 callers
Method
setIdentity
native/cocos/math/Mat4.cpp:972
↓ 18 callers
Function
setMaterialProperty
(mat: Material, key: string, value: MaterialPropertyFull | MaterialPropertyFull[], passIdx?: number)
cocos/game/splash-screen.ts:69
↓ 18 callers
Method
setSharedMaterial
* @en Set the shared material asset of the specified sub-model, * new material instance will be created automatically if the sub-model is already
cocos/misc/renderer.ts:175
↓ 18 callers
Function
source
IncidenceGraph
native/cocos/renderer/pipeline/custom/RenderGraphGraphs.h:44
↓ 18 callers
Function
toBeAround
(value: number)
tests/animation/newgenanim.test.ts:4017
↓ 18 callers
Method
toUint32
native/cocos/bindings/jswrapper/Value.cpp:432
↓ 18 callers
Function
vma_delete
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:4838
↓ 17 callers
Method
BeginObject
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:8214
↓ 17 callers
Method
Undefined
native/cocos/platform/openharmony/napi/napi-inl.h:472
↓ 17 callers
Method
Unwrap
native/cocos/platform/openharmony/napi/napi-inl.h:409
↓ 17 callers
Method
_convertToUISpace
* Convert location in Cocos screen coordinate to location in UI space * @engineInternal * @mangle
cocos/ui/view.ts:586
↓ 17 callers
Function
_createClass
(Constructor, protoProps, staticProps)
platforms/minigame/openDataContext/engine.js:114
↓ 17 callers
Method
_dispatchEvent
(event: string)
cocos/ui/scroll-view.ts:1416
↓ 17 callers
Method
_updateState
()
cocos/ui/button.ts:930
↓ 17 callers
Function
absMax
(a: number, b: number)
cocos/core/math/utils.ts:285
↓ 17 callers
Method
angle
native/cocos/math/Vec3.cpp:104
↓ 17 callers
Method
begin
native/cocos/platform/openharmony/napi/napi-inl.h:1677
↓ 17 callers
Function
c
(e)
templates/web-mobile/vconsole.min.js:10
↓ 17 callers
Function
cacheProperty
* cache jsb attributes in js, reduce cross language invokations.
cocos/core/geometry/geometry-native-ext.ts:38
↓ 17 callers
Method
channels
* @en The four channel of the track. * @zh 返回此轨道的四条通道。 * @returns An readonly four length array in which * the element at n denotes the
cocos/animation/tracks/vector-track.ts:69
↓ 17 callers
Function
check
(obj: any, type: ECheckType)
cocos/physics/framework/physics-selector.ts:244
↓ 17 callers
Method
close
()
editor/inspector/utils/preview.js:197
↓ 17 callers
Function
cocos2BulletQuat
(out: Bullet.ptr, q: IQuatLike)
cocos/physics/bullet/bullet-utils.ts:44
↓ 17 callers
Function
cosDeg
Returns the cosine in radians from a lookup table.
native/cocos/editor-support/spine/3.8/spine/MathUtil.h:80
↓ 17 callers
Method
createRenderData
()
cocos/rendering/custom/render-graph.ts:1794
↓ 17 callers
Method
cross
native/cocos/math/Vec3.cpp:186
↓ 17 callers
Function
deserialize
(data: IDeserializeInput | string | any, details?: Details, options?: IOptions & DeserializeDynamicOptions)
cocos/serialization/deserialize.ts:938
↓ 17 callers
Method
dispose
()
cocos/spine/lib/spine-core.d.ts:1160
↓ 17 callers
Method
distance
* @en Calculates the euclidean distance of two vectors * @zh 求两向量的欧氏距离
cocos/core/math/vec4.ts:259
↓ 17 callers
Method
equals
native/cocos/editor-support/spine/4.2/spine/Atlas.cpp:157
↓ 17 callers
Method
fromAxisAngle
* @en Calculates the quaternion from a given rotary shaft and a radian rotation around it. * @zh 根据旋转轴和旋转弧度计算四元数
cocos/core/math/quat.ts:475
↓ 17 callers
Method
getAnimation
native/cocos/editor-support/dragonbones-creator-support/CCArmatureCacheDisplay.cpp:341
↓ 17 callers
Method
getBuffer
native/cocos/renderer/gfx-base/GFXDevice.cpp:195
↓ 17 callers
Method
getComponents
()
@types/editor-extends.d.ts:49
↓ 17 callers
Method
getContext
()
native/cocos/platform/android/java/src/com/cocos/lib/GlobalObject.java:61
↓ 17 callers
Method
getInputAssembler
native/cocos/scene/SubModel.h:73
↓ 17 callers
Function
getPhaseID
(passID: number, name: string | number | undefined)
cocos/rendering/custom/index.ts:111
↓ 17 callers
Method
getProjectDir
native/tools/simulator/libsimulator/lib/ProjectConfig/ProjectConfig.cpp:80
↓ 17 callers
Method
getRaw
native/cocos/bindings/jswrapper/PrivateObject.h:163
↓ 17 callers
Method
getScaleX
native/cocos/editor-support/spine/4.2/spine/Bone.cpp:351
↓ 17 callers
Method
getScaleY
native/cocos/editor-support/spine/4.2/spine/Bone.cpp:359
↓ 17 callers
Method
getShaderVariant
native/cocos/scene/Pass.cpp:473
↓ 17 callers
Method
getViewport
native/cocos/renderer/pipeline/RenderPipeline.cpp:252
↓ 17 callers
Method
getVisibility
native/cocos/scene/Light.h:80
↓ 17 callers
Function
getWrapShape
(pxShape: any)
cocos/physics/physx/physx-adapter.ts:209
↓ 17 callers
Method
get_allocator
native/cocos/renderer/pipeline/custom/LayoutGraphTypes.h:571
↓ 17 callers
Function
isEnableEffect
()
cocos/rendering/define.ts:1119
↓ 17 callers
Method
isShadowEnabled
native/cocos/scene/SpotLight.h:87
← previous
next →
801–900 of 39,311, ranked by callers