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

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

481. SCALE_FIXED_WIDTH适配屏幕的问题 [ 43%]

...Chrome/66.0.3359.126 MQQBrowser/6.2 T     代码如下,另附上demo  class Main {         private _roomId = 0;         constructor(roomId?: number) {             this._roomId = roomId;             Laya.init(750, 1218, Laya.WebGL);             Laya.Browser.document.tit...

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

482. laya.d3.core.MeshTerrainSprite3D [ 43%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames MeshTerrainSprite3DProperties | Methods | Events | Constants Packagelaya.d3.coreClasspublic class MeshTerrainSprite3DInheritanceMeshTerrainSprite3D MeshSprite3D RenderableSprite3D Sprite3D ComponentNode Node EventDispa...

来源: laya_api 发布时间: 20170929

483. 项目做了一周.然后打不开了.怎么办? [ 42%]

...ron-browser/workbench.main.js:95787 [Extension Host] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation d.logExtensionHostMessage @ /E:/laya/ide/LayaAirIDE_1.7.15/resources/app/out/vs/workbench/electron-browser/workbench.mai...

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

484. APP二次开发传字符串过长问题 [ 41%]

...。但是native打包安卓APP后, ExportJavaFunction.CallBackToJS(Test.class,"test",str); 二次开发中 APP调用JS方法的时候str字符串过长有丢失,请问是否有这个问题呢?请帮忙查看下? (字符串大概只收到1000个字符左右) 原字符串(在JAVA端打印...

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

485. Laya中的宏编译要怎么用啊 [ 40%]

...gn; import flash.display.StageScaleMode; import flash.events.Event; public class Main extends Sprite { public function Main():void { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } private function init(e:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, init); t...

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

486. [BUG]刚体约束问题,移动后约束混乱! [ 40%]

...建议用脚本方式实现,比如子弹脚本。  */ export default class GameUI extends ui.test.TestSceneUI {   private newScene:Laya.Scene3D;   private boxA: Laya.MeshSprite3D;   constructor() {     super();     Laya3D.init(00);     Laya.stage.scaleMode = Laya....

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

487. Laya2自动同步cullingMask方案以及灯光裁剪补丁 [ 40%]

...相机进行。因此务必保持与摄相机相同。 **/ export default class ExtCullingMask { public static enableLightCullingMask(scene: Laya.Scene3D) { //var proto = Laya.Scene3D.prototype as any; (scene as any).lightCullingMask = function (scene, camera) { //灯光处理开始 麒麟子添加 ...

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

488. laya.ui.Tree [ 38%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames TreeProperties | Methods | Events Packagelaya.uiClasspublic class TreeInheritanceTree Box UIComponent Sprite Node EventDispatcher ObjectImplements IRender Tree 控件使用户可以查看排列为可扩展树的层次...

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

489. 网络通信 · LayaAir3文档 · LAYABOX [ 38%]

...备发送请求的功能。我们写个简单的例子来看下用法: class LayaSample { constructor() { //创建HttpRequest对象 let http: Laya.HttpRequest = new Laya.HttpRequest(); //设置超时时间 http.http.timeout = 10000; //发送了一个简单的请求 http.send("resources/data.txt", ...

来源: Laya3.0_文档 发布时间: 20250104

490. HttpRequest详解(JavaScript-LayaAir基础篇(JS)-数据与通信) [ 37%]

...n HttpRequestExtension() { HttpRequestExtension.__super.call(this); } Laya.class(HttpRequestExtension, 'HttpRequestExtension', _super); var __proto = HttpRequestExtension.prototype; __proto.send = function (url, data, method, responseType, headers) { (method === void 0) && (method = "get"); (respons...

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