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

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

711. loading界面实现图片预加载后,创建Sprite执行loadImage出错 [ 60%]

...       切换界面使用了三种方式:             a、Laya.stage.removeChild            b、Loading.destroy            c、loading.visible = false; 5、出现错误现象:       Sprite无法创建,console给出的错误提示为:       Uncaught TypeError: tex...

来源: Laya_社区 发布时间: 20171015

712. 物理引擎,我按照官方例子做的,不知道那里写错了,总是报这个错,大神帮我看下 [ 60%]

...laya.utils.Browser; public class Retitution extends Sprite { private const stageWidth:int = 800; private const stageHeight:int = 600; private var Matter:Object = Browser.window.Matter; private var LayaRender:Object = Browser.window.LayaRender; private var mouseConstraint:*; private var engine:*; /**...

来源: Laya_社区 发布时间: 20171214

713. laya.ui.AdvImage_API3.0 [ 60%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray group height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scen...

来源: Laya3.0_api 发布时间: 20231102

714. replaceSlotSkinName对于spine换肤不成功 [ 60%]

...ildArmature(1); skeleton0.pos(200,700); skeleton0.showSkinByIndex(1); Laya.stage.addChild(skeleton0); skeleton0.replaceSlotSkinName("head","goblin/head","goblingirl/head"); skeleton0.play("walk",true,true,0,0,true); } } new GameMain();   2018-01-26 添加评论 免费帖 --> 分享 微博 QZONE 微...

来源: Laya_社区 发布时间: 20180126

715. 2.0label不改变文本内容,label颜色无法直接改变,1.0可以 [ 59%]

...           this.label.zOrder=9980             Laya.stage.addChild(this.label);             this.label.visible = false;             this.OpenLabel();         }         private OpenLabel() {             this.label.visible = tru...

来源: Laya_社区 发布时间: 20190514

716. laya.ui.ScrollBar_API3.0 [ 59%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hide hideFlags hitArea is3D isVertical lastOffset left mask max min mouseEnabled mouseWheelEnable mouseX mouseY numChildren parent p...

来源: Laya3.0_api 发布时间: 20231115

717. texture2D的setPixel纹理rgba数据之后会随着窗口的缩放,渐变成黑色 [ 59%]

...exture:Laya.Texture2D; private box; constructor(){ Laya3D.init(0, 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.Scene3D()) as Laya.Scene3D; var camera = scene.addChild(new Laya.Camera(0, 0....

来源: Laya_社区 发布时间: 20220815

718. laya.ui.Slider_API3.0 [ 59%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask max min mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY sc...

来源: Laya3.0_api 发布时间: 20231115

719. laya.d3.core.scene.Scene3D_API3.0 [ 59%]

...ullPass customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize enableFog filters fogColor fogDensity fogEnd fogMode fogRange fogStart globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea iblTex iblTexRGBD is3D lightmaps mask mouseEnabled mouse...

来源: Laya3.0_api 发布时间: 20231115

720. 微信小游戏报错 the .lh file root type must be Scene [ 59%]

...n3DPath); let scene: Laya.Scene = Laya.Scene.load(this.screen3DPath); Laya.stage.addChildAt(scene, 0); this.InitCamera(scene); return scene; } 微信小游戏报错 Scene: the .lh file root type must be Scene,please use other function to load this file.;at api readFile success callback function Erro...

来源: Laya_社区 发布时间: 20180323