大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0105 秒)
Laya_社区(2475) Laya3.0_api(673) Laya2.0_api(357) laya_api(289) Laya2.0_文档(271) Laya_示例(157) Laya2.0_示例(116) Laya3.0_文档(35)
...建 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
...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
...ext; public class HelloLayabox { public function HelloLayabox() { //创建舞台,默认背景色是黑色的 Laya.init(600, 300); var txt:Text = new Text(); ...
来源: Laya2.0_文档 发布时间: 20210715
... 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
...博 QZONE 微信 a13121527420 - 哇啦哇啦哇啦! 赞同来自: public function set index(value:int):void { _index = value; if (_bitmap && _sources) { this.graphics.clear(); var splitArr:Arr...
来源: Laya_社区 发布时间: 20170601
...建 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
...ar WebGL = Laya.WebGL; var sp; function callback(event) { console.log(" callback test"); } function laya_test() { // 不支持WebGL时自动切换至Canvas ...
来源: Laya_社区 发布时间: 20161128
..., 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
...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
.../threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(null, function(sp){ //将模型加到场景上 var layaMonkey = scene.addChild(sp); })) ``` 编译运行上述代码,运行效果如图6。开发者们同时也可以测试,在单摄像机下时,DrawCall与三角面数会少...
来源: Laya2.0_文档 发布时间: 20210715