• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 94 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0023 秒)

1. laya.utils.Utils_API3.0 [ 100%]

...:40 Parameters value: string Returns number Static getBaseName getBaseName(path: string): string Defined in laya/utils/Utils.ts:129 获得路径中的文件名(包含扩展名) Parameters path: string Returns string Static getFileExtension getFileExtension(path: string): string Defined in laya/u...

来源: Laya3.0_api 发布时间: 20231115

2. laya.d3.component.AvatarMask_API3.0 [ 97%]

...tarMask Index Constructors constructor Methods clone cloneTo getAllTranfromPath getTransformActive setTransformActive Constructors constructor new AvatarMask(): AvatarMask Defined in laya/d3/component/AvatarMask.ts:9 创建一个AvatarMask实例 Returns AvatarMask Methods clone clone(): any Defined ...

来源: Laya3.0_api 发布时间: 20231102

3. laya.d3.component.animator.AvatarMask_API3.0 [ 96%]

...tarMask Index Constructors constructor Methods clone cloneTo getAllTranfromPath getTransformActive setTransformActive Constructors constructor new AvatarMask(data?: any): AvatarMask Defined in laya/d3/component/Animator/AvatarMask.ts:6 创建一个AvatarMask实例 Parameters Optional data: any Retur...

来源: Laya3.0_api 发布时间: 20231115

4. laya.display.cmd.DrawPathCmd_API3.0 [ 95%]

...d All Inherited Externals Only exported Menu Globals "laya/display/cmd/DrawPathCmd" DrawPathCmd Class DrawPathCmd 根据路径绘制矢量图形 Hierarchy DrawPathCmd Index Properties brush paths pen x y ID Methods getBoundPoints recover Properties brush brush: any Defined in laya/display/cmd/DrawPa...

来源: Laya3.0_api 发布时间: 20231115

5. laya.utils.PerformancePlugin_API3.0 [ 94%]

...eters value: boolean Returns void Methods Static begainSample begainSample(path: string): void Defined in laya/utils/Performance.ts:31 Parameters path: string Returns void Static endSample endSample(path: string): number Defined in laya/utils/Performance.ts:36 Parameters path: string Returns number ...

来源: Laya3.0_api 发布时间: 20231102

6. laya.net.URL_API3.0 [ 94%]

...源的时候,会自动调用formatURL函数格式化URL路径 通过basePath属性可以设置网络基础路径 通过设置customFormat函数,可以自定义URL格式化的方式 Hierarchy URL Index Constructors constructor Properties basePath basePaths rootPath version Accessors path url Meth...

来源: Laya3.0_api 发布时间: 20231115

7. laya.net.Loader_API3.0 [ 72%]

...: boolean Returns Promise<any> Promise对象 loadPackage loadPackage(path: string, onProgress?: ProgressCallback): Promise<void> loadPackage(path: string, remoteUrl?: string, onProgress?: ProgressCallback): Promise<void> Defined in laya/net/Loader.ts:899 载入一个分包 path 小...

来源: Laya3.0_api 发布时间: 20231115

8. laya.d3.webxr.core.WebXRInputManager_API3.0 [ 58%]

...nager Class WebXRInputManager author miner 类用来管理输入设备 The path of the CDN the sample will fetch controller models from: MeshSource https://cdn.jsdelivr.net/npm/@webxr-input-profiles/assets@1.0.9/dist/profiles/ Hierarchy WebXRInputManager Index Constructors constructor Properties t...

来源: Laya3.0_api 发布时间: 20231115

9. laya.d3.utils.Utils3D_API3.0 [ 57%]

...ndex Properties _tempV0 _tempV1 Methods PointinTriangle _getNodeByHierarchyPath _getParentNodeByHierarchyPath billboardTrans createAffineTransformationArray getURLVerion mulMatrixByArray mulMatrixByArrayAndMatrixFast mulMatrixByArrayFast quaternionWeight transformQuat transformVector3ArrayByQuat tra...

来源: Laya3.0_api 发布时间: 20231115

10. laya.display.BitmapFont_API3.0 [ 50%]

...函数会忽略lock=true的资源。 Returns void Static loadFont loadFont(path: string, complete: Handler): void Defined in laya/display/BitmapFont.ts:33 通过指定位图字体文件路径,加载位图字体文件,加载完成后会自动解析。 Parameters path: string 位图字体文件的...

来源: Laya3.0_api 发布时间: 20231115