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

大约有 17 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0117 秒)

1. laya.net.ResourceVersion_API3.0 [ 100%]

...= ResourceVersion.FOLDER_VERSION Defined in laya/net/ResourceVersion.ts:17 当前使用的版本管理类型 Methods Static addVersionPrefix addVersionPrefix(originURL: string): string Defined in laya/net/ResourceVersion.ts:45 为加载路径添加版本前缀。 Parameters originURL: string 源路...

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

2. laya.net.URL_API3.0 [ 97%]

..."" Defined in laya/net/URL.ts:16 基础路径。如果不设置,默认为当前网页的路径。最终地址将被格式化为 basePath+相对URL地址, Static basePaths basePaths: Record<string, string> Defined in laya/net/URL.ts:18 扩展的基础路径映射表,比如{"aa/":"http://a...

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

3. laya.media.VideoTexture_API3.0 [ 87%]

...c get currentSrc(): string Defined in laya/media/VideoTexture.ts:270 获取当前播放源路径。 Returns string currentTime get currentTime(): number set currentTime(value: number): void Defined in laya/media/VideoTexture.ts:277 设置和获取当前播放头位置。 Returns number Defined in la...

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

4. laya.display.Graphics_API3.0 [ 79%]

... pivotY?: number): RotateCmd Defined in laya/display/Graphics.ts:374 旋转当前绘图。(推荐使用transform,性能更高) Parameters angle: number 旋转角度,以弧度计。 Default value pivotX: number = 0 (可选)水平方向轴心点坐标。 Default value pivotY: number = 0 (可...

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

5. laya.display.Animation_API3.0 [ 78%]

...ited from AnimationBase.count Defined in laya/display/AnimationBase.ts:269 当前动画中帧的总数。 Returns number customRenderEnable set customRenderEnable(b: boolean): void Inherited from Text.customRenderEnable Defined in laya/display/Sprite.ts:327 设置是否开启自定义渲染,只有...

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

6. laya.ani.GraphicsAni_API3.0 [ 77%]

...herited from Graphics.rotate Defined in laya/display/Graphics.ts:374 旋转当前绘图。(推荐使用transform,性能更高) Parameters angle: number 旋转角度,以弧度计。 Default value pivotX: number = 0 (可选)水平方向轴心点坐标。 Default value pivotY: number = 0 (可...

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

7. laya.display.BitmapFont_API3.0 [ 75%]

...15 fontSize fontSize: number = 12 Defined in laya/display/BitmapFont.ts:20 当前位图字体字号,使用时,如果字号和设置不同,并且autoScaleSize=true,则按照设置字号比率进行缩放显示。 letterSpacing letterSpacing: number = 0 Defined in laya/display/BitmapFont.ts:26...

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

8. laya.ui.AutoBitmap_API3.0 [ 74%]

...herited from Graphics.rotate Defined in laya/display/Graphics.ts:374 旋转当前绘图。(推荐使用transform,性能更高) Parameters angle: number 旋转角度,以弧度计。 Default value pivotX: number = 0 (可选)水平方向轴心点坐标。 Default value pivotY: number = 0 (可...

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

9. laya.device.media.HtmlVideo_API3.0 [ 73%]

... Inherited from Resource.cpuMemory Defined in laya/resource/Resource.ts:23 当前内存,以字节为单位。 Returns number Static gpuMemory get gpuMemory(): number Inherited from Resource.gpuMemory Defined in laya/resource/Resource.ts:30 当前显存,以字节为单位。 Returns number Method...

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

10. laya.net.LoaderManager_API3.0 [ 57%]

...oaded clearUnLoaded(): void Defined in laya/net/LoaderManager.ts:451 清理当前未完成的加载,所有未加载的内容全部停止加载。 Returns void create create(url: string | (string | createItem)[], complete?: Handler | null, progress?: Handler | null, type?: string | null, constructP...

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