MCPcopy Create free account

hub / github.com/cocos/cocos4 / functions

Functions39,311 in github.com/cocos/cocos4

↓ 10 callersMethodadjustTransitionPriority
* @en * Adjusts the priority of a transition. * * To demonstrate, one can imagine a transition array sorted by their priority. * -
cocos/animation/marionette/animation-graph.ts:638
↓ 10 callersMethodappendChild
(node)
platforms/minigame/platforms/taobao/wrapper/builtin/Node.js:10
↓ 10 callersMethodappendChild
(node)
platforms/nodejs/builtin/node-adapter/Node.js:11
↓ 10 callersFunctionassertsResult_positiveSign
(a: Readonly<Vec3>, b: Readonly<Vec3>, normal: Readonly<Vec3>)
tests/core/math/vec3.test.ts:312
↓ 10 callersFunctionassertsResult_zero
(a: Readonly<Vec3>, b: Readonly<Vec3>, normal: Readonly<Vec3>)
tests/core/math/vec3.test.ts:322
↓ 10 callersMethodattachObject
native/cocos/bindings/jswrapper/v8/Object.cpp:1114
↓ 10 callersMethodautoMergeBatches
* @en * End a section of render data and submit according to the batch condition. * * @zh * 根据合批条件,结束一段渲染数据并提交。
cocos/2d/renderer/batcher-2d.ts:678
↓ 10 callersMethodbezierCurveTo
(c1x: number, c1y: number, c2x: number, c2y: number, x: number, y: number)
cocos/2d/assembler/graphics/webgl/impl.ts:120
↓ 10 callersMethodcollect
native/cocos/renderer/gfx-vulkan/VKGPURecycleBin.cpp:28
↓ 10 callersMethodconvertToLocationInView
* @en Returns the real location in view for a translation based on a related position * @zh 将屏幕坐标转换为游戏视图下的坐标。 * @param tx - The X axis trans
cocos/ui/view.ts:568
↓ 10 callersFunctioncreateClipSheet
* A clip sheet contains a well-created animation clip object * and provide utilities to verify sample result.
tests/animation/newgenanim.test.ts:5458
↓ 10 callersMethodcreateInputAssembler
native/cocos/renderer/gfx-base/GFXDevice.h:275
↓ 10 callersFunctiondetachFromList
native/cocos/core/event/intl/List.h:53
↓ 10 callersMethoddetachFromScene
()
cocos/particle/billboard.ts:223
↓ 10 callersMethoddot
dot() returns the dot product: v1 dot v2.
native/cocos/gi/light-probe/tetgen.h:3579
↓ 10 callersMethoderror
()
platforms/nodejs/builtin/node-adapter/HTMLMediaElement.js:61
↓ 10 callersFunctioneveryInstanceOf
(array: unknown[], constructor: Constructor<T>)
cocos/animation/legacy-clip-data.ts:477
↓ 10 callersFunctionexecSync
(cmd, workPath)
native/gulpfile.js:40
↓ 10 callersFunctionexpectPriority
(transitions: Transition[])
tests/animation/newgenanim.test.ts:356
↓ 10 callersFunctionfail
(err)
templates/taobao-creative-app/pages/index/index.js:42
↓ 10 callersMethodfillText
native/cocos/platform/qnx/modules/CanvasRenderingContext2DDelegate.cpp:141
↓ 10 callersMethodfireEvent
native/cocos/network/SocketIO.cpp:956
↓ 10 callersFunctionformatAlignment
native/cocos/renderer/gfx-base/GFXDef.cpp:505
↓ 10 callersMethodfreeCmds
(cmds: CachedArray<T>)
cocos/gfx/webgpu/webgpu-command-allocator.ts:80
↓ 10 callersFunctionfreezeColor
(r: number, g: number, b: number, a: number)
cocos/core/math/color.ts:45
↓ 10 callersMethodfromRT
* @en Calculates the transform representing the combination of a rotation and a translation, and stores the result in out. * The order is rotatio
cocos/core/math/mat4.ts:745
↓ 10 callersFunctiongenRenderObject
native/cocos/renderer/pipeline/SceneCulling.cpp:55
↓ 10 callersFunctionget
native/cocos/renderer/pipeline/custom/details/GraphView.h:203
↓ 10 callersFunctiongetAccessTypes
native/cocos/renderer/gfx-vulkan/VKUtils.cpp:574
↓ 10 callersFunctiongetActionManager
()
cocos/tween/tween.ts:85
↓ 10 callersMethodgetBindings
* @zh * 获取此结点上的所有的绑定。 * @en * Gets all bindings on this node. * @returns @zh 绑定对象数组。 @en The binding objects array.
cocos/animation/marionette/pose-graph/foundation/node-shell.ts:41
↓ 10 callersMethodgetBoundingBoxToWorld
* @en * Returns an axis aligned bounding box of this node in world space coordinate. * The bounding box contains self and active children's
cocos/2d/framework/ui-transform.ts:625
↓ 10 callersMethodgetComponentInChildren
(typeOrClassName: string | Constructor<T> | AbstractedConstructor<T>)
cocos/scene-graph/node.ts:975
↓ 10 callersMethodgetEntryFile
native/tools/simulator/libsimulator/lib/runtime/ConfigParser.cpp:134
↓ 10 callersMethodgetFrameSize
* @en * Returns the frame size of the view in CSS pixels.<br/> * On native platforms, it returns the screen size since the view is a fullscr
cocos/ui/view.ts:316
↓ 10 callersMethodgetGeneralBarrier
native/cocos/renderer/gfx-base/GFXDevice.cpp:107
↓ 10 callersFunctiongetImplPtr
(wasmObject: any)
cocos/physics-2d/box2d-wasm/instantiated.ts:35
↓ 10 callersMethodgetInstance
Get the instance of JsbBridgetWrapper
native/cocos/platform/ohos/libcocos/src/main/java/com/cocos/lib/JsbBridgeWrapper.java:38
↓ 10 callersMethodgetInt32
native/cocos/core/DataView.cpp:123
↓ 10 callersMethodgetLocation
* @en Returns the current touch location in OpenGL coordinates.、 * @zh 获取当前触点位置。 * @param out - Pass the out object to avoid object creation
cocos/input/types/touch.ts:60
↓ 10 callersFunctiongetMarginAxis
(node, axis)
platforms/minigame/openDataContext/engine.js:1421
↓ 10 callersMethodgetModel
* @en Get trail model * @zh 获取拖尾模型 * @return Model of this trail and type is scene.Model
cocos/particle/renderer/trail.ts:312
↓ 10 callersMethodgetNormal
* @en get normal * @zh 获得法线
cocos/terrain/terrain.ts:1931
↓ 10 callersMethodgetObjectID
native/cocos/physics/sdk/RigidBody.cpp:188
↓ 10 callersFunctiongetOrCreatePropertyStash
( target: Parameters<LegacyPropertyDecorator>[0], propertyKey: Parameters<LegacyPropertyDecorator>[1],
cocos/core/data/decorators/property.ts:160
↓ 10 callersMethodgetPrivateObject
native/cocos/bindings/jswrapper/v8/Object.cpp:753
↓ 10 callersMethodgetRight
native/cocos/core/scene-graph/Node.h:449
↓ 10 callersMethodgetSampler
(info: Readonly<SamplerInfo>)
cocos/gfx/webgl/webgl-device.ts:549
↓ 10 callersFunctiongetShapeTypeEnumName
(enumValue: number)
cocos/particle/emitter/shape-module.ts:38
↓ 10 callersFunctiongetSpecRandomInt
(low, high)
tests/core/test-serialize-node.js:9
↓ 10 callersMethodgetStringFromFile
native/cocos/platform/FileUtils.cpp:551
↓ 10 callersMethodgetUint16
(offset: number)
cocos/particle-2d/tiff-reader.ts:64
↓ 10 callersMethodgetVisFlags
native/cocos/scene/Model.h:225
↓ 10 callersMethodgetVisibleOrigin
* @en Returns the visible origin of the view port. * @zh 返回视图窗口可见区域原点。
cocos/ui/view.ts:364
↓ 10 callersMethodgetVisibleOriginInPixel
* @en Returns the visible origin of the view port. * @zh 返回视图窗口可见区域像素原点。
cocos/ui/view.ts:372
↓ 10 callersMethodgetWidth
native/cocos/scene/Camera.h:265
↓ 10 callersMethodgpuRecycleBin
native/cocos/renderer/gfx-vulkan/VKDevice.cpp:733
↓ 10 callersFunctionidentity
* - Convert to unit matrix. * The resulting matrix has the following properties: a=1, b=0, c=0, d=1, tx=0, ty=0. * @version DragonBones 3.0
native/cocos/editor-support/dragonbones/geom/Matrix.h:156
↓ 10 callersMethodincRef
native/cocos/bindings/jswrapper/RefCounter.cpp:30
↓ 10 callersMethodindexOf
native/cocos/editor-support/spine/4.2/spine/Atlas.cpp:122
↓ 10 callersMethodinitialize
* @en Initialize this material with the given information. * @zh 根据所给信息初始化这个材质,初始化正常结束后材质即可立即用于渲染。 * @param info @en Material description in
cocos/asset/assets/material.ts:207
↓ 10 callersFunctionisAnimationTransition
(transition: TransitionView)
cocos/animation/marionette/animation-graph.ts:185
↓ 10 callersFunctionisUndefined
(value)
platforms/minigame/openDataContext/engine.js:1247
↓ 10 callersFunctionlength
native/cocos/editor-support/IOBuffer.h:157
↓ 10 callersMethodlength
* @en Calculates the length of the line. * @zh 计算线段的长度。 * @returns @en The length of the line. @zh 线段的长度。
cocos/core/geometry/line.ts:181
↓ 10 callersFunctionmapVkFormat
native/cocos/renderer/gfx-vulkan/VKUtils.cpp:43
↓ 10 callersMethodmerge
( rate: UpdateFrequency, order: DescriptorTypeOrder, infoArray: EffectAsset.IBlockInfo
cocos/rendering/custom/layout-graph-editor.ts:450
↓ 10 callersMethodmove
(value: MovePass)
cocos/rendering/custom/render-graph.ts:1206
↓ 10 callersMethodnegate
native/cocos/math/Mat4.cpp:848
↓ 10 callersMethodnumber
native/tools/simulator/libsimulator/lib/protobuf-lite/google/protobuf/extension_set.h:849
↓ 10 callersMethodonKeyboardComplete
(String text)
native/cocos/platform/android/java/src/com/cocos/lib/CocosEditBoxActivity.java:478
↓ 10 callersMethodonPause
templates/common/Classes/Game.cpp:59
↓ 10 callersFunctionreal_type
native/tools/simulator/libsimulator/lib/protobuf-lite/google/protobuf/extension_set.cc:57
↓ 10 callersMethodremoveModel
* @en Remove a model, model removed will no longer be submitted for rendering. * @zh 删除一个模型,移除的模型将不再被提交渲染。 * @param m The model.
cocos/render-scene/core/render-scene.ts:511
↓ 10 callersMethodrequestRenderData
()
cocos/2d/assembler/graphics/webgl/impl.ts:202
↓ 10 callersMethodreserve
(size: number)
cocos/terrain/terrain-asset.ts:60
↓ 10 callersMethodresource
native/cocos/renderer/pipeline/custom/FGDispatcherTypes.h:310
↓ 10 callersMethodruOnUIThreadSync
(final Runnable r)
native/cocos/platform/ohos/libcocos/src/main/java/com/cocos/lib/CocosHelper.java:294
↓ 10 callersMethodsend
native/cocos/bindings/manual/jsb_xmlhttprequest.cpp:283
↓ 10 callersMethodsetFilters
* @en Sets the texture's filter mode. * @zh 设置此贴图的过滤算法。 * @param minFilter @en Filter mode for scale down. @zh 贴图缩小时使用的过滤模式。 * @param m
cocos/asset/assets/texture-base.ts:226
↓ 10 callersMethodsetInt16
native/cocos/core/DataView.cpp:165
↓ 10 callersMethodsetParameter
native/cocos/audio/android/AudioMixer.cpp:593
↓ 10 callersFunctionsetPropertyStashVar1WithImplicitVisible
( key: TKey, )
cocos/core/data/decorators/editable.ts:349
↓ 10 callersMethodsetScale
* change scale will recalculate center & size \ * size handle by child class * @param scale
cocos/physics/cannon/shapes/cannon-shape.ts:224
↓ 10 callersFunctionsetValue
native/cocos/renderer/pipeline/RenderPipeline.h:87
↓ 10 callersFunctionsetup
(tag: string, table: Record<string | number, any>, allowExist: boolean)
cocos/core/utils/js-typed.ts:622
↓ 10 callersFunctionspawn
(actions: FiniteTimeAction[])
cocos/tween/actions/action-interval.ts:950
↓ 10 callersMethodsplit
(from: number, to: number)
cocos/animation/exotic-animation/exotic-animation.ts:70
↓ 10 callersMethodstring
native/cocos/platform/openharmony/napi/napi-inl.h:1104
↓ 10 callersFunctionsupportsR32FloatTexture
native/cocos/renderer/pipeline/Define.cpp:640
↓ 10 callersFunctionswapBytes
native/cocos/gi/light-probe/tetgen.cpp:2166
↓ 10 callersFunctiont
(v1: Readonly<Vec2>, v2: Readonly<Vec2>, expectedDeg: number)
tests/core/math/vec2.test.ts:77
↓ 10 callersMethodterminatedOrTerminating
i.e. whether v8 exited or is about to exit
native/cocos/bindings/jswrapper/jsvm-v8-backend/js_native_api_v8.h:140
↓ 10 callersMethodtoComponent
* @en Appends a component path. * @zh 附加一段组件路径。 * @param constructor @en The constructor of the component. @zh 组件的构造函数。 * @returns `thi
cocos/animation/tracks/track.ts:109
↓ 10 callersMethodtoHEX
* @en convert Color to HEX color string. * @zh 转换当前颜色为十六进制颜色字符串。 * @param fmt "#rrggbb" or "#rrggbbaa". * - `'#rrggbbaa'` obtains the h
cocos/core/math/color.ts:561
↓ 10 callersFunctionu
(e)
templates/fb-instant-games/vconsole.min.js:10
↓ 10 callersFunctionu
(e)
templates/web-mobile/vconsole.min.js:10
↓ 10 callersFunctionunquote
(str)
scripts/native-pack-tool/xcode/lib/pbxProject.js:1721
↓ 10 callersMethodvisitVertex
(visitor: unknown, v: vertex_descriptor)
cocos/rendering/custom/graph.ts:393
↓ 10 callersFunctionwalk
(dir)
native/utils/clear-platform.js:158
← previousnext →1,401–1,500 of 39,311, ranked by callers