大约有 1,980 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0106 秒)
Laya_社区(1545) Laya2.0_文档(167) Laya3.0_文档(90) Laya3.0_api(83) Laya2.0_api(55) laya_api(39) Laya_示例(1)
...ra(0, 0.1, 100); scene.addChild(camera); //设置相机的名称 camera.name = "camera"; //相机平移位置 camera.transform.translate(new Laya.Vector3(0, 0.8, 1.5)); //旋转相机 came...
来源: Laya_社区 发布时间: 20190605
...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...
来源: Laya2.0_api 发布时间: 20190513
...lements IItem ViewStack 类用于视图堆栈类,用于视图的显示等设置处理。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场...
来源: Laya2.0_api 发布时间: 20190513
...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...
来源: Laya2.0_api 发布时间: 20190513
...一下 浪货界扛把子 • 2017-12-29 18:03 @Laya_Aaron:如果在这里设置为webgl的话也是会变透明的--------Laya.init(600, 400,Laya.WebGL); 浪货界扛把子 • 2017-12-29 18:05 @Laya_Aaron:测好了,记得说一下哈大哥,等着呢 Laya_Aaron • 2017-12-29 18:06 测了,正...
来源: Laya_社区 发布时间: 20171229
...作Sprite节点,除了常规节点的位移,旋转和缩放.还能够动态设置层级关系zOrder,锚点,尺寸 此外还有开发中经常需要用到的设置点击事件与穿透控制 4.操作文本节点,文本内容直接编辑 非常好用的基于拾色器的颜色调整 使用下拉框...
来源: Laya_社区 发布时间: 20190225
...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...
来源: Laya2.0_api 发布时间: 20190513
...left top right bottom的对象 重新计算他们的XY坐标 例如 A元素设置了 left:10 top:10 那么在noborder模式下面这个A元素实际的坐标是A.x = A.x + AppConfig.viewRect.x; A.y = A.y + AppConfig.viewRect.y; 附件 : --> 2017-12-05 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20171205
...听器能够接收事件通知。 如果侦听鼠标事件,则会自动设置自己和父亲节点的属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Node onAwake():void 组件被激活后执行,此时所有节点和组件均...
来源: Laya2.0_api 发布时间: 20190513
...删除对该对象的所有引用。Sprite提供的destory()方法会帮助设置内部引用为null。 例如,以下代码确保对象能够被作为垃圾回收: //创建一个Sprite实例 var sp:Laya.Sprite = new Laya.Sprite(); //将sp内部引用设置为null sp.destroy(); 当对象设置为...
来源: Laya3.0_文档 发布时间: 20251010