大约有 963 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0061 秒)
... 关于zOrder层级问题 IDE创建的UI 层级问题 如何动态的设定sprite的覆盖层级 laya 2.0 box2d 重力缩放系数 和 重力系数的关系 关系链报错,没有找到window 微信关系链开发,如果在开放域那边使用Laya.loader.load加载就会出错 ui 编辑器里 ...
来源: Laya_社区 发布时间: 20161221
...aya.stage.addChild(text);//将 text 添加到显示列表。 } } Hierarchy Sprite Text Input Index Constructors constructor Properties _extra _onPostLayout _ownGraphics _parseEscapeChars _scene _skinBaseUrl _url autoSize hitTestPrior ignoreLang mouseThrough name tag ELLIPSIS HIDDEN RightToLeft SCROL...
来源: Laya3.0_api 发布时间: 20231115
循环复制了三次,scence打印出来也只有三个sprite,但是显示了五个 for(var i=0;i<3;i++) { var aa=Util.Block.clone(); aa.transform.localPositionX=i; aa.transform.localPositionY=0; console.log("白色方块位置"+aa.transform.localPositionX); console.log(aa.transform.localPos...
来源: Laya_社区 发布时间: 20191111
在一个sprite3D上添加子物体camera ,也能够看到其他的物体。。。请问如何在摄像机中只看到一个想看到的sprite3D对象呢? 2017-08-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...
来源: Laya_社区 发布时间: 20170811
[LayaAir3]有宽高的空Sprite节点在设置mouseThrough为true之后不响应触摸事件 版本3.1.2,看源码是mouseThrough为true之后取可点区域是graphicBouds,但是空节点的graphicBouds宽高为0;(不知道这算不算bug,但不提bug官方似乎基本不看) 后续--- ...
来源: Laya_社区 发布时间: 20240403
给mesh添加物理组件就报错 var mesh: Laya.MeshSprite3D = this.track._children[this.track.numChildren - 1]; var collider: Laya.PhysicsCollider = mesh.addComponent(Laya.PhysicsCollider); var shape: Laya.MeshColliderShape = new Laya.MeshColliderShape(); shape.mesh = mesh.meshFilter.sharedMes...
来源: Laya_社区 发布时间: 20190715
...ndefined 3d 添加灯光 模型变的黑呼呼的 很多黑面 为什么给Sprite容器添加点击事件没反应 Adobe Flash Builder 4.7无法编译Laya2.6.1创建的3D示例项目 项目分包后, 运行出错 图片添加点击事件 有的不生效 问题状态 最新活动: 2015-11-11 21:34 ...
来源: Laya_社区 发布时间: 20151111
sprite绘制三角形完成后显示在左上角且只显示在左上角 三角形绘制完成之后 修改了精灵的x,y但是三角形图像显示位置还是没有发生变化 但是事件触发区域以及变化了, 附件 : --> dome.zip 2019-02-27 添加评论 免费帖 --> 分享 微博 ...
来源: Laya_社区 发布时间: 20190227
Sprite graphics的显示比例问题 function createCharacter(skin) { var character = new Laya.Sprite(); character.loadImage(skin, 0, 0, 200, 200, Laya.Handler.create(this, function () {console.log('KO!~'); })); character.graphics.drawLine(0, 200, 200, 0, "#ff0000", 1); character.graphics.drawLine(...
来源: Laya_社区 发布时间: 20170828
...3.core.lightClasspublic class DirectionLightInheritanceDirectionLight LightSprite Sprite3D Node EventDispatcher Object DirectionLight 类用于创建平行光。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是...
来源: Laya2.0_api 发布时间: 20190513