MCPcopy Create free account

hub / github.com/cocos/cocos4 / functions

Functions39,311 in github.com/cocos/cocos4

↓ 58 callersFunctiono
(n)
templates/web-mobile/vconsole.min.js:10
↓ 58 callersMethodreturnToPool
native/cocos/editor-support/dragonbones/core/BaseObject.cpp:115
↓ 57 callersMethodEnv
native/cocos/platform/openharmony/napi/napi-inl.h:459
↓ 57 callersMethodGetString
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:7662
↓ 57 callersFunctioncreateAnimationGraphEval
(animationGraph: AnimationGraph | AnimationGraphVariant, node: Node)
tests/animation/newgenanim.test.ts:5596
↓ 57 callersMethodisolate
native/cocos/bindings/jswrapper/v8/debugger/env.h:321
↓ 57 callersMethodlerp
* 在当前曲线值与目标曲线值之间插值。 * @param to 目标曲线值。 * @param t 插值比率。 * @param dt 当前曲线值与目标曲线值的时间间隔,单位为秒。 * @returns 插值结果。
cocos/animation/types.ts:104
↓ 57 callersMethodquerySettings
* @zh * 查询配置模块中具体分组中的具体配置值。 * * @en * Query specific configuration values in specific category in the settings module. *
cocos/core/settings.ts:172
↓ 56 callersMethodclearException
native/cocos/bindings/jswrapper/v8/ScriptEngine.cpp:945
↓ 56 callersFunctioncocos2BulletVec3
(out: Bullet.ptr, v: IVec3Like)
cocos/physics/bullet/bullet-utils.ts:31
↓ 56 callersFunctionexpectAnimationGraphEvalStatusLayer0
(graphEval: AnimationGraphEval, status: LayerStatusExpectation)
tests/animation/newgenanim.test.ts:5531
↓ 56 callersMethodfullPathForFilename
native/cocos/platform/FileUtils.cpp:660
↓ 56 callersFunctioninit
native/cocos/platform/mac/KeyCodeHelper.cpp:171
↓ 55 callersFunction__webpack_require__
(moduleId)
platforms/minigame/openDataContext/engine.js:7
↓ 55 callersMethodaddRenderPass
* @en Add render pass * @zh 添加渲染通道 * @param width @en Width of the render pass @zh 渲染通道的宽度 * @param height @en Height of the render pas
cocos/rendering/custom/pipeline.ts:1611
↓ 55 callersMethodaddVariable
* Adds a variable into this graph. * @param name The variable's name. * @param type The variable's type. * @param initialValue Initial
cocos/animation/marionette/animation-graph.ts:941
↓ 55 callersMethodgetFormatFeatures
native/cocos/renderer/gfx-wgpu/WGPUDevice.h:114
↓ 55 callersMethodgetWidth
native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h:297
↓ 55 callersMethodresize
native/cocos/base/Data.cpp:104
↓ 55 callersFunctionto_string
native/cocos/editor-support/dragonbones/core/DragonBones.h:330
↓ 54 callersMethodbind
(context: AnimationGraphBindingContext)
tests/animation/new-gen-anim/pose-graph/utils/misc.ts:76
↓ 54 callersMethodgetPipelineSceneData
native/cocos/core/Root.cpp:222
↓ 54 callersFunctionlocate
native/cocos/renderer/pipeline/custom/LayoutGraphGraphs.h:1060
↓ 54 callersMethodremoveAttribute
(attrName)
platforms/native/builtin/jsb-adapter/Element.js:29
↓ 54 callersFunctionset_member_field
native/cocos/bindings/manual/jsb_conversions_spec.cpp:72
↓ 53 callersMethodbindTexture
* @en Bind a GFX [[gfx.Texture]] the given uniform binding * @zh 绑定实际 GFX [[gfx.Texture]] 到指定 binding。 * @param binding The binding for targ
cocos/render-scene/core/pass.ts:320
↓ 53 callersMethodhasFeature
(feature: Feature)
pal/system-info/web/system-info.ts:355
↓ 53 callersMethodmax
native/cocos/math/Vec3.cpp:374
↓ 53 callersFunctiononComplete
()
cocos/tween/tween-progress.ts:78
↓ 52 callersMethodaddRegisterCallback
native/cocos/bindings/jswrapper/v8/ScriptEngine.cpp:572
↓ 52 callersMethodbind
(listener: TrackEntryListeners)
cocos/spine/skeleton-cache.ts:257
↓ 52 callersFunctionformatSize
native/cocos/renderer/gfx-base/GFXDef.cpp:412
↓ 52 callersMethodnormalize
* @en Sets the normalized vector to the out vector, returns a zero vector if input is a zero vector. * @zh 归一化向量,输入零向量将会返回零向量。
cocos/core/math/vec4.ts:368
↓ 52 callersFunctionparseFloat
native/cocos/base/csscolorparser.cpp:228
↓ 52 callersMethodquerySelector
(query)
platforms/native/builtin/jsb-adapter/document.js:77
↓ 52 callersMethodreadFile
native/cocos/network/HttpCookie.cpp:32
↓ 52 callersMethodremoveEventListener
* @en Remove the event listener for the DragonBones Event. * @zh 移除 DragonBones 事件监听器。 * @method removeEventListener * @param eventType
cocos/dragon-bones/ArmatureDisplay.ts:1443
↓ 52 callersFunctiontoColor
native/cocos/editor-support/spine/4.2/spine/SkeletonJson.cpp:79
↓ 52 callersMethodtransformQuat
* @en Vector quaternion multiplication * @zh 向量四元数乘法
cocos/core/math/vec4.ts:477
↓ 51 callersMethodfindIndex
* @ignore * @param optKey * @param t
cocos/core/geometry/curve.ts:317
↓ 51 callersMethodgetScene
native/cocos/scene/Model.h:230
↓ 51 callersMethodsetContentSize
(size: Size | number, height?: number)
cocos/2d/framework/ui-transform.ts:320
↓ 50 callersMethodGet
native/cocos/bindings/jswrapper/jsvm-v8-backend/js_native_api_v8.cc:1334
↓ 50 callersMethodGetRecorder
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:7833
↓ 50 callersMethodIsString
native/cocos/platform/openharmony/napi/napi-inl.h:668
↓ 50 callersMethodattr
* @en * Properties configuration function. * All properties in attrs will be set to the node, * when the setter of the node is availabl
cocos/scene-graph/node.ts:464
↓ 50 callersMethodcontains
(key: Key)
cocos/rendering/custom/graph.ts:445
↓ 50 callersMethodcreate
* @en * Creates a new ray. * @zh * 创建一条射线。 * @param {number} ox @en The x component of start point. @zh 起点的 x 部分。 * @param {n
cocos/core/geometry/ray.ts:50
↓ 50 callersMethodcreateMotion
(context: CreateMotionContext)
tests/animation/new-gen-anim/utils/fixtures.ts:26
↓ 50 callersFunctiongetError
(errorId: number, ...param: StringSubstitution[])
cocos/core/platform/debug.ts:362
↓ 50 callersMethodnext
()
cocos/rendering/custom/graph.ts:189
↓ 50 callersMethodsetString
native/cocos/bindings/jswrapper/Value.cpp:354
↓ 49 callersMethodexit
native/cocos/platform/UniversalPlatform.cpp:82
↓ 49 callersMethodgetHeight
native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h:298
↓ 49 callersMethodgetWorldScale
* @en Get scale in world coordinate system, please try to pass `out` vector and reuse it to avoid garbage. * @zh 获取世界缩放,注意,尽可能传递复用的 [[Vec3]] 以避免产
cocos/scene-graph/node.ts:2826
↓ 49 callersMethodisUndefined
* @brief Tests whether se::Value stores an undefined value. * @return true if se::Value stores an undefined value, otherwise false. */
native/cocos/bindings/jswrapper/Value.h:451
↓ 49 callersMethodnormalize
native/cocos/math/Vec3.cpp:350
↓ 48 callersMethodceil
* @en Rounds up by elements of the vector and save the results to out vector object * @zh 逐元素向量向上取整
cocos/core/math/vec4.ts:175
↓ 48 callersMethodisValid
static */
native/cocos/engine/Engine.cpp:118
↓ 48 callersMethodrunSceneImmediate
* @en * Run a scene. Replaces the running scene with a new one or enter the first scene.<br> * The new scene will be launched immediately.
cocos/game/director.ts:394
↓ 47 callersMethodgetContext
( contextId: | 'webgpu' )
@types/webGPU.d.ts:17
↓ 47 callersMethodgetFormat
native/cocos/core/assets/ImageAsset.cpp:121
↓ 47 callersMethodisNumber
* @brief Tests whether se::Value stores a number. * @return true if se::Value stores a number, otherwise false. */
native/cocos/bindings/jswrapper/Value.h:421
↓ 47 callersFunctionlogID
(id: number, ...optionalParams: StringSubstitution[])
cocos/core/platform/debug.ts:275
↓ 47 callersFunctionparent
AddressableGraph
native/cocos/renderer/pipeline/custom/RenderGraphGraphs.h:379
↓ 47 callersMethodset
(callback: AnyFunction, target?: unknown, once?: boolean)
templates/harmonyos-next/entry/src/main/ets/common/CallbacksInvoker.ts:64
↓ 47 callersMethodset
native/cocos/editor-support/spine-wasm/spine-model.h:10
↓ 47 callersMethodsetScale
* @en * Scales this OBB by a 3d-vector and store the result to the `out` parameter. * @zh * 根据 3D 向量对此 OBB 的数据进行缩放并将结果存储在 out 参数中。
cocos/core/geometry/obb.ts:335
↓ 47 callersMethodstrictEquals
* @en Check the equality of the two given vectors * @zh 向量等价判断
cocos/core/math/vec4.ts:530
↓ 46 callersMethodSize
native/cocos/math/Geometry.cpp:40
↓ 46 callersMethodaddRenderTarget
* @en Add or update 2D render target. * @zh 添加或更新2D渲染目标 * @param name @en Resource name @zh 资源名字 * @param format @en Format of the reso
cocos/rendering/custom/pipeline.ts:775
↓ 46 callersMethodbegin
native/cocos/editor-support/spine/3.8/spine/VertexEffect.cpp:47
↓ 46 callersMethodinsert
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:6016
↓ 46 callersMethodrelease
native/cocos/base/RefCounted.cpp:58
↓ 46 callersMethods
()
cocos/rendering/custom/archive.ts:40
↓ 46 callersMethodset
native/cocos/core/geometry/Ray.cpp:52
↓ 45 callersMethoddisable
native/cocos/scene/ReflectionProbe.cpp:213
↓ 45 callersMethodemit
* @zh 派发一个指定事件,并传递需要的参数 * @en Trigger an event directly with the event name and necessary arguments. * @param type - event type * @para
templates/harmonyos-next/entry/src/main/ets/common/Eventify.ts:135
↓ 45 callersFunctionoverrideDefineArrayProp
(prototype: any, getPropVector: any, name: string)
cocos/spine/lib/spine-define.ts:38
↓ 44 callersMethodchannels
* @en The width channel and the height channel of the track. * @zh 返回此轨道的宽度通道和高度通道。 * @returns An readonly array in which * the first e
cocos/animation/tracks/size-track.ts:57
↓ 44 callersFunctiondecode
(body)
platforms/native/builtin/jsb-adapter/fetch.js:342
↓ 44 callersMethodgetData
Getters
native/cocos/platform/Image.h:77
↓ 44 callersMethodgetDescriptorSet
native/cocos/renderer/pipeline/deferred/ReflectionComp.h:59
↓ 44 callersMethodgetDescriptorSet
native/cocos/renderer/pipeline/custom/NativePipeline.cpp:1287
↓ 44 callersMethodgetWorldRotation
* @en Get rotation as quaternion in world coordinate system, please try to pass `out` quaternion and reuse it to avoid garbage. * @zh 获取世界坐标系下的旋转
cocos/scene-graph/node.ts:2725
↓ 44 callersFunctionisEqualF
native/cocos/math/Math.h:68
↓ 44 callersFunctionrandom
()
cocos/core/math/utils.ts:130
↓ 44 callersMethodunroot
native/cocos/bindings/jswrapper/v8/Object.cpp:1096
↓ 43 callersMethodaddVertex
(...args)
cocos/rendering/custom/graph.ts:339
↓ 43 callersFunctionalignTo
native/cocos/base/Utils.h:111
↓ 43 callersFunctionapprox
(a: number, b: number, maxDiff?: number)
cocos/core/math/utils.ts:67
↓ 43 callersFunctiondebug
(...data: unknown[])
cocos/core/platform/debug.ts:114
↓ 43 callersMethodfromEuler
* @en Calculates the quaternion with Euler angles, the rotation order is YZX, first rotate around Y, then around Z, and finally around X. * @zh 根
cocos/core/math/quat.ts:557
↓ 43 callersMethodgetCreateMotionContext
()
tests/animation/new-gen-anim/utils/single-real-value-observer.ts:28
↓ 43 callersMethodlastIndexOf
native/cocos/editor-support/spine/4.2/spine/SpineString.cpp:213
↓ 43 callersFunctionregisterInterface
* @brief Registration system interface. */
native/cocos/platform/BasePlatform.h:135
↓ 43 callersMethodreverse
(otherTweenOrId?: Tween<U> | number, id?: number)
cocos/tween/tween.ts:202
↓ 43 callersMethodset
* @en * Sets the components of a ray to the given values. * @zh * 将给定射线的属性设置为给定的值。 * @param out @en The Ray object to be modified
cocos/core/geometry/ray.ts:119
↓ 43 callersMethodupdateWorldTransform
native/cocos/core/scene-graph/Node.cpp:474
↓ 42 callersFunctionceilDiv
native/cocos/renderer/gfx-base/GFXDef.cpp:410
← previousnext →301–400 of 39,311, ranked by callers