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

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

611. Android真机调试JavaScript(TypeScript-LayaNative原生服务-LayaNative基础文档) [ 75%]

...网址: >chrome-devtools://devtools/bundled/inspector.html?experiments=true&v8only=true&ws=10.10.82.142:5959 **注意:** ws=10.10.82.142:5959里的10.10.82.142是Android测试机的ip地址,5959是步骤2中config.ini文件里JSDebugPort设置的端口号值,请根据自己设备的实际情...

来源: Laya2.0_文档 发布时间: 20210715

612. HTMLDivElement 2.0 只有单行内容是 水平排版不居中 [ 75%]

...'>abc</div>     * style支持的属性如下:      * italic:true|false;                   是否是斜体      * bold:true|false;                     是否是粗体      * letter-spacing:10px;                 字间距 ...

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

613. skeleton 设置灰态问题!!gray [ 75%]

...eton 设置灰态问题!!gray 编辑模式 把容器 box 设置 gray = true。 动画可以灰态。 但是 运行模式 box 设置 gray = true 。动画 只有 一部分 灰态。 2018-08-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...

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

614. 文本-自动换行 [ 75%]

...0; txt.color = "#ffffff"; // 设置文本是否自动换行 txt.wordWrap = true; txt.x = Laya.stage.width - txt.textWidth >> 1; txt.y = Laya.stage.height - txt.textHeight >> 1; } } new Text_Scroll();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Browser = Laya.Browser; impo...

来源: Laya2.0_示例 发布时间: 20260303

615. laya.events.MouseManager_API3.0 [ 75%]

...ager.ts:32 canvas 上的鼠标Y坐标。 Static enabled enabled: boolean = true Defined in laya/events/MouseManager.ts:26 是否开启鼠标检测,默认为true Static instance instance: MouseManager = new MouseManager() Defined in laya/events/MouseManager.ts:23 MouseManager 单例引用。 Static...

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

616. laya.resource.AtlasResource_API3.0 [ 75%]

...esource.lock Defined in laya/resource/Resource.ts:103 是否加锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:105 名称。 Readonly textures textures: Array<Texture> Defined in laya/resource/Atl...

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

617. 【字节小游戏】游戏中播放视频 [ 75%]

... 1; videoElement.src = "../../res/av/mov_bbb.mp4"; videoElement.controls = true; // 阻止IOS视频全屏 videoElement.setAttribute("webkit-playsinline", true); videoElement.setAttribute("playsinline", true); // 设置画布上的对齐参照物 var reference:Laya.Sprite = new Laya.Sprite(); Laya.st...

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

618. VR场景-VR场景 [ 75%]

...种开发语言、LayaAirIDE让项目开发更高效。Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var scene = Laya.stage.addChild(Laya.Scene.load("../../res/threeDimen/scene/Arena/Arena.ls")) //与3d场景的不同是添加...

来源: Laya_示例 发布时间: 20260303

619. 请问2.0中js怎么加天空盒子或穹顶,官网例子运行报错。 [ 74%]

...ya.Vector3(0, 3, 3)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); camera.addComponent(CameraMoveScript); camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; //camera.clearColor =null; //天空盒 var skyBox = new Laya.SkyBox(); camera.sky = skyBox; skyBox.textureCube = Laya.Text...

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

620. 3d场景下面有张2d的图片,当鼠标焦点不在该网页时,2d图片为啥会闪动 [ 74%]

...      sprite0.pos(0,0 );             sprite0.cacheAsBitmap = true;             Laya.stage.addChildAt(sprite0,0);                          var sprite1:Sprite = new Sprite();             sprite1.loadImage("creatRoom/background_bk.png");          ...

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