MCPcopy Create free account

hub / github.com/cocos/cocos4 / functions

Functions39,311 in github.com/cocos/cocos4

↓ 21 callersMethodIsJust
native/cocos/platform/openharmony/napi/napi-inl.h:399
↓ 21 callersMethod_doLayoutDirty
()
cocos/ui/layout.ts:1153
↓ 21 callersMethodaddEmpty
* Adds an empty state into this state machine. * @returns The newly created empty state.
cocos/animation/marionette/animation-graph.ts:429
↓ 21 callersMethodaddSubStateMachine
* Adds a sub state machine into this state machine. * @returns The newly created state machine.
cocos/animation/marionette/animation-graph.ts:421
↓ 21 callersFunctionbinarySearch
(array: number[], value: number)
cocos/core/algorithm/binary-search.ts:35
↓ 21 callersMethoddot
native/cocos/math/Vec3.cpp:342
↓ 21 callersFunctionfind
(path: string, referenceNode?: Node)
cocos/scene-graph/find.ts:40
↓ 21 callersFunctionfree
native/cocos/editor-support/spine/4.2/spine/Pool.h:63
↓ 21 callersMethodgetBone
native/cocos/editor-support/spine/4.2/spine/PhysicsConstraint.cpp:81
↓ 21 callersMethodgetFloat32
native/cocos/core/DataView.cpp:130
↓ 21 callersMethodgetFramebuffer
native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h:296
↓ 21 callersMethodgetSampler
(v: number)
cocos/rendering/custom/render-graph.ts:816
↓ 21 callersMethodgetScaleX
* @en Returns scale factor of the horizontal direction (X axis). * @zh 返回横轴的缩放比,这个缩放比是将画布像素分辨率放到设计分辨率的比例。
cocos/ui/view.ts:536
↓ 21 callersMethodgetWindow
native/cocos/platform/java/modules/SystemWindowManager.cpp:53
↓ 21 callersMethodnt2lm
native/cocos/scene/Light.cpp:43
↓ 21 callersMethodparse
(atlasFile)
editor/inspector/assets/texture/parse-atlas.js:102
↓ 21 callersMethodpreventDefault
native/cocos/core/event/EventTarget.h:56
↓ 21 callersMethodrandom
* @en Generates a uniformly distributed random vector points from center to the surface of the unit sphere * @zh 生成一个在单位球体上均匀分布的随机向量 * @para
cocos/core/math/vec4.ts:426
↓ 21 callersMethodsetGroup
(v: number)
cocos/physics/spec/i-group-mask.ts:26
↓ 21 callersMethodstroke
()
cocos/particle-2d/motion-streak-2d.ts:129
↓ 21 callersMethodtoBeCloseToVec3
(expected: Readonly<Vec3>, numDigits?: number)
tests/utils/matchers/value-type-asymmetric-matchers.ts:54
↓ 21 callersFunctiontoDegree
(a: number)
cocos/core/math/utils.ts:123
↓ 21 callersMethodtoInt
native/cocos/editor-support/spine/4.2/spine/Atlas.cpp:173
↓ 21 callersFunctiontransform
(input: string | string[] | Record<string, any> | Array<Record<string, any>>, options?: Record<string, any> |
cocos/asset/asset-manager/helper.ts:129
↓ 21 callersMethodvertex
(key: Key)
cocos/rendering/custom/graph.ts:446
↓ 21 callersMethodw
Returns the zero-based index of the alternative held by the vertex
cocos/rendering/custom/graph.ts:389
↓ 21 callersMethodwriteProperty
* Writes a property into output. * @param name Property name. * @param value Property value.
cocos/core/data/custom-serializable.ts:64
↓ 20 callersMethodAdd
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:8112
↓ 20 callersFunctionOneByteString
native/cocos/bindings/jswrapper/v8/debugger/util-inl.h:207
↓ 20 callersMethodThrowAsJavaScriptException
we created an object on the &_ref
native/cocos/platform/openharmony/napi/napi-inl.h:3067
↓ 20 callersMethod_assign
* @en * internal methods. * @zh * 设置射线,此方法由引擎内部使用,请勿在外部脚本调用。 * * @deprecated since v3.5.0, this is an engine private interfac
cocos/physics/framework/physics-ray-result.ts:106
↓ 20 callersFunction_interopRequireDefault
(obj)
platforms/minigame/platforms/xiaomi/wrapper/builtin.js:57
↓ 20 callersMethod_wakeUpIfSleep
()
cocos/physics/cannon/cannon-rigid-body.ts:321
↓ 20 callersMethodaddDescriptor
(block: DescriptorBlock, name: string, type = Type.UNKNOWN)
cocos/rendering/custom/layout-graph-editor.ts:625
↓ 20 callersMethodalloc
native/cocos/renderer/gfx-gles-common/GLESCommandPool.h:106
↓ 20 callersMethodalloc
native/cocos/gi/light-probe/tetgen.cpp:4290
↓ 20 callersMethodbegin
native/cocos/profiler/Profiler.cpp:56
↓ 20 callersFunctionccclassAutoNamed
(fileName: string)
tests/core/serialization/shared/utils.ts:19
↓ 20 callersFunctionchangeBasename
native/cocos/core/utils/Path.cpp:146
↓ 20 callersFunctionclamp01
(val: number)
cocos/core/math/utils.ts:94
↓ 20 callersFunctionclear
* All the elements in the Map<K,V> container are dropped: * their reference count will be decreased, and they are removed from the container,
native/cocos/base/RefMap.h:257
↓ 20 callersMethodcomputeHash
(info: Readonly<SamplerInfo>)
cocos/gfx/base/states/sampler.ts:46
↓ 20 callersMethodcreatePipelineLayout
* Creates a {@link GPUPipelineLayout}. * @param descriptor - Description of the {@link GPUPipelineLayout} to create.
@types/webGPU.d.ts:2487
↓ 20 callersFunctiongetCameraUniqueID
(camera: Camera)
cocos/rendering/custom/define.ts:125
↓ 20 callersMethodgetCurrentTransition
(layer: number)
cocos/animation/marionette/graph-eval.ts:173
↓ 20 callersMethodgetKeyframeValue
* @en * Gets the value of specified keyframe. * @zh * 获取指定关键帧上的值。 * @param index Index to the keyframe. * @returns The keyfra
cocos/core/curves/keyframe-curve.ts:147
↓ 20 callersFunctiongetRandomDouble
()
tests/core/test-serialize-node.js:13
↓ 20 callersMethodgetScaleY
* @en Returns scale factor of the vertical direction (Y axis). * @zh 返回纵轴的缩放比,这个缩放比是将画布像素分辨率缩放到设计分辨率的比例。
cocos/ui/view.ts:544
↓ 20 callersMethodgetSwapchain
* @en Get the swapchain for this window, if there is one * @zh 如果存在的话,获取此窗口的交换链 */
native/cocos/scene/RenderWindow.h:113
↓ 20 callersMethodgpuBuffer
native/cocos/renderer/gfx-metal/MTLBuffer.h:55
↓ 20 callersMethodindex
()
platforms/native/engine/jsb-videoplayer-openharmony.js:70
↓ 20 callersMethodinstall
native/cocos/bindings/sebind/class_v8.h:136
↓ 20 callersFunctioninstantiate
(importObject: WebAssembly.Imports)
cocos/3d/misc/mesh-codec.ts:61
↓ 20 callersFunctionnormalizePath
(path)
scripts/build-adapter.js:102
↓ 20 callersFunctionposeGraphNodeAppearance
( appearance: Readonly<PoseGraphNodeAppearanceOptions>, )
cocos/animation/marionette/pose-graph/decorator/node.ts:41
↓ 20 callersMethodread
native/cocos/renderer/frame-graph/PassNode.cpp:41
↓ 20 callersMethodresume
* @en Resume the game from pause. This will resume:<br> * game logic execution, rendering process, event manager, background music and all audio
cocos/game/game.ts:603
↓ 20 callersMethodrunOnGameThreadAtForeground
(final Runnable runnable)
native/cocos/platform/android/java/src/com/cocos/lib/CocosHelper.java:167
↓ 20 callersFunctions
(e)
templates/fb-instant-games/vconsole.min.js:10
↓ 20 callersFunctions
(e)
templates/web-mobile/vconsole.min.js:10
↓ 20 callersMethodsetCenter
native/cocos/core/geometry/AABB.h:147
↓ 20 callersMethodsetTexture
* @en Set texture descriptor. * Type of the texture should match the one in shader. * Texture should be in read states and satisfy shader st
cocos/rendering/custom/pipeline.ts:361
↓ 20 callersMethodsetUniform
* @en Sets a vector type uniform value, if a uniform requires frequent update, please use this method. * @zh 设置指定普通向量类 uniform 的值,如果需要频繁更新请尽量使用此接
cocos/render-scene/core/pass.ts:268
↓ 20 callersMethodslotName
(camera: Camera, index = 0)
cocos/rendering/post-process/passes/taa-pass.ts:115
↓ 20 callersMethodtimes
* @en * Returns an iterator to keyframe times. * @zh * 返回关键帧时间的迭代器。
cocos/core/curves/keyframe-curve.ts:113
↓ 20 callersFunctiontoRadian
native/cocos/math/Utils.h:124
↓ 20 callersMethodtryCompile
* @en Try to compile the shader and retrieve related resources references. * @zh 尝试编译 shader 并获取相关资源引用。
cocos/render-scene/core/pass.ts:497
↓ 20 callersMethodv
Return vertex iterator
cocos/rendering/custom/graph.ts:319
↓ 19 callersMethodGetBlock
native/cocos/renderer/gfx-vulkan/vk_mem_alloc.h:7058
↓ 19 callersMethodValue
native/cocos/bindings/jswrapper/Value.cpp:66
↓ 19 callersMethod_deferredDestroy
()
cocos/core/data/object.ts:173
↓ 19 callersMethod_getWebXRGamepadMap
()
pal/input/web/gamepad-input.ts:455
↓ 19 callersFunctionbasename
native/cocos/core/utils/Path.cpp:91
↓ 19 callersFunctionbeginRecording
(uuids, options)
editor/inspector/contributions/node.js:61
↓ 19 callersMethodbindSampler
native/cocos/renderer/pipeline/GlobalDescriptorSetManager.cpp:84
↓ 19 callersFunctionblock
(name, fn)
native/tests/sebind-tests/data/main.js:11
↓ 19 callersMethodcallPreviewFunction
(funcName, ...args)
editor/inspector/utils/preview.js:141
↓ 19 callersMethodcreateDescriptorSet
native/cocos/renderer/gfx-base/GFXDevice.h:293
↓ 19 callersFunctioncreateEmptyClipMotion
(duration: number, name = '')
tests/animation/newgenanim.test.ts:5411
↓ 19 callersFunctiondeepCopy
(target: T[], source: T[], Ctor: Constructor<T>)
cocos/gfx/base/define.ts:39
↓ 19 callersMethoddelay
* @en * Add a delay action. * @zh * 添加一个延时 action。 * @method delay * @param duration @en Delay time of this tween @zh 当前缓动的延迟
cocos/tween/tween.ts:555
↓ 19 callersMethoddestroy
* Destroys this binding.
cocos/animation/marionette/animation-graph-animation-clip-binding.ts:66
↓ 19 callersMethoddisable
()
cocos/web-view/web-view-impl-web.ts:110
↓ 19 callersMethodemit
* @en * Trigger an event directly with the event name and necessary arguments. * @zh * 通过事件名发送自定义事件 * @param type - event type
cocos/scene-graph/node.ts:1322
↓ 19 callersFunctionendRecording
(undoID, cancel)
editor/inspector/contributions/node.js:67
↓ 19 callersMethodevaluateAt
(time: number, iterations: number)
tests/animation/embedded-player/util.ts:60
↓ 19 callersMethodgetBuffer
(handle: IHandle<P>)
cocos/render-scene/core/memory-pools.ts:146
↓ 19 callersMethodgetData
native/cocos/editor-support/spine-wasm/spine-model.cpp:53
↓ 19 callersMethodgetDataFromFile
native/cocos/platform/FileUtils.cpp:557
↓ 19 callersMethodgetDepthStencilTexture
native/cocos/renderer/pipeline/custom/NativeResourceGraph.cpp:55
↓ 19 callersMethodgetDesc
(v: number)
cocos/rendering/custom/render-graph.ts:807
↓ 19 callersMethodgetGFXSampler
* @en Gets the GFX sampler of its texture. * @zh 贴图资源的采样器。 * @returns @en The GFX sampler resource. @zh GFX贴图采样器。
cocos/2d/assets/sprite-frame.ts:787
↓ 19 callersMethodgetMaterialInstance
* @en Get the material instance of the specified sub-model. * It will create a new instance from the corresponding shared material if not created
cocos/misc/renderer.ts:196
↓ 19 callersMethodgetPass
native/cocos/renderer/pipeline/InstancedBuffer.h:75
↓ 19 callersMethodgetPassID
(name: string)
cocos/rendering/custom/pipeline.ts:1753
↓ 19 callersMethodgetSampler
native/cocos/renderer/gfx-base/GFXDevice.cpp:100
↓ 19 callersFunctiongetTempTransform
(pos: IVec3Like, quat: IQuatLike)
cocos/physics/physx/physx-adapter.ts:213
↓ 19 callersMethodgetUint8
native/cocos/core/DataView.cpp:88
↓ 19 callersMethodget_allocator
native/cocos/renderer/pipeline/custom/details/GraphTypes.h:485
↓ 19 callersMethodinvalidateChildren
* @en Invalidate the world transform information * for this node and all its children recursively * @zh 递归标记节点世界变换为 dirty * @param dirt
cocos/scene-graph/node.ts:2279
← previousnext →701–800 of 39,311, ranked by callers