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

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

921. 使用blendMode=add模式时,某些手机上无法正常显示,出现黑底 [ 48%]

...     Laya.stage.addChild(image);              var index:int = 0;             Laya.stage.timerLoop(1, this, function():void{index++;image.alpha = Math.sin(Math.PI*2*(index/24))})              var image:Image = new Image();             image.blend...

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

922. laya.ui.Widget [ 48%]

... Component enabled : Boolean 获取是否启用组件。 Component id : int[read-only] 获取唯一标识ID。 Component isSingleton : Boolean[read-only] 获取是否为单实例组件。 Component  left : Number表示距左边的距离(以像素为单位)。Widget owner : Node [只读]获...

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

923. Hbox Vbox 创建的数量多了后不是按创建的顺序显示 [ 48%]

...ox同理: var hbox:HBox=new HBox(); Laya.stage.addChild(hbox); for(var i:int=0;i<20;i++) { var label:Label=new Label(); label.text='label:'+i; label.y=i*10; label.x=i*20; hbox.addChild(label); } 懒懒 • 2017-06-21 10:29 @cuixueying:建议能按添加的顺序排序,这样方便些 cuixueyi...

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

924. 重力感应 Accelerator 发布微信游戏后失效。是因为什么? [ 48%]

...nitorAccelerator(acceleration, accelerationIncludingGravity, rotationRate, interval) {         let x = accelerationIncludingGravity.x;         let y = accelerationIncludingGravity.y; }   发布微信游戏后手机上失效,如果是发布成网页是手机可以用的。   是因为微...

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

925. Unity 导出预设报错 [ 47%]

... r.k () r.b (System.String A_0) LayaAir3D.exportResource (Boolean isDebug, Int32 Platformindex, System.String lastname) LayaAir3D.ExportResources () LayaAir3D.OnGUI () System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] pa...

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

926. laya.d3.component.physics.MeshCollider [ 47%]

...。 Component3D enable : Boolean 获取是否启用。 Component3D id : int[read-only] 获取唯一标识ID。 Component3D isSingleton : Boolean[override] [read-only] 获取是否为单实例组件。 Collider  mesh : BaseMesh 获取碰撞器网格。 MeshCollider owner : ComponentNode[read-on...

来源: laya_api 发布时间: 20170929

927. laya.physics.joint.PulleyJoint [ 47%]

...ntationAll Packages | All Classes | Index | Frames No Frames PulleyJointProperties | Methods Packagelaya.physics.jointClasspublic class PulleyJointInheritancePulleyJoint JointBase Component Object 滑轮关节:它将两个物体接地(ground)并彼此连接,当一个物体上升,另一...

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

928. iframe页面嵌套下失焦(焦点在父窗口被聚焦),playMusic背景音乐播放无声音 [ 47%]

...音乐播放无声音 public static function playSound(url:String, loops:int = 1, complete:Handler = null, soundClass:Class = null, startTime:Number = 0):SoundChannel { if ((!_isActive && loops != 0) || !url) return null; if (_muted) return null; _recoverWebAudio(); url = URL.formatURL(url);...

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

929. APK-update(TypeScript-LayaNative原生服务-LayaNative进阶) [ 47%]

...ir/AutoUpdate_2.0.0.apk ``` versionCode:是当前的版本号,类型为int类型 name:应用名称 version:版本号信息,类型为字符串 url:apk的下载地址 **【注意:此行代码不允许有空格或回车】** 3、正确设置你自己工程中的manifest.xml或者build.gradl...

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

930. laya.physics.joint.DistanceJoint [ 47%]

...ationAll Packages | All Classes | Index | Frames No Frames DistanceJointProperties | Methods Packagelaya.physics.jointClasspublic class DistanceJointInheritanceDistanceJoint JointBase Component Object 距离关节:两个物体上面各自有一点,两点之间的距离固定不变 Public...

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