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

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

31. Text->getCharPoint方法返回位置错误bug [ 76%]

...个的一个方法,走进了第二方法里 请问有没有方法能够获取“鼠标是否处于按下状态”? IOS系统内嵌H5游戏,退到后台,等几秒返回音乐音效全无 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target Laya2...

来源: Laya_社区 发布时间: 20230519

32. HTMLDivElement 中contextWidth计算有问题 [ 75%]

...th计算有问题 HTMLDivElement 设置一个css文本后调用contextWidth获取实际宽度是0 /** * @private * @param out */ override public function _addToLayout(out:Vector.<ILayout>):void { layout(); //!_style.absolute && out.push(this); } 这个重写有问题,会导致计算...

来源: Laya_社区 发布时间: 20170309

33. laya.ui.Image_API3.0 [ 75%]

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

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

34. Laya3D 中如何解决3D模型上添加文本的问题,类似Unity中的3DText [ 75%]

...length + 1); settings.font = fontSize + "px 'Microsoft Yahei'" //获取2d的上线文开始设置相关属性 var canvas = settings.canvas; canvas.width = settings.canvasWidth; canvas.height = settings.canvasHeight; var ctx = canvas.getContext("2d"); //绘制背景色 ctx.fillSty...

来源: Laya_社区 发布时间: 20180814

35. laya.map.MapLayer_API3.0 [ 74%]

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

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

36. laya.physics.PhysicsDebugDraw_API3.0 [ 74%]

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

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

37. laya.map.TileAniSprite_API3.0 [ 74%]

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

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

38. laya.particle.Particle2D_API3.0 [ 74%]

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

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

39. laya.ui.Clip_API3.0 [ 74%]

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

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

40. laya.ui.Button [ 74%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite botto...

来源: laya_api 发布时间: 20170929