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

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

1961. laya.d3.core.ui3d.UI3DManager_API3.0 [ 65%]

...I3Dlist Methods add destory rayCast remove update Constructors constructor new UI3DManager(): UI3DManager Defined in laya/d3/core/UI3D/UI3DManager.ts:7 Returns UI3DManager Properties _UI3Dlist _UI3Dlist: SingletonList<UI3D> = new SingletonList<UI3D>() Defined in laya/d3/core/UI3D/UI3DMan...

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

1962. 使用以下代码打开超大分辨率图片 WebGL 模式无法正常显示 [ 65%]

...it(900,1440,Laya.WebGL); //WebGL Laya.Stat.show(0,0); let sp:Laya.Sprite = new Laya.Sprite; //sp.loadImage("comp/big.png"); //读取分辨率小的图片 正常 sp.loadImage("comp/hug.png"); //读取大分辨率图片 无法显示 Laya.stage.addChild(sp); } } new GameMain();//问题描述 客户要...

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

1963. runtime运行报错! [ 65%]

...lassmap"][runtime]):View.uiClassMap[json.type];      return compClass ? new compClass():null;  } 这第2句代码貌似不正常啊?改成下面的样子试试:       var compClass=(View.viewClassMap[runtime] || Laya["__classmap"][runtime])?runtime:View.uiClassMap[json.type];   改完...

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

1964. 加载-加载序列 [ 65%]

...mLoaded == 3) { Laya.loader.maxLoader = 5; console.log("All done."); } } } new Loader_Sequence();module laya { import Texture = Laya.Texture; import Handler = Laya.Handler; export class Loader_Sequence { private numLoaded: number = 0; private resAmount: number = 3; constructor() { Laya.init(500, 400...

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

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

...", true); // 设置画布上的对齐参照物 var reference:Laya.Sprite = new Laya.Sprite(); Laya.stage.addChild(reference); reference.pos(100, 100); reference.size(600, 400); reference.graphics.drawRect(0, 0, reference.width, reference.height, "#CCCCCC"); // 每次舞台尺寸变更时,都会调...

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

1966. 构建3d示例的Android工程,生成nativie的,导入android Studio中运行,报错 [ 65%]

...yer加速器?如你们构建出的android的nativie的代码中 mProxy = new RuntimeProxy(this); mPlugin = new GameEngine(this);  mPlugin.game_plugin_set_runtime_proxy(mProxy);  mPlugin.game_plugin_set_option("localize","false");  mPlugin.game_plugin_set_option("gameUrl", "");  mPlugin.game_pl...

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

1967. laya2 物理引擎好多问题 [ 65%]

...se; var self:Laya.Sprite= this.owner as Laya.Sprite; var ni:Laya.Animation=new Laya.Animation(); self.addChild(ni); self.texture=null; ni.source='baozha/baozha_0.png,baozha/baozha_1.png,baozha/baozha_2.png,baozha/baozha_3.png,baozha/baozha_4.png,baozha/baozha_5.png,baozha/baozha_6.png,baozha/baozha_...

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

1968. laya.d3.core.particleShuriKen.module.FrameOverTime [ 65%]

...  MethodDefined By  FrameOverTime() 创建一个 FrameOverTime,不允许new,请使用静态创建函数。 实例。 FrameOverTime  clone():* 克隆。 FrameOverTime  cloneTo(destObject:*):void 克隆。 FrameOverTime  createByConstant(constant:Number):FrameOverTime[static] 通过固定...

来源: laya_api 发布时间: 20170929

1969. laya.d3.core.particleShuriKen.module.FrameOverTime [ 65%]

...  MethodDefined By  FrameOverTime() 创建一个 FrameOverTime,不允许new,请使用静态创建函数。 实例。 FrameOverTime  clone():* 克隆。 FrameOverTime  cloneTo(destObject:*):void 克隆。 FrameOverTime  createByConstant(constant:Number):FrameOverTime[static] 通过固定...

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

1970. as中BoxCollider引入了,但是运行的时候还是提示null [ 65%]

...("model/warehouse/warehouse.lh")) as Sprite3D; warehouse1.transform.rotate(new Laya.Vector3(0, 0, 0), false, false); warehouse1.transform.translate(new Laya.Vector3(-25,0,0),false); var warehouseMeshSprite3D1 :MeshSprite3D = warehouse1.getChildAt(0).getChildByName("Mesh1") as MeshSprite3D; //添加...

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