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

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

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

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

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

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

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

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

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

714. laya.d3.core.scene.Scene3D_API3.0 [ 60%]

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

715. laya.ui.FontClip_API3.0 [ 60%]

...aSource destroyed direction disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray group height hideFlags hitArea index interval is3D isPlaying left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right ro...

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

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

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

717. 没有预加载的图片怎么获取width和height ? [ 60%]

...();      older.loadImage("../laya/assets/comp/image.png");     Laya.stage.addChild(older);     console.log(older.scaleX,older.scaleY,older.rotation,older.x,older.y, older.width,older.height,older.getBounds().width,older.getBounds().height);      older.scale(2,2);     console.log(o...

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

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

...aSource destroyed direction disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D items labelBold labelColors labelFont labelPadding labelSize labelStroke labelStrokeColor labels left mask mo...

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

719. VR的demo有没有加载3D场景的啊,实在不知怎么加 [ 59%]

...都看不到, 附件有场景模型文件 Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_HORIZONTAL; Laya.Stat.show(); //var scene = Laya.stage.addChild(new Laya.Scene.load("cj02/LastHopeScene.ls")); var scene = Laya.stage.addChild(n...

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

720. 怎么获取当前帧频 [ 59%]

...容相关的链接 提交 1 个回复 cuixueying 赞同来自:     Laya.stage.frameRate 2017-03-13 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 king 相关问题 请问有没有方法能够获取“鼠标是否处于按下状态”...

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