大约有 1,063 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0084 秒)
Laya_社区(391) Laya2.0_api(241) laya_api(189) Laya2.0_文档(81) Laya_示例(65) Laya2.0_示例(51) Laya3.0_api(32) Laya3.0_文档(13)
... 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
... Component enabled : Boolean 获取是否启用组件。 Component id : int[read-only] 获取唯一标识ID。 Component isSingleton : Boolean[read-only] 获取是否为单实例组件。 Component left : Number表示距左边的距离(以像素为单位)。Widget owner : Node [只读]获...
来源: Laya2.0_api 发布时间: 20190513
...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
...nitorAccelerator(acceleration, accelerationIncludingGravity, rotationRate, interval) { let x = accelerationIncludingGravity.x; let y = accelerationIncludingGravity.y; } 发布微信游戏后手机上失效,如果是发布成网页是手机可以用的。 是因为微...
来源: Laya_社区 发布时间: 20180322
... 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
...。 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
...ntationAll Packages | All Classes | Index | Frames No Frames PulleyJointProperties | Methods Packagelaya.physics.jointClasspublic class PulleyJointInheritancePulleyJoint JointBase Component Object 滑轮关节:它将两个物体接地(ground)并彼此连接,当一个物体上升,另一...
来源: Laya2.0_api 发布时间: 20190513
...音乐播放无声音 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
...ir/AutoUpdate_2.0.0.apk ``` versionCode:是当前的版本号,类型为int类型 name:应用名称 version:版本号信息,类型为字符串 url:apk的下载地址 **【注意:此行代码不允许有空格或回车】** 3、正确设置你自己工程中的manifest.xml或者build.gradl...
来源: Laya2.0_文档 发布时间: 20210715
...ationAll Packages | All Classes | Index | Frames No Frames DistanceJointProperties | Methods Packagelaya.physics.jointClasspublic class DistanceJointInheritanceDistanceJoint JointBase Component Object 距离关节:两个物体上面各自有一点,两点之间的距离固定不变 Public...
来源: Laya2.0_api 发布时间: 20190513