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

大约有 890 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0073 秒)

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

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

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

714. 微信小游戏报错 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

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. 没有预加载的图片怎么获取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

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

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

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

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

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%]

... var ring = new myRing(600, 300, 18, "#087729", 40, "#a87729");     Laya.stage.addChild(ring.sprite); }   laya_test();   代码如上,点击绘制的圆环,无触发事件 使用的库为LayaAirJS_1.5.5_beta,库内无修改   laya air引擎使用过程中,经常发现各种不触发事...

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