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

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

2191. laya.d3.core.material.ExtendTerrainMaterial_API3.0 [ 64%]

...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...

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

2192. 动画-图集动画 [ 64%]

...rivate const AniConfPath:String = "../../res/fighter/fighter.json"; public function Animation_Altas() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.sc...

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

2193. LayaAirIDE中第一个程序“Hello Layabox”(ActionScript-LayaAir基础篇(AS3)-快速上手) [ 64%]

...ext;     public class HelloLayabox     {         public function HelloLayabox()         {             //创建舞台,默认背景色是黑色的             Laya.init(600, 300);             var txt:Text = new Text();       ...

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

2194. 微信小游戏中不能加载proto文件 [ 64%]

...  request:fail invalid url "res/protobuf/Login.proto"   具体代码: (function () { var Loader = Laya.Loader; var Browser = Laya.Browser; var Handler = Laya.Handler; console.log("!____________________________________")  var ProtoBuf = Browser.window.protobuf;  // Laya.init(550, 400);  ProtoB...

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

2195. 最新版本 1.7.5 beta fontClip [ 64%]

...博 QZONE 微信 a13121527420 - 哇啦哇啦哇啦! 赞同来自: public function set index(value:int):void {             _index = value;             if (_bitmap && _sources) {                 this.graphics.clear();                 var splitArr:Arr...

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

2196. laya.d3.core.particleshuriken.ShurikenParticleMaterial_API3.0 [ 64%]

...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...

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

2197. 事件绑定不触发bug [ 64%]

...ar WebGL   = Laya.WebGL;         var sp;                  function callback(event) {             console.log(" callback test");         }                  function laya_test()         {             // 不支持WebGL时自动切换至Canvas     ...

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

2198. 使用laya官方示例代码制作微信小游戏无法显示 [ 64%]

..., Handler.create(null, beginLoad), Laya.ResourceVersion.FILENAME_VERSION); function beginLoad(){ Laya.loader.load("res/atlas/comp.atlas", Handler.create(null, onLoaded)); } function onLoaded(): void { //实例UI界面 new laya.UI_Label(); }   上图为在layaIDE中的显示效果。   不知道具...

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

2199. 新手入坑请教下各位大神关于LayaMaxUI问题 [ 64%]

...ew=Laya.View; import Dialog=Laya.Dialog; import Scene=Laya.Scene; var REG: Function = Laya.ClassUtils.regClass; export module ui.test { export class TestSceneUI extends Laya.Scene {         public scoreLbl:Laya.Label;         public tipLbll:Laya.Label; constructor(){ super()} createC...

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

2200. 多摄像机窗口的使用(JavaScript-3D基础(JS)-LayaAir3D之Camera) [ 64%]

.../threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(null, function(sp){ //将模型加到场景上 var layaMonkey = scene.addChild(sp); })) ``` 编译运行上述代码,运行效果如图6。开发者们同时也可以测试,在单摄像机下时,DrawCall与三角面数会少...

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