大约有 2,159 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0062 秒)
Laya3.0_api(672) Laya_社区(472) Laya2.0_api(357) laya_api(289) Laya_示例(150) Laya2.0_示例(112) Laya2.0_文档(98) Laya3.0_文档(9)
...am originURL 源路径 * @return 格式化后的新路径 */ public static function addVersionPrefix(originURL:String):String { if (manifest && manifest["resource/"+originURL]) return manifest["resource/"+originURL] + "/resource/" + originURL; return originURL; ...
来源: Laya_社区 发布时间: 20170815
...手机后显示黑屏 不设置自动竖屏又正常 public function LayaSample() { //初始化引擎,建议增加WebGl模式 Laya.init(720, 1280,WebGL); // Stat.show(); //全屏不等比...
来源: Laya_社区 发布时间: 20180105
...t onStart onUpdate LODInfo tempVec tempVec1 Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Accessor Inherited property Inherited method Inherited accessor Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...的WebAudioSound类的dispose方法改了,改成了这样: public function dispose():void { delete _dataCache[url]; delete __loadingSound[url]; this.audioBuffer = null; this.data = null; this.__toPlays = []; super.dispose(); } 如果不添加最后4行代码的话,每次切换回来内...
来源: Laya_社区 发布时间: 20180205
... getIColliderCollision setColliderCollision Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Static property Static method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...ils.Browser; import laya.utils.Handler; public class Tree_Example { public function Tree_Example() { Laya.init(640, 800); Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resou...
来源: Laya3.0_api 发布时间: 20231115
...en/skinModel/dude/dude.lh")); dude.once(Laya.Event.HIERARCHY_LOADED, this, function () { var customMaterial1 = new CustomMaterial(); customMaterial1.setDiffuseTexture(Laya.Texture2D.load("../../res/threeDimen/skinModel/dude/Assets/dude/head.png")); customMaterial1.setMarginalColor(new Laya.Vector3(1...
来源: Laya_示例 发布时间: 20260106
... ```javascript var http = require("http"); var sever = http.createServer(function(req,res){ res.end("LayaSample.onComplete()"); }); sever.listen(9090) ``` ```javascript res.end("LayaSample.onComplete()"); ``` 这句话的意思是服务器回传给客户端LayaSample.onComplete()并且执行这个...
来源: Laya2.0_文档 发布时间: 20210715
...apMode getTexturewithInfo pickMeshMaterials Legend Object literal Variable Function Type alias Class Class with type parameter Static property Static method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231102
LayaAir2.0开始就无法设置透明背景了吗? public function Main() { //根据IDE设置初始化引擎 Config.isAlpha = true; Laya.init(480, 900); Laya.stage.bgColor = "none"; } AS3版,从Laya1.x升级过来之后,发现2.0-2.8都无法通过这个来设置背景透明。 这让人...
来源: Laya_社区 发布时间: 20200816