大约有 575 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0054 秒)
Laya_社区(290) Laya3.0_api(65) Laya2.0_api(58) laya_api(54) Laya2.0_示例(32) Laya_示例(31) Laya2.0_文档(26) Laya3.0_文档(19)
...式显示? ios14系统下 blendMode='lighter' 图片异常 matter中layasprite怎么改变图片大小? 如何设置Sprite的宽高和点击区域? Texture图片能否进行翻转? 使用钢体设置防穿后仍有几率会穿透 本地调试加载本地图片都报错 Laya3D里的material...
来源: Laya_社区 发布时间: 20200619
... lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 new Laya.Sprite();绘制图形以后,怎么删除释放资源? 能不能做到“分步 多次 热更新” 如何清除graphics绘制的矢量图 layaAir,图片在普通尺寸和放大2倍的情况下,会有绘制效率上的...
来源: Laya_社区 发布时间: 20170509
...上导致拿不到正确位置的Texture? package { import laya.display.Sprite; import laya.display.Stage; import laya.events.Event; import laya.resource.HTMLCanvas; import laya.resource.Texture; import rain.core.StageReferance; public class Main { private var _view:Sprite; public function Main() ...
来源: Laya_社区 发布时间: 20180319
...考下面代码示例,如果还有不明白的我们再沟通!var sp1:Sprite=new Sprite(); sp1.graphics.drawRect(0,0,200,400,"#FF0000"); Laya.stage.addChild(sp1); var sp2:Sprite=new Sprite(); sp2.graphics.drawRect(0,0,300,400,"#0000FF"); sp2.pos(100,100); if(sp1.getBounds().intersects(sp2.getBou...
来源: Laya_社区 发布时间: 20161202
...Children?: boolean): List Inherited from UIComponent.constructor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns List Properties Optional _extra _extra: INodeExtra Inherited from ...
来源: Laya3.0_api 发布时间: 20231115
...题 请问LayaAir中如何使图片以圆形的方式显示? 如何设置Sprite的宽高和点击区域? Texture图片能否进行翻转? Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 配置layaAir需要注意的 matter中layasprite怎么改变图片大小? ios14系统下 b...
来源: Laya_社区 发布时间: 20170104
...象添加到stage中 var SightBead = (function () { function sightBeadSprite() { SightBead.super(this); this.name = 'sightBead'; this.graphics.drawCircle(0,0,40,null,'#ff0000',1); this.graphics.drawLine(-45,0,45,0,'#ff0000',1); this.graphics.drawLine(0,45,0,-45,'#ff0000',1); this.alpha = 0; Laya....
来源: Laya_社区 发布时间: 20171012
...round(){ BackGround.super(this); //创建游戏背景1 this.bg1 = new Laya.Sprite(); //加载并显示背景图 this.bg1.loadImage("war/bc.png"); //把背景1放在容器中 this.addChild(this.bg1); //创建游戏背景2 this.bg2 = new Laya.Sprite(); //加载并显示背景图 this.bg2.loadImage("wa...
来源: Laya_社区 发布时间: 20191018
...t.color = new Laya.Vector3(0.7, 0.6, 0.6); var plane = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/Zombie/old/Plane.lh")); var zombie = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/Zombie/old/Zombie.lh")); zombie.once(Laya.Event.HIERARCHY_LOADED, this, func...
来源: Laya_示例 发布时间: 20250219
...面侦听) TextInput重写onFocus和onBlur事件监听不到 如何设置Sprite的宽高和点击区域? 求指点3d射线碰撞和UI点击穿透的问题 救命!canvas定位后 点击区域偏移,求大大们解答 btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色...
来源: Laya_社区 发布时间: 20170801