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

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

471. popup设置了关闭效果后,窗口关闭但遮罩层没有关掉,请问如何处理 [ 55%]

...器工具? 使用钢体设置防穿后仍有几率会穿透 如何设置Sprite的宽高和点击区域? Dialog关闭时如何向open他的页面传值? 请问laya里如何解析json,似乎和AS3的不太一样。 龙骨skeleton鼠标点击区域的设置 请问如何获取鼠标在某个元...

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

472. WebGL模式下用遮罩实现圆形头像会有警告出现 [ 55%]

...s.img = new Laya.Image(); this.img.loadImage("url"); const mask = new Laya.Sprite(); mask.graphics.drawCircle(75, 75, 75, "#ffffff"); this.img.mask = mask; this.img.pos(Laya.stage.width / 2, Laya.stage.height / 2); Laya.stage.addChild(this.img); 附件 : --> 2017-01-06 添加评论 免费帖 --> 分...

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

473. 在开启webgl模式下,每次运行texture类的getPixels方法内存都会增加 [ 55%]

...加 我使用的版本是1.7.12 测试代码如下:module Main { import Sprite = Laya.Sprite import Texture = Laya.Texture import Handler = Laya.Handler export class MaskDemo { private Res: string; private img: Laya.Image; constructor() { //Laya.init(400, 640, Laya.WebGL); //设置舞台背景色 ...

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

474. 聊天室使用HTMLDivElement,宽度被固定为180了,这个怎末改,求救 [ 55%]

...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale TS项目使用matter.js库无智能提示 微信小游戏如何使用ttf字体? 微信小游戏:HTMLDivElement的使用 使用3D时候,Propert...

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

475. laya.ui.ScrollBar_API3.0 [ 55%]

...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...

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

476. 请问graphics.drawTexture(texture)中如何增加一个matrix,只显示图中的一个圆形区域 [ 55%]

...圆形区域 我可以另外建一个圆形比如 var mapMask = new Laya.Sprite(); mapMask.size(100,100); mapMask.pos(50,50); mapMask.graphics.drawCircle(0, 0, 50, "#000000") 我这么获得mapMask的matrix,然后放进graphics.drawTexture中呢? 不要说直接用mask,因为微信小游戏不...

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

477. laya.ui.HSlider_API3.0 [ 55%]

...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...

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

478. laya.ui.VSlider_API3.0 [ 55%]

...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...

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

479. 使用 HTMLDivElement 时,如果有文字和数字同时存在的话,会对不齐,且会换行 [ 55%]

...答(最新版本:1.7.16) TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏:HTMLDivElement的使用 文本如何自动换行 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微...

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

480. laya.ui.Clip_API3.0 [ 55%]

...fined in laya/display/Node.ts:56 _graphics _graphics: AutoBitmap Overrides Sprite._graphics Defined in laya/ui/Clip.ts:151 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/...

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