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

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

1. laya.display.Stage_API3.0 [ 100%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 canvasDegree canvasDegree: number = 0 Defined in laya/display/Stage.ts:126 画布的旋转角度。...

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

2. laya.resource.Texture_API3.0 [ 92%]

...t bitmap(value: BaseTexture): void Defined in laya/resource/Texture.ts:214 获取位图。 Returns BaseTexture 位图。 Defined in laya/resource/Texture.ts:222 设置位图。 Parameters value: BaseTexture Returns void 位图。 cpuMemory get cpuMemory(): number Inherited from Resource.cpuMemory De...

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

3. laya.net.LoaderManager_API3.0 [ 87%]

... getRes getRes(url: string): any Defined in laya/net/LoaderManager.ts:410 获取指定资源地址的资源。 Parameters url: string 资源地址。 Returns any 返回资源。 hasListener hasListener(type: string): boolean Inherited from EventDispatcher.hasListener Defined in laya/events/EventDisp...

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

4. laya.display.Text_API3.0 [ 72%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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

5. laya.map.MapLayer_API3.0 [ 72%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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

6. laya.display.Input_API3.0 [ 72%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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

7. laya.display.Sprite_API3.0 [ 70%]

...节点。 注意: Sprite 默认没有宽,可以通过getBounds函数获取;也可手动设置宽;还可以设置autoSize=true,然后再获取。Sprite的宽一般用于进行碰撞检测和排版,并不影响显示图像大小,如果需要更改显示图像大小,请...

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

8. laya.ani.GraphicsAni_API3.0 [ 66%]

... Inherited from Graphics.getBounds Defined in laya/display/Graphics.ts:201 获取位置及宽信息矩阵(比较耗CPU,频繁使用会造成卡顿,尽量少用)。 Parameters Default value realSize: boolean = false (可选)使用图片的真实大小,默认为false Returns Rectangle 位...

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

9. laya.html.dom.HTMLIframeElement_API3.0 [ 65%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from AnimationBase.hitTestPrior Defined in lay...

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

10. laya.media.VideoNode_API3.0 [ 64%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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