Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/a1076559139/XForge
/ functions
Functions
1,145 in github.com/a1076559139/XForge
⨍
Functions
1,145
◇
Types & classes
767
Method
preloadRes
* 预加载ui内部资源
extensions/app/assets/manager/ui/UIManager.ts:696
Method
preloadResDir
* 预加载UI目录下resources里面的资源 * @param path 相对于resources的路径 * this.preloadResDir('Bag', Prefab)
extensions/app/assets/base/BaseView.ts:875
Method
preloadResDir
* 预加载ui内部资源
extensions/app/assets/manager/ui/UIManager.ts:749
Method
previewMaterial
* 材质,实时预览 material 数据 * @param uuid 材质uuid * @param material 材质数据
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:337
Method
previewSetNodeProperty
* 预览设置某个元素内的属性(不会进undo) * @param options
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:133
Method
print
* Prints `webview`'s web page. Same as `webContents.print([options])`.
extensions/app/engine/@types/electron.d.ts:11461
Method
printToPDF
* Resolves with the generated PDF data. * Prints `webview`'s web page as PDF, Same as `webContents.printToPDF(options)`.
extensions/app/engine/@types/electron.d.ts:11467
Method
promptTouchID
* resolves if the user has successfully authenticated with Touch ID. * * This API itself will not protect your user data; rather, it is a me
extensions/app/engine/@types/electron.d.ts:7878
Method
purchaseProduct
* Returns `true` if the product is valid and added to the payment queue. * * You should listen for the `transactions-updated` event as soon
extensions/app/engine/@types/electron.d.ts:4686
Method
queryAllEffects
* 查询所有内置 Effects
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:312
Method
queryAnimationClip
* 查询一个 clip 的 dump 数据 * @param nodeUuid 节点的唯一标识符 * @param clipUuid 动画的唯一标识符
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:569
Method
queryAnimationClipCurrentTime
* 查询动画当前的播放时间信息 * @param clipUuid 动画资源的唯一标识符
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:593
Method
queryAnimationClipsInfo
* 查询一个节点上的所有动画 clips 信息 * @param nodeUuid 节点的唯一标识符
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:587
Method
queryAnimationMask
* 查询一个 animation-mask 的 dump 数据 * @param uuid 资源的唯一标识符
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:400
Method
queryAnimationPropValueAtFrame
* 查询动画当前轨道的某一帧的数值 * @param clipUuid 动画 uuid * @param nodePath 查询数据所在的节点搜索路径 * @param propKey 属性名字 * @param frame 关键帧数
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:602
Method
queryAnimationProperties
* 查询一个节点上,可以编辑的动画属性数组 * @param uuid 动画的 uuid
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:575
Method
queryAnimationRootInfo
* 查询动画根节点的动画数据信息 * @param uuid 查询的节点的 uuid
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:562
Method
queryAnimationRootNode
* 传入一个节点,查询这个节点所在的动画节点的 uuid * @param uuid 查询的节点的 uuid
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:556
Method
queryClasses
* 查询引擎内所有的类
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:73
Method
queryComponent
* 查询一个组件的 dump 数据 * @param uuid 节点的唯一标识符
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:240
Method
queryComponentFunctionOfNode
* 查询一个节点内挂载的所有组件以及对应的函数 * @param uuid 节点的唯一标识符
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:115
Method
queryComponentHasScript
* 查询引擎组件列表是否含有指定类名的脚本 * @param name 查询脚本的名字
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:84
Method
queryComponents
* 查询引擎内所有的组件列表
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:78
Method
queryCreatableAssetTypes
* 查询可以被创建为节点的所有资源类型
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:405
Method
queryCurrentAnimationInfo
* 查询当前动画的播放状态
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:550
Method
queryCurrentAnimationState
* 查询当前动画的播放状态
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:545
Method
queryCurrentSceneUuid
* 查询当前场景资源的 uuid
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:99
Method
queryEffect
* 根据 effecName 构建指定 Effect 的 props 和 defines 属性 * @param effectName effect 的名字
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:324
Method
queryEmbeddedPlayerMenu
* 查询一个节点上,可以编辑的嵌入播放器数组 * @param uuid 节点的 uuid
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:581
Method
queryGizmoCoordinate
* 查询 gizmo 坐标类型
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:434
Method
queryGizmoPivot
* 查询 gizmo 中心点类型
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:429
Method
queryGizmoToolName
* 查询当前 gizmo 工具的名字
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:424
Method
queryIconGizmoSize
* 获取icon gizmo的大小
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:449
Method
queryIs2D
* 查询 是否处于2D编辑模式
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:439
Method
queryIsGridVisible
* 查询grid是否可见
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:506
Method
queryIsIconGizmo3D
* 查询icon gizmo是否为3D
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:444
Method
queryLayerBuiltin
* 查询引擎内 Layer 的内置项
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:89
Method
queryMaterial
* 查询一个 material 的 dump 数据 * @param uuid material 的唯一标识符
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:318
Method
queryMode
* 查询当前场景的编辑模式
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:94
Method
queryNodeDump
* 查询一个节点的 dump 数据 * @param uuid 节点的唯一标识符
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:109
Method
queryNodeTree
* 查询当前场景的节点树信息 * @param uuid 节点的唯一标识符
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:52
Method
queryNodesByAssetUuid
* 查询使用了资源 UUID 的节点 * @param uuid 资源 asset uuid
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:58
Method
queryParticlePlayInfo
* 查询粒子播放的信息 * @param uuid 粒子组件的 uuid
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:708
Method
queryPhysicsMaterial
* 查询一个 physics-material 的 dump 数据 * @param uuid 资源的唯一标识符
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:394
Method
queryPreviewWindowList
()
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:652
Method
queryRenderPipeline
* 查询当个 RenderPipeline * @param uuid 查询的资源的唯一标识符
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:330
Method
querySceneDirty
* 查询当前场景是否被修改
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:68
Method
querySceneSerializedData
* 查询当前场景的序列化数据
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:63
Method
queryScriptCid
(uuid: string)
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:658
Method
queryScriptName
(uuid: string)
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:657
Method
querySelection
()
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:668
Method
quit
* Try to close all windows. The `before-quit` event will be emitted first. If all * windows are successfully closed, the `will-quit` event will b
extensions/app/engine/@types/electron.d.ts:1141
Method
quitAndInstall
* Restarts the app and installs the update after it has been downloaded. It should * only be called after `update-downloaded` has been emitted.
extensions/app/engine/@types/electron.d.ts:1637
Method
read
* Reads `format` type from the clipboard. * * @experimental
extensions/app/engine/@types/electron.d.ts:3277
Method
readBookmark
* * `title` String * * `url` String * * Returns an Object containing `title` and `url` keys representing the bookmark in * the cli
extensions/app/engine/@types/electron.d.ts:3288
Method
readBuffer
* Reads `format` type from the clipboard. * * @experimental
extensions/app/engine/@types/electron.d.ts:3294
Method
readFindText
* The text on the find pasteboard, which is the pasteboard that holds information * about the current state of the active application’s find pane
extensions/app/engine/@types/electron.d.ts:3305
Method
readHTML
* The content in the clipboard as markup.
extensions/app/engine/@types/electron.d.ts:3309
Method
readImage
* The image content in the clipboard.
extensions/app/engine/@types/electron.d.ts:3313
Method
readRTF
* The content in the clipboard as RTF.
extensions/app/engine/@types/electron.d.ts:3317
Method
readShortcutLink
* Resolves the shortcut link at `shortcutPath`. * An exception will be thrown when any error happens. * * @platform win32
extensions/app/engine/@types/electron.d.ts:7502
Method
readText
* The content in the clipboard as plain text.
extensions/app/engine/@types/electron.d.ts:3321
Function
ready
()
extensions/app/engine/src/panel/index.ts:19
Function
ready
(this: PanelThis)
extensions/app/engine/src/inspector/asset-directory.ts:81
Method
ready
()
extensions/app/engine/@types/extension.d.ts:41
Method
recordAnimation
* 更改当前动画编辑模式 * @param uuid uuid * @param active 激活或关闭
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:609
Method
recordNode
* 记录变动的节点 * @param node * @param enable enable = false 是内部 undo redo 产生的变化, 不参与重新记录
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:303
Method
redo
* Executes editing command `redo` in page.
extensions/app/engine/@types/electron.d.ts:11471
Method
redo
* 重做一次操作记录
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:296
Method
regeneratePolygon2DPoints
(uuid: string)
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:753
Method
register
* 注册定时器 * @param interval * @param callback * @param target * @param once
extensions/app/assets/manager/timer/TimerManager.ts:126
Method
register
* Whether or not the shortcut was registered successfully. * * Registers a global shortcut of `accelerator`. The `callback` is called when t
extensions/app/engine/@types/electron.d.ts:4563
Method
registerAll
* Registers a global shortcut of all `accelerator` items in `accelerators`. The * `callback` is called when any of the registered shortcuts are p
extensions/app/engine/@types/electron.d.ts:4581
Method
registerBufferProtocol
* Whether the protocol was successfully registered * * Registers a protocol of `scheme` that will send a `Buffer` as a response. *
extensions/app/engine/@types/electron.d.ts:6274
Method
registerDailyTrigger
* 注册每日触发器 * @param time 24小时制,精确到秒 * * @example * registerDailyTrigger('16', ...) 等同于 registerDailyTrigger('16-17', ...) * r
extensions/app/assets/manager/timer/TimerManager.ts:171
Method
registerDefaults
* Add the specified defaults to your application's `NSUserDefaults`. * * @platform darwin
extensions/app/engine/@types/electron.d.ts:7884
Method
registerEffects
(uuids: string[])
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:677
Method
registerFileProtocol
* Whether the protocol was successfully registered * * Registers a protocol of `scheme` that will send a file as the response. The * `h
extensions/app/engine/@types/electron.d.ts:6289
Method
registerHttpProtocol
* Whether the protocol was successfully registered * * Registers a protocol of `scheme` that will send an HTTP request as a response. *
extensions/app/engine/@types/electron.d.ts:6298
Method
registerSchemesAsPrivileged
* **Note:** This method can only be used before the `ready` event of the `app` * module gets emitted and can be called only once. * * R
extensions/app/engine/@types/electron.d.ts:6336
Method
registerStreamProtocol
* Whether the protocol was successfully registered * * Registers a protocol of `scheme` that will send a stream as a response. * *
extensions/app/engine/@types/electron.d.ts:6351
Method
registerStringProtocol
* Whether the protocol was successfully registered * * Registers a protocol of `scheme` that will send a `String` as a response. *
extensions/app/engine/@types/electron.d.ts:6361
Method
relaunch
* Relaunches the app when current instance exits. * * By default, the new instance will use the same working directory and command * li
extensions/app/engine/@types/electron.d.ts:1159
Method
release
(name: string, bundle?: string)
extensions/app/assets/manager/sound/SoundManager.ts:271
Method
releaseAll
* 释放所有资源
extensions/app/assets/manager/loader/LoaderManager.ts:396
Method
releaseSingleInstanceLock
* Releases all locks that were created by `requestSingleInstanceLock`. This will * allow multiple instances of the application to once again run
extensions/app/engine/@types/electron.d.ts:1164
Method
releaseUnused
* 销毁一个bundle中未使用的资源 * @param bundle 默认为resources,如果是远程bundle,则使用url末位作为bundle名
extensions/app/assets/manager/loader/LoaderManager.ts:574
Method
reload
* Reloads the guest page.
extensions/app/engine/@types/electron.d.ts:11475
Method
reloadBundleAsync
* 重载一个bundle(只重载资源列表) * - 只有远程bundle支持重载 * @param params.bundle 默认为resources, 可以是项目中的bundle名,也可以是远程bundle的url(url末位作为bundle名),参考https://docs
extensions/app/assets/manager/loader/LoaderManager.ts:703
Method
reloadIgnoringCache
* Reloads the guest page and ignores cache.
extensions/app/engine/@types/electron.d.ts:11479
Method
reloadScene
()
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:46
Method
remove
* 返回值为false代表调用失败
extensions/app/assets/lib/storage/storage.ts:135
Method
removeAllListeners
* Removes listeners of the specified `channel`.
extensions/app/engine/@types/electron.d.ts:4844
Method
removeAllListeners
* Removes all listeners, or those of the specified `channel`.
extensions/app/engine/@types/electron.d.ts:4975
Method
removeAsDefaultProtocolClient
* Whether the call succeeded. * * This method checks if the current executable as the default handler for a * protocol (aka URI scheme)
extensions/app/engine/@types/electron.d.ts:1173
Method
removeByCallback
(callback: Function)
extensions/app/assets/base/BaseControl.ts:60
Method
removeByCallback
(callback: Function)
extensions/app/assets/base/BaseController.ts:64
Method
removeComponent
* 删除某个节点上的某个组件 * @param options 参数
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:258
Method
removeEffects
(uuids: string[])
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:678
Method
removeEventListener
(event: 'load-commit', listener: (event: LoadCommitEvent) => void)
extensions/app/engine/@types/electron.d.ts:11103
← previous
next →
801–900 of 1,145, ranked by callers