大约有 6,598 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0215 秒)
Laya_社区(5247) Laya3.0_api(482) Laya2.0_文档(363) Laya_示例(154) Laya2.0_示例(116) Laya3.0_文档(105) Laya2.0_api(67) laya_api(64)
...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
...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
...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
...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
...", 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
...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
...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
... MethodDefined By FrameOverTime() 创建一个 FrameOverTime,不允许new,请使用静态创建函数。 实例。 FrameOverTime clone():* 克隆。 FrameOverTime cloneTo(destObject:*):void 克隆。 FrameOverTime createByConstant(constant:Number):FrameOverTime[static] 通过固定...
来源: laya_api 发布时间: 20170929
... MethodDefined By FrameOverTime() 创建一个 FrameOverTime,不允许new,请使用静态创建函数。 实例。 FrameOverTime clone():* 克隆。 FrameOverTime cloneTo(destObject:*):void 克隆。 FrameOverTime createByConstant(constant:Number):FrameOverTime[static] 通过固定...
来源: Laya2.0_api 发布时间: 20190513
...("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