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
↓ 10 callers
Method
writeThis
* Serialize this object according to the original procedure.
cocos/core/data/custom-serializable.ts:69
↓ 10 callers
Method
zeroCheck
()
tests/animation/embedded-player/genernal-embedded-player.test.ts:369
↓ 9 callers
Method
Add
native/tools/simulator/libsimulator/lib/protobuf-lite/google/protobuf/repeated_field.h:630
↓ 9 callers
Method
CallIntoModule
native/cocos/bindings/jswrapper/jsvm-v8-backend/js_native_api_v8.h:148
↓ 9 callers
Function
GetContextEnv
native/cocos/bindings/jswrapper/jsvm-v8-backend/js_native_api_v8.cc:241
↓ 9 callers
Function
GetTypeSize
(type: Type)
cocos/gfx/base/define.ts:2443
↓ 9 callers
Function
NewFunctionTemplate
native/cocos/bindings/jswrapper/jsvm-v8-backend/util.cc:336
↓ 9 callers
Method
SetReturnValue
virtual*/
native/cocos/bindings/jswrapper/jsvm-v8-backend/js_native_api_v8.cc:743
↓ 9 callers
Method
This
native/cocos/platform/openharmony/napi/napi-inl.h:3815
↓ 9 callers
Function
Unwrap
native/cocos/bindings/jswrapper/v8/debugger/util-inl.h:249
↓ 9 callers
Function
VmaPnextChainPushFront
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:4790
↓ 9 callers
Method
WriteVarint32
native/tools/simulator/libsimulator/lib/protobuf-lite/google/protobuf/io/coded_stream.cc:672
↓ 9 callers
Method
_editBoxTextChanged
* @deprecated since v3.5.0, this is an engine private interface that will be removed in the future.
cocos/ui/editbox/edit-box.ts:517
↓ 9 callers
Method
_emitEvent
(event: Event)
cocos/input/input.ts:345
↓ 9 callers
Method
_get
* @en * Gets an object from pool. * @zh 从对象池中获取一个对象。 * @returns @en An object or null if this pool doesn't contain any object. * @
cocos/core/utils/pool.ts:140
↓ 9 callers
Method
_getContentPosition
()
cocos/ui/scroll-view.ts:858
↓ 9 callers
Method
_getHeight
(x: number, y: number, verts: Float32Array)
cocos/terrain/terrain.ts:1060
↓ 9 callers
Method
_markRenderDataDirty
()
cocos/2d/framework/ui-transform.ts:764
↓ 9 callers
Method
_union
(needUpdateOwner: boolean)
cocos/tween/tween.ts:854
↓ 9 callers
Method
_updatePipeline
()
cocos/render-scene/scene/skybox.ts:364
↓ 9 callers
Function
a
(e)
templates/web-mobile/vconsole.min.js:10
↓ 9 callers
Method
addListener
(type: string, handler: (e: Event) => void)
cocos/video/video-player-impl-web.ts:56
↓ 9 callers
Function
addSubpassComputeViewImpl
native/cocos/renderer/pipeline/custom/NativeRenderGraphUtils.h:166
↓ 9 callers
Method
addView
native/cocos/renderer/gfx-validator/BufferValidator.cpp:179
↓ 9 callers
Method
alloc
* @en Take an object out of the object pool. * @zh 从对象池中取出一个对象。 * @return An object ready for use. This function always return an object.
native/cocos/core/memop/Pool.h:72
↓ 9 callers
Function
assert
(args, type, onProgress, onComplete, testName)
tests/asset-manager/resources.test.ts:121
↓ 9 callers
Method
async
* @en * Executes task asynchronously. * * @zh * 异步执行任务。 * * @param task @en The task will be executed. @zh 待执行的任务。
cocos/asset/asset-manager/pipeline.ts:252
↓ 9 callers
Method
begin
Returns an iterator pointing the first element of the Vector. */
native/cocos/base/RefVector.h:66
↓ 9 callers
Method
beginChangeStatesSilently
()
cocos/render-scene/core/pass.ts:593
↓ 9 callers
Method
bufferEvent
native/cocos/editor-support/dragonbones/core/DragonBones.cpp:70
↓ 9 callers
Function
callWithTuple
native/cocos/plugins/bus/EventBus.h:264
↓ 9 callers
Function
clamp16
* Clamp (aka hard limit or clip) a signed 32-bit sample to 16-bit range. */
native/cocos/audio/common/utils/include/primitives.h:507
↓ 9 callers
Method
clone
()
cocos/animation/marionette/state-machine/condition/condition-base.ts:10
↓ 9 callers
Function
cloneObject
(targetObject: T, originObj: T)
pal/utils.ts:33
↓ 9 callers
Method
constructor
* @en The constructor of the root, user shouldn't create the root instance, it's managed by the [[Director]]. * @zh 构造函数,用户不应该自己创建任何 Root 对象,它是由
cocos/root.ts:279
↓ 9 callers
Method
createDownloadTask
native/cocos/network/Downloader.cpp:129
↓ 9 callers
Function
createInnerAudioContextPolyfill
(minigameEnv: any, polyfillConfig: InnerAudioContextPolyfillConfig, isAsynchronous = false)
pal/utils.ts:54
↓ 9 callers
Method
createShader
native/cocos/renderer/gfx-base/GFXDevice.h:269
↓ 9 callers
Function
crossProduct2Vector
cross product of 2 vector. a->b X c->d
native/cocos/math/Vec2.cpp:58
↓ 9 callers
Function
degreesToRadians
(angle: number)
cocos/core/utils/misc.ts:248
↓ 9 callers
Method
delegate
native/cocos/bindings/jswrapper/v8/debugger/inspector_agent.cpp:741
↓ 9 callers
Function
deprecatedClassMessage
(oldClassName: string, newClassName)
cocos/core/geometry/deprecated-3.0.0.ts:174
↓ 9 callers
Method
destroyModel
* @en Destroy the given model * @zh 销毁指定的模型 * @param m @en The model to be destroyed @zh 要销毁的模型
cocos/root.ts:587
↓ 9 callers
Method
determinant
native/cocos/math/Mat4.cpp:615
↓ 9 callers
Method
divide
* @en Element-wise vector division and save the results to out vector object * @zh 逐元素向量除法
cocos/core/math/vec4.ts:163
↓ 9 callers
Function
drawTextureAt
(texture: DynamicAtlasTexture, image: ImageAsset, x: number, y: number)
cocos/2d/utils/dynamic-atlas/atlas.ts:34
↓ 9 callers
Function
edge
native/cocos/renderer/pipeline/custom/RenderGraphGraphs.h:66
↓ 9 callers
Method
endChangeStatesSilently
()
cocos/render-scene/core/pass.ts:599
↓ 9 callers
Method
equals
(transform, textureHash, samplerHash)
cocos/2d/renderer/batcher-2d.ts:1136
↓ 9 callers
Function
errorID
native/cocos/core/platform/Debug.h:204
↓ 9 callers
Function
expectAnimationGraphEvalStatus
(graphEval: AnimationGraphEval, layerStatus: LayerStatusExpectation[])
tests/animation/newgenanim.test.ts:5524
↓ 9 callers
Function
fillMat4WithTempFloatArray
(out: IMat4Like)
cocos/scene-graph/utils.jsb.ts:32
↓ 9 callers
Function
findWithName
native/cocos/editor-support/spine/4.2/spine/ContainerUtil.h:43
↓ 9 callers
Method
finish
* Completes recording of the commands sequence and returns a corresponding {@link GPUCommandBuffer}. * descriptor:
@types/webGPU.d.ts:2249
↓ 9 callers
Function
floatToHalf
native/cocos/base/Utils.h:211
↓ 9 callers
Function
freezeVec3
(x: number, y: number, z: number)
cocos/core/math/vec3.ts:48
↓ 9 callers
Method
fromHEX
* @en Converts the hexadecimal formal color into rgb formal and save the results to out color. * the argument `hex` could be hex-string or hex-
cocos/core/math/color.ts:150
↓ 9 callers
Method
fromQuat
* @en Sets the given matrix with the given quaternion and save the results to out matrix * @zh 根据四元数旋转信息计算矩阵
cocos/core/math/mat3.ts:432
↓ 9 callers
Method
fromRTS
* @en Compose a matrix from scale, rotation and translation, applied in order. * @zh 根据旋转、位移、缩放信息计算矩阵,以 S->R->T 的顺序应用 * @deprecated Since 3.
cocos/core/math/mat4.ts:951
↓ 9 callers
Method
from_native
(self, convert_opts)
native/tools/bindings-generator/generator.py:662
↓ 9 callers
Function
g
(node: Node, generatedComponent: Transform)
tests/animation/new-gen-anim/utils/hierarchy-fixture.ts:237
↓ 9 callers
Function
getAccessType
native/cocos/renderer/gfx-vulkan/VKUtils.cpp:562
↓ 9 callers
Method
getBatchingScheme
native/cocos/scene/Pass.h:290
↓ 9 callers
Function
getCenter
native/cocos/scene/Octree.h:107
↓ 9 callers
Method
getChildByName
* @en Returns a child with the same name. * @zh 通过名称获取节点的子节点。 * @param name - A name to find the child node. * @return a CCNode object
cocos/scene-graph/node.ts:576
↓ 9 callers
Method
getColorTexture
native/cocos/renderer/pipeline/custom/NativeResourceGraph.cpp:39
↓ 9 callers
Method
getDescriptorGroupBlock
(key: string, descriptorDB: DescriptorDB)
cocos/rendering/custom/layout-graph-editor.ts:588
↓ 9 callers
Method
getDescriptorSetLayout
* @engineInternal
cocos/rendering/custom/pipeline.ts:1051
↓ 9 callers
Method
getDescriptors
(v: number)
cocos/rendering/custom/layout-graph.ts:356
↓ 9 callers
Method
getElementById
(id)
platforms/native/builtin/jsb-adapter/document.js:48
↓ 9 callers
Method
getEngine
native/cocos/application/CocosApplication.cpp:130
↓ 9 callers
Method
getFrameScale
native/tools/simulator/libsimulator/lib/ProjectConfig/ProjectConfig.cpp:196
↓ 9 callers
Method
getGeometryRenderer
native/cocos/renderer/pipeline/custom/NativePipeline.cpp:1547
↓ 9 callers
Method
getGpuBuffer
()
cocos/gfx/webgl2/webgl2-buffer.ts:43
↓ 9 callers
Method
getHeight
native/cocos/scene/Camera.h:266
↓ 9 callers
Method
getIndexBuffer
* @en Index buffer used by the sub mesh * @zh 使用的索引缓冲区,若未使用则无需指定。 */
native/cocos/core/assets/RenderingSubMesh.h:128
↓ 9 callers
Method
getLOD
* @en Get [[LOD]] at specific index position. * @zh 获取指定索引处的 [[LOD]] * @param index @en Range in [0, lodCount]. @zh 取值范围[0, lodCount] *
cocos/3d/lod/lodgroup-component.ts:404
↓ 9 callers
Method
getLength
native/cocos/3d/misc/BufferBlob.h:38
↓ 9 callers
Method
getLevelCount
native/cocos/renderer/gfx-wgpu/WGPUTexture.h:59
↓ 9 callers
Method
getModel
native/cocos/scene/Skybox.h:221
↓ 9 callers
Function
getMotionID
(motionIndex: number)
tests/animation/new-gen-anim/transition-sequence.test.ts:316
↓ 9 callers
Method
getOffset
native/cocos/renderer/gfx-wgpu/WGPUBuffer.h:43
↓ 9 callers
Function
getOrCreateDescriptorID
native/cocos/renderer/pipeline/custom/LayoutGraphUtils.cpp:120
↓ 9 callers
Function
getPipelineSceneData
native/cocos/renderer/pipeline/RenderPipeline.h:93
↓ 9 callers
Method
getResponseHeader
native/cocos/bindings/manual/jsb_xmlhttprequest.cpp:553
↓ 9 callers
Method
getSamplerInfo
(name: string)
cocos/rendering/custom/web-pipeline.ts:1419
↓ 9 callers
Method
getSequence
native/cocos/editor-support/spine/4.2/spine/MeshAttachment.cpp:153
↓ 9 callers
Method
getTransitionsBetween
* Gets the transitions between specified states. * @param from Transition source. * @param to Transition target. * @returns Iterator to
cocos/animation/marionette/animation-graph.ts:380
↓ 9 callers
Function
getTypeSize
* @en Get the memory size of the specified type. * @zh 得到 GFX 数据类型的大小。 * @param type The target type. */
native/cocos/renderer/gfx-base/GFXDef.cpp:632
↓ 9 callers
Method
getUint16
native/cocos/core/DataView.cpp:95
↓ 9 callers
Method
getUint8
(offset: number)
cocos/particle-2d/tiff-reader.ts:60
↓ 9 callers
Method
getValid
(v: number)
cocos/rendering/custom/render-graph.ts:1414
↓ 9 callers
Function
indent
native/cocos/renderer/pipeline/custom/details/DebugUtils.h:62
↓ 9 callers
Method
isCastShadow
native/cocos/scene/Model.h:186
↓ 9 callers
Function
isDimDefined
(node, axis)
platforms/minigame/openDataContext/engine.js:1518
↓ 9 callers
Method
isOne
native/cocos/math/Vec4.cpp:78
↓ 9 callers
Function
isPowerOfTwo
native/cocos/math/Math.h:64
↓ 9 callers
Method
moveTo
(x, y)
platforms/native/builtin/jsb-adapter/CanvasRenderingContext2D.js:64
↓ 9 callers
Function
nativevalue_to_se
native/cocos/bindings/manual/jsb_conversions_spec.cpp:1185
↓ 9 callers
Method
normalize
* @en * Normalizes a plane. * @zh * 归一化一个平面。 * @param out @en The object to be operated on. @zh 接受操作的对象。 * @param a @en Sourc
cocos/core/geometry/plane.ts:154
← previous
next →
1,501–1,600 of 39,311, ranked by callers