MCPcopy Create free account

hub / github.com/cocos/cocos4 / functions

Functions39,311 in github.com/cocos/cocos4

↓ 6 callersFunction_possibleConstructorReturn
(self, call)
platforms/minigame/openDataContext/engine.js:122
↓ 6 callersMethod_refresh
()
editor/inspector/utils/preview.js:226
↓ 6 callersMethod_setCtor
native/cocos/bindings/jswrapper/v8/Class.cpp:120
↓ 6 callersMethod_setLinearLimit
()
cocos/physics/physx/joints/physx-configurable-joint.ts:51
↓ 6 callersMethod_setOpacity
(opacity: number)
cocos/ui/scroll-bar.ts:369
↓ 6 callersFunction_setPrototypeOf
(o, p)
platforms/minigame/openDataContext/engine.js:118
↓ 6 callersMethod_setSwingLimit
()
cocos/physics/physx/joints/physx-configurable-joint.ts:96
↓ 6 callersMethod_setTwistLimit
()
cocos/physics/physx/joints/physx-configurable-joint.ts:124
↓ 6 callersMethod_triggerEvent
(type, ...args)
platforms/minigame/platforms/taobao/wrapper/builtin/WebSocket.js:107
↓ 6 callersMethod_triggerEvent
(type, ...args)
platforms/minigame/platforms/taobao-mini-game/wrapper/builtin/WebSocket.js:123
↓ 6 callersFunction_typeof
(obj)
platforms/minigame/openDataContext/engine.js:108
↓ 6 callersMethod_updateCastShadow
()
cocos/3d/framework/mesh-renderer.ts:1136
↓ 6 callersMethod_updateGraphics
()
cocos/2d/components/mask.ts:457
↓ 6 callersMethod_updateModels
()
cocos/3d/framework/mesh-renderer.ts:910
↓ 6 callersMethod_updatePipeline
()
cocos/rendering/debug-view.ts:232
↓ 6 callersMethod_updateUseReflectionProbe
()
cocos/3d/framework/mesh-renderer.ts:1217
↓ 6 callersFunctionabsDot
(n: Vec3, x: number, y: number, z: number)
cocos/core/geometry/intersect.ts:808
↓ 6 callersFunctionabsolute
(v: Vec3)
cocos/physics/utils/util.ts:94
↓ 6 callersMethodaddAction
native/cocos/editor-support/dragonbones/model/DisplayData.cpp:57
↓ 6 callersFunctionaddPassComputeViewImpl
native/cocos/renderer/pipeline/custom/NativeRenderGraphUtils.h:144
↓ 6 callersMethodaddPersistRootNode
* @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 callersMethodaddQuad
(v0: Vec3, v1: Vec3, v2: Vec3, v3: Vec3, color: Color, wireframe = true, depthTest = true, unlit = false)
cocos/rendering/geometry-renderer.ts:384
↓ 6 callersMethodalloc
* @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 callersMethodalloc
native/cocos/renderer/gfx-vulkan/VKGPUObjects.h:501
↓ 6 callersMethodanimate
(p: Particle, dt?: number)
cocos/particle/particle.ts:146
↓ 6 callersMethodappend
native/cocos/renderer/gfx-vulkan/VKCommands.cpp:339
↓ 6 callersFunctionapply
native/cocos/editor-support/spine/4.2/spine/MathUtil.h:120
↓ 6 callersMethodapplyLocalForce
(force: IVec3Like, relativePoint?: IVec3Like)
cocos/physics/spec/i-rigid-body.ts:65
↓ 6 callersMethodasString
native/cocos/base/Value.cpp:608
↓ 6 callersFunctionassertOrder
(firstComp, lastComp, method)
tests/core/test-component-scheduler.js:760
↓ 6 callersFunctionassertivelyGetGraphVariable
(graph: AnimationGraph, name: string)
tests/animation/newgenanim.test.ts:5403
↓ 6 callersMethodatan2
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 callersMethodbeginChangeStatesSilently
native/cocos/renderer/core/PassInstance.cpp:97
↓ 6 callersMethodbindAuxiliaryCurve
* Binds an auxiliary curve. * @param curveName Curve name.
cocos/animation/marionette/animation-graph-animation-clip-binding.ts:49
↓ 6 callersMethodbindContext
native/cocos/renderer/gfx-gles2/GLES2Device.cpp:293
↓ 6 callersFunctionbindTexture
native/cocos/renderer/gfx-base/GFXDescriptorSet.h:63
↓ 6 callersMethodbindTransform
* 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 callersMethodblend
(value: Readonly<TValue>, weight: number)
cocos/3d/skeletal-animation/skeletal-animation-blending.ts:156
↓ 6 callersFunctionblend1D
(weights: number[], thresholds: readonly number[], value: number)
cocos/animation/marionette/motion/blend-1d.ts:25
↓ 6 callersMethodblendColor
()
cocos/gfx/base/pipeline-sub-state.jsb.ts:610
↓ 6 callersMethodbody
()
cocos/physics-2d/box2d/joints/joint-2d.ts:38
↓ 6 callersFunctioncacheUnderlyingData
* cache native object's `underlyingData()` result in __data
cocos/core/geometry/geometry-native-ext.ts:63
↓ 6 callersFunctioncallSkeletonPreviewFunction
(funcName, ...args)
editor/inspector/assets/skeleton-preview.js:47
↓ 6 callersMethodcancel
native/cocos/base/Scheduler.cpp:120
↓ 6 callersMethodcbrt
(x)
cocos/spine/lib/spine-core.js:159
↓ 6 callersMethodcheckGLError
(String operation)
native/cocos/platform/android/libcocosxr/src/com/cocos/lib/xr/CocosXRGLHelper.java:109
↓ 6 callersFunctioncheckMetaData
native/cocos/audio/android/AudioDecoderSLES.cpp:66
↓ 6 callersFunctioncheckZero
()
tests/animation/new-gen-anim/state-machine-event-binding.test.ts:108
↓ 6 callersMethodclearBlack
()
cocos/rendering/post-process/utils/pass-context.ts:71
↓ 6 callersMethodclearCmds
native/cocos/renderer/gfx-gles2/GLES2Commands.h:147
↓ 6 callersMethodclearCmds
native/cocos/renderer/gfx-gles3/GLES3Commands.h:199
↓ 6 callersMethodclearDynamicRenderDrawInfos
native/cocos/2d/renderer/RenderEntity.cpp:68
↓ 6 callersMethodclearForces
()
cocos/physics/spec/i-rigid-body.ts:52
↓ 6 callersMethodclearVelocity
()
cocos/physics/spec/i-rigid-body.ts:53
↓ 6 callersMethodcode
()
platforms/native/builtin/jsb-adapter/MediaError.js:11
↓ 6 callersFunctioncolorEqualTest
(color1: Color, color2: Color)
tests/core/math/color.test.ts:4
↓ 6 callersMethodcolors
native/cocos/renderer/pipeline/custom/RenderGraphTypes.h:1082
↓ 6 callersMethodcommit
native/cocos/3d/assets/MorphRendering.cpp:319
↓ 6 callersMethodcompile
native/cocos/renderer/frame-graph/FrameGraph.cpp:116
↓ 6 callersMethodcomputeHit
* @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 callersFunctionconvert_js_args_to_tuple
NOLINTNEXTLINE
native/cocos/bindings/sebind/intl/common.h:355
↓ 6 callersMethodcopyPlatformTemplate
()
scripts/native-pack-tool/source/platforms/android.ts:46
↓ 6 callersMethodcopyWithin
* 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 callersMethodcreate
(origin: Node, bindContext: BindContext)
tests/animation/new-gen-anim/pose-graph/pose-nodes/utils/evaluation-mock.ts:58
↓ 6 callersMethodcreate
native/cocos/physics/physx/character-controllers/PhysXBoxCharacterController.cpp:55
↓ 6 callersMethodcreateCommandEncoder
* Creates a {@link GPUCommandEncoder}. * @param descriptor - Description of the {@link GPUCommandEncoder} to create.
@types/webGPU.d.ts:2548
↓ 6 callersMethodcreateData
(comp: UIRenderer)
cocos/2d/renderer/base.ts:38
↓ 6 callersFunctioncreateInvokeImpl
(singleInvoke, fastPath, ensureFlag?)
cocos/scene-graph/component-scheduler.ts:248
↓ 6 callersFunctioncreateLODGroup
()
tests/core/components/lod-group.test.ts:214
↓ 6 callersFunctioncreateMap
(forceDictMode?: boolean)
cocos/core/utils/js-typed.ts:218
↓ 6 callersFunctioncreateOnlyOnLoadComp
(node, name)
tests/core/test-component-scheduler.js:301
↓ 6 callersFunctioncreatePool
(Constructor: new() => T)
cocos/rendering/custom/types.ts:395
↓ 6 callersMethodcreatePort
()
cocos/animation/marionette/motion/motion.ts:63
↓ 6 callersFunctioncreateVariableBindingView
( object: { [_x in T]: string; }, key: T, acceptableTypes: VariableType | VariableType[], )
editor/src/marionette/variable-binding.ts:55
↓ 6 callersMethoddata
native/cocos/renderer/gfx-vulkan/VKGPUObjects.h:522
↓ 6 callersMethoddecRef
native/cocos/bindings/jswrapper/napi/Object.cpp:771
↓ 6 callersMethoddecompress
(storage: CompactValueTypeArrayStorage, index: number)
cocos/core/data/utils/compact-value-type-array.ts:173
↓ 6 callersFunctiondefaultAttachment
native/cocos/renderer/pipeline/custom/NativeRenderGraphUtils.h:213
↓ 6 callersFunctiondefined
(name: string)
tests/constants-for-test.ts:6
↓ 6 callersFunctiondepthFirstSearch
( g: IncidenceGraph & VertexListGraph, visitor: GraphVisitor, color: MutableVertexPropertyMap<Grap
cocos/rendering/custom/graph.ts:680
↓ 6 callersMethoddestroy
()
cocos/scene-graph/node.ts:1367
↓ 6 callersFunctiondirname
native/cocos/core/utils/Path.cpp:118
↓ 6 callersMethoddispatchEventToScript
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 callersFunctiondownSize
(size: number, scale: number)
editor/assets/default_renderpipeline/builtin-pipeline.ts:991
↓ 6 callersMethoddpToPixel
(int dp)
native/cocos/platform/android/java/src/com/cocos/lib/CocosEditBoxActivity.java:331
↓ 6 callersMethodendChangeStatesSilently
native/cocos/renderer/core/PassInstance.cpp:101
↓ 6 callersMethodendElement
native/cocos/platform/SAXParser.cpp:119
↓ 6 callersMethodendRenderPass
native/cocos/renderer/gfx-wgpu/WGPUCommandBuffer.cpp:212
↓ 6 callersFunctionequals
(a: IVec2Like, b: IVec2Like)
cocos/physics-2d/framework/utils/polygon-partition.ts:126
↓ 6 callersMethodevalString
native/cocos/bindings/jswrapper/v8/ScriptEngine.cpp:672
↓ 6 callersMethodevaluate
(context: ConditionEvaluationContext)
cocos/animation/marionette/state-machine/condition/binding/binding.ts:45
↓ 6 callersMethodevent
(entry: TrackEntry, event: Event)
cocos/spine/lib/spine-core.d.ts:452
↓ 6 callersFunctionexpectToBeCloseToVec3
(actual: Readonly<Vec3>, expected: Readonly<Vec3>)
tests/value-types/vec3.test.ts:61
↓ 6 callersFunctionexpectVec3CloseTo
(input: Readonly<Vec3>, expected: Readonly<Vec3>)
tests/animation/exotic-animation/exotic-animation.test.ts:417
↓ 6 callersFunctionextendType
(proto: any, parentProto: any, typ: MathType)
cocos/core/math/math-native-ext.ts:58
↓ 6 callersFunctionextname
(path: string)
cocos/core/utils/path.ts:55
↓ 6 callersFunctionfastRemoveAt
(array: T[], index: number)
cocos/core/utils/array.ts:115
↓ 6 callersFunctionfindSkewAndGetOriginalWorldMatrix
(node: Node | null, out: Mat4)
cocos/2d/framework/ui-skew-utils.ts:39
↓ 6 callersMethodfinite
* Generates a finite number. * @order The order(max mag).
tests/utils/random.ts:31
↓ 6 callersMethodflushBuffer
native/cocos/renderer/gfx-base/GFXBuffer.cpp:101
← previousnext →2,101–2,200 of 39,311, ranked by callers