大约有 3,979 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0078 秒)
Laya_社区(2827) Laya2.0_文档(369) Laya2.0_api(225) laya_api(169) Laya_示例(157) Laya2.0_示例(117) Laya3.0_api(62) Laya3.0_文档(53)
...ndBox:BoundBox):void[override] ConeShapeProperty Detailanglepropertypublic var angle:Number发射角度。emitTypeproperty public var emitType:int发射类型,0为Base,1为BaseShell,2为Volume,3为VolumeShell。lengthproperty public var length:Number椎体长度。radiusproperty public var radius...
来源: Laya2.0_api 发布时间: 20190513
...aya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; var skins: Array = []; skins.push("res/ui/hslider.png", "res/ui/hslider$bar.png"); skins.push("res/ui/vslider.png", "res/ui/vslider$bar.png"); Laya.loader.load(skins, Handler.create(this, this.onLoadComplete)); } private onLo...
来源: Laya2.0_示例 发布时间: 20250223
...效果? public static function getScreenshot(bl:int=15):Sprite{ var htmlC:HTMLCanvas =_self.drawToCanvas(1334,750,0,0); var _texture:Texture = new Texture(htmlC); var sp2:Sprite = new Sprite(); sp2.graphics.drawTexture(_texture,0,0,1334,750); var blurFilter:BlurFil...
来源: Laya_社区 发布时间: 20170825
...ort mx.core.UIComponent; public var cabId:int = 0; public var U:int = 42; public var frameFace:int = 1; public function add(child:UIComponent):void { ...
来源: Laya_社区 发布时间: 20180202
...两段代码,会有啥问题? 177*****022 • 2019-12-13 19:42 @NilZ: var scene3d = new Laya.Scene3D(); Laya.stage.addChild(scene3d); var camera = new Laya.Camera(0, 0.1, 1000); scene3d.addChild(camera); camera.transform.rotate(new Laya.Vector3(-45, 0, 0), false, false); camera.transform.transla...
来源: Laya_社区 发布时间: 20191206
...tartPage is not a constructor" StartPage: /**Created by the LayaAirIDE*/ var StartPage=(function(_super){ function StartPage(){ StartPage.__super.call(this); } Laya.class(StartPage,'view.StartPage',_super); return StartPage; })(StartPageUI) LayaSample: var LayaSample = (function(){ (function(){ ...
来源: Laya_社区 发布时间: 20181029
...通过刚体和贴图间的联系来实现。 for(let i=0;i <5; i++){ var bodyA = Matter.Bodies.circle(bodyLocationArr[i].x, bodyLocationArr[i].y, 50,Options); this.boxBody = []; this.boxBody.push(bodyA); var img1 = new Laya.Sprite(); img1.loadImage("../xxxx.png",0,0,100,100); var img2 = new Laya...
来源: Laya_社区 发布时间: 20180901
...is.yoffset = -15.0; this.zdistance = 200.0; } public static initShader() { var attributeMap: object = { "a_Position": Laya.VertexMesh.MESH_POSITION0, "a_Normal": Laya.VertexMesh.MESH_NORMAL0, "a_Textcoord": Laya.VertexMesh.MESH_TEXTURECOORDINATE0, "a_Textcorrd1": Laya.VertexMesh.MESH_TEXTURECOORDINA...
来源: Laya_社区 发布时间: 20201009
...ya.utils.Handler; import ui.TestTipsUI; public class ToolTipDemo { private var _testTip:TestTipsUI;//ui弹框(IDE发布),用于鼠标悬浮提示框 private var _tip:TipManager;//实例化TipManager public function ToolTipDemo() { Laya.init(Browser.width,Browser.height); Laya.stage.bgColor="#e...
来源: Laya_社区 发布时间: 20161115
...浮点数据 this.byte.writeUTFString("hello");// 写入一个字符串; var by = new Laya.Byte();//这里声明一个临时Byte类型 by.endian = Laya.Byte.LITTLE_ENDIAN;//设置endian; by.writeInt32(5000);//写入一个int32数据 by.writeUint16(16);//写入一个uint16 数据 this.byte.writeA...
来源: Laya2.0_文档 发布时间: 20210714