大约有 3,617 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0145 秒)
Laya_社区(2682) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) Laya3.0_文档(104) laya_api(98) Laya_示例(83) Laya2.0_示例(45)
...==========test================ >>getMovieClipAtlas: res/swf/bomb.swf true >>onLoadedHandler1: Handler {once: true, _id: 6, caller: LayaSample, args: undefined} >>bomb: MovieClips {frames: 0, callback: null, _isRemove: false, _group: null, _start: 384…} Texture {offsetX: 0, offset...
来源: Laya_社区 发布时间: 20170523
...体字号,使用时,如果字号和设置不同,并且autoScaleSize=true,则按照设置字号比率进行缩放显示。 letterSpacing letterSpacing: number = 0 Defined in laya/display/BitmapFont.ts:26 lineHeight lineHeight: number = 12 Defined in laya/display/BitmapFont.ts:25 Optional lock...
来源: Laya3.0_api 发布时间: 20231115
...缀模型资源。 具体代码如下: (function () { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var resUrl = "../bin/res/modles/role_48_lurenyi/role_48_lurenyi.lh"; var scene = Laya.stage.addChild(new Laya.Scene()); var c...
来源: Laya_社区 发布时间: 20180503
...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_示例 发布时间: 20260303
...(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