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

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

761. Sprite3D.transform.pivot默认为null?这不科学啊,我为什么获取为null? [ 71%]

Sprite3D.transform.pivot默认为null?这不科学啊,我为什么获取为null? Sprite3D.transform.pivot默认为null?这不科学啊,我为什么获取为null? 2017-08-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接...

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

762. Browser.context.createLinerGradient绘制之后不生效,是因为现在不支持颜色渐变吗? [ 71%]

...之后不生效,是因为现在不支持颜色渐变吗? var sp = new Sprite(); var gra = Browser.context.createLinearGradient(0, 0, bw, bh); gra.addColorStop(0, '#ffaaaa'); gra.addColorStop(1, '#ffffff'); sp.graphics.drawRect(0, 0, 200, 200, gra); Laya.stage.addChild(sp);创建颜色渐变的...

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

763. laya.ui.ComboBox_API3.0 [ 71%]

...: 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

764. 如何用代码调用按钮的点击事件(如as3的dispatchEvent)? [ 71%]

...小程序API TextInput重写onFocus和onBlur事件监听不到 如何设置Sprite的宽高和点击区域? 求指点3d射线碰撞和UI点击穿透的问题 救命!canvas定位后 点击区域偏移,求大大们解答 Animation如何加点击事件 关于遍历产生的sprite的点击事件,...

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

765. 多摄像机窗口的使用(JavaScript-3D基础(JS)-LayaAir3D之Camera) [ 71%]

...tionLight = scene.addChild(new Laya.DirectionLight()); //加载模型 Laya.Sprite3D.load("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(null, function(sp){ //将模型加到场景上 var layaMonkey = scene.addChild(sp); })) ``` 编译运行上述代码,运行效果如图6...

来源: Laya2.0_文档 发布时间: 20210715

766. laya.ui.RadioGroup_API3.0 [ 71%]

...: 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

767. drawTexture时,Matrix对象,a=-1,无法实现水平翻转 [ 71%]

...r t:Texture = Laya.loader.getRes("res/atlas/test0.png");     ape = new Sprite();     var matrix:Matrix = new Matrix();     matrix.a = -1;     matrix.tx = 2*100+ t.width;     ape.graphics.drawTexture(t,100,100,t.width,t.height,matrix);     Laya.stage.addChild(ape);     ape...

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

768. 在js代码中,let 是什么意思 [ 71%]

在js代码中,let 是什么意思 比如 let ape = new Laya.Sprite(); 和 var ape = new Laya.Sprite(); 有什么区别吗 2019-01-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 姜波 赞同来自: faith_le...

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

769. laya.d3.component.LODInfo_API3.0 [ 71%]

...小通过率 Parameters value: number Returns void renders get renders(): Sprite3D[] set renders(value: Sprite3D[]): void Defined in laya/d3/component/LODGroup.ts:93 设置LODInfo的节点信息 Returns Sprite3D[] Defined in laya/d3/component/LODGroup.ts:86 设置LODInfo的节点信息 Parameters va...

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

770. laya.ui.Tab_API3.0 [ 71%]

...: 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