大约有 2,743 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0090 秒)
Laya_社区(2217) Laya2.0_文档(123) Laya3.0_api(106) Laya_示例(84) Laya2.0_api(57) Laya2.0_示例(55) laya_api(53) Laya3.0_文档(48)
Sprite3D.transform.pivot默认为null?这不科学啊,我为什么获取为null? Sprite3D.transform.pivot默认为null?这不科学啊,我为什么获取为null? 2017-08-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接...
来源: Laya_社区 发布时间: 20170815
...之后不生效,是因为现在不支持颜色渐变吗? 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
...: 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
...小程序API TextInput重写onFocus和onBlur事件监听不到 如何设置Sprite的宽高和点击区域? 求指点3d射线碰撞和UI点击穿透的问题 救命!canvas定位后 点击区域偏移,求大大们解答 Animation如何加点击事件 关于遍历产生的sprite的点击事件,...
来源: Laya_社区 发布时间: 20170815
...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
...: 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
...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
在js代码中,let 是什么意思 比如 let ape = new Laya.Sprite(); 和 var ape = new Laya.Sprite(); 有什么区别吗 2019-01-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 姜波 赞同来自: faith_le...
来源: Laya_社区 发布时间: 20190129
...小通过率 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
...: 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