大约有 3,603 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0106 秒)
Laya_社区(2675) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) laya_api(98) Laya3.0_文档(97) Laya_示例(83) Laya2.0_示例(45)
...r textFormat:TextFormat = new TextFormat("Microsoft YaHei", 50, "#FF00FF", true, true, true); label.textFormat = textFormat; label.wordWrap = true; label.lWidth = 100; label.lHeight = 100; label.txt = "Hello"; label.lx = 100; label.ly = 100; Laya.stage.addChild(label); //----------------------------...
来源: Laya_社区 发布时间: 20170516
...mx="http://www.adobe.com/2006/mxml" width="144" height="590" mouseEnabled="true"> <mx:Canvas width="144" height="590" x="0" y="0" horizontalScrollPolicy="off" verticalScrollPolicy="off"> <!-- left border --> ...
来源: Laya_社区 发布时间: 20180202
...ont.family; this._goldLabel.bold = (parseInt(font.bold | 0) == 0 ? false : true); this._goldLabel.fontSize = parseInt(font.size); this._goldLabel.underline = (parseInt(font.underline | 0) == 0 ? false : true); this._goldLabel.align = "center"; this._goldLabel.valign = "middle"; this._goldLabel.pos(0...
来源: Laya_社区 发布时间: 20170422
...对象 RigidBody bullet : Boolean是否高速移动的物体,设置为true,可以防止高速穿透RigidBody category : int = 1[只读]碰撞类别,使用2的幂次方值指定,有32种不同的碰撞类别可用RigidBody destroyed : Boolean[read-only] 获取是否已经销毁 。 Com...
来源: Laya2.0_api 发布时间: 20190513
...(Browser.window.sharedCanvas); rankTexture.bitmap.alwaysChange=true; console.log(rankTexture) LayaUISample.scoreview.graphics.drawTexture(rankTexture,5,78,rankTexture.width,rankTexture.height); }); var rankTexture=new Texture(Browser.window.sharedCanvas); 这里报错...
来源: Laya_社区 发布时间: 20180310
...种开发语言、LayaAirIDE让项目开发更高效。Laya3D.init(0, 0, true); this.rotation = new Laya.Vector3(0, 0.01, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene = Laya.stage.addChild(new Laya.Scene()); var camera ...
来源: Laya_示例 发布时间: 20251209
...(text, 0, 0, w, h); partA = Matter.Bodies.rectangle(x, y, w, h, { isStatic:true, layaSprite:sp, }); sp = new Laya.Sprite(); w = size/5, h=size; sp.pivot(w/2, h/2); sp.graphics.fillTexture(text, 0, 0, w, h); partB = Matter.Bodies.rectangle(x, y, w, h, { isStatic:true, layaSprite:sp, }); var comp ...
来源: Laya_社区 发布时间: 20180625
... item.removeSelf(); item.visible = true; Pool.recover("item", item); item.graphics.clear(); } item的父容器是通过回收池获取的,父容器带有原来的item,现在希望删掉...
来源: Laya_社区 发布时间: 20170113
...包含指定的 Node 节点对象 。 Node destroy(destroyChild:Boolean = true):void[override] 销毁此对象。destroy对象默认会把自己从父节点移除,并且清理自身引用关系,等待js自动垃圾回收机制回收。destroy后不能再使用。 destroy时会移除自身的事...
来源: Laya2.0_api 发布时间: 20190513
...下修改 "front":"../sky.png", "params":{ "mipmap":true, "filterMode":1, "wrapModeU":0, "wrapModeV":0, "anisoLevel":1, "format":0 }, "back":"../sky 1.png", "params":{ "mipma...
来源: Laya_社区 发布时间: 20180508