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

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

491. movieclip destroy 后重新加载失败 [ 78%]

...==========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

492. laya.display.BitmapFont_API3.0 [ 78%]

...体字号,使用时,如果字号和设置不同,并且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

493. Laya截图3D场景相关模型,导致模型透视! [ 78%]

...缀模型资源。 具体代码如下: (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

494. 自己写了个label继承官方的label,出现了问题,求指导~ [ 78%]

...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

495. 我想把flex项目转为laya ts项目,转换过程 mx.containers.Canvas报错 [ 78%]

...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

496. List滚动条问题 [ 78%]

...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

497. laya.physics.RigidBody [ 78%]

...对象 RigidBody  bullet : Boolean是否高速移动的物体,设置为true,可以防止高速穿透RigidBody  category : int = 1[只读]碰撞类别,使用2的幂次方值指定,有32种不同的碰撞类别可用RigidBody destroyed : Boolean[read-only] 获取是否已经销毁 。 Com...

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

498. 关于微信小游戏关系链的问题 [ 78%]

...(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

499. 材质-BlinnPhong-反射贴图 [ 78%]

...种开发语言、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

500. LayaRender渲染含有多个part的Body存在Bug [ 78%]

...(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