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

大约有 1,928 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0106 秒)

1751. laya.ui.ViewStack [ 54%]

...lements IItem ViewStack 类用于视图堆栈类,用于视图的显示等设置处理。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall...

来源: laya_api 发布时间: 20170929

1752. laya.ui.HBox [ 54%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...

来源: Laya2.0_api 发布时间: 20190513

1753. laya.ui.AdvImage [ 54%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...

来源: Laya2.0_api 发布时间: 20190513

1754. laya.ui.View [ 54%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件...

来源: laya_api 发布时间: 20170929

1755. 按钮失效,同UI里的一个图片超链接点击后再返回,出现按钮失效。 [ 54%]

...ction(){ console.log("logo is onclicked"); //超链接 onLink(href); }); //设置 this.setting.on(Laya.Event.CLICK,null,function(){ console.log("setting is onclicked"); });  //链接地址 function onLink(data) { // TODO Auto Generated method stub Laya.Browser.window.location.href=data; }   } //...

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

1756. laya.ui.MoreGame [ 54%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。View anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。View autoDestroyAtClosed : Boolean = false场景被...

来源: Laya2.0_api 发布时间: 20190513

1757. laya.ui.ViewStack [ 54%]

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

1758. layabox AS3调用JS的示例有吗?(谢谢)。如果没有麻烦指点一二。求助。 [ 54%]

...ndow.CANNON; world = new CANNON.World(); world.gravity.set(0, 0, -9.8); // 设置碰撞检测类型 world.broadphase = new CANNON.NaiveBroadphase(); var groundShape:Object = new CANNON.Plane(); var groundBody:Object = new CANNON.Body({mass: 0, shape: groundShape}); world.add(groundBody); // 运算...

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

1759. 设置transform.localRotation之后,就不能再使用transform.rotate了 [ 54%]

设置transform.localRotation之后,就不能再使用transform.rotate了 laya3D, ... var ele=eleroot.getChildAt(0).clone(); ele.transform.position=new Laya.Vector3(0, 0, 0); scene.addChild(ele); ... ele.transform.rotate(new Laya.Vector3(10, 0, 0), true); //这里会有效 ele.transform.localRo...

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

1760. laya.display.FrameAnimation [ 54%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...

来源: Laya2.0_api 发布时间: 20190513