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

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

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

...Sprite, x: number, y: number): any Defined in laya/utils/SpriteUtils.ts:48 获取指定区域内相对于窗口左上角transform。 Parameters coordinateSpace: Sprite 坐标空间,不能是Stage引用 x: number 相对于coordinateSpacex坐标 y: number 相对于coordinateSpacey坐标 Ret...

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

2. laya.map.MapLayer_API3.0 [ 92%]

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

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

3. laya.display.Sprite_API3.0 [ 91%]

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

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

4. laya.ui.DialogManager_API3.0 [ 90%]

...且不会随着绘制内容变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 closeEffectHandler closeEffectHandler: Handler = new Handler(this, this.closeEffect) Defined in lay...

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

5. laya.html.dom.HTMLIframeElement_API3.0 [ 89%]

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

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

6. laya.html.dom.HTMLDivElement_API3.0 [ 88%]

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

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

7. laya.device.media.Video_API3.0 [ 88%]

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

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

8. laya.map.GridSprite_API3.0 [ 88%]

...且不会随着绘制内容变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 drawImageNum drawImageNum: number = 0 Defined in laya/map/GridSprite.ts:25 当前GRID包含多少...

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

9. laya.map.TileAniSprite_API3.0 [ 88%]

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

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

10. laya.physics.PhysicsDebugDraw_API3.0 [ 88%]

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

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