大约有 2,159 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0052 秒)
Laya3.0_api(672) Laya_社区(472) Laya2.0_api(357) laya_api(289) Laya_示例(150) Laya2.0_示例(112) Laya2.0_文档(98) Laya3.0_文档(9)
...ng"); earth2.meshRender.material = material; Laya.timer.frameLoop(1, this, function () { earth1.transform.rotate(this.rotation, false); earth2.transform.rotate(this.rotation, false); });class BlinnPhong_DiffuseMap { private rotation: Laya.Vector3 = new Laya.Vector3(0, 0.01, 0); constructor() { Laya3...
来源: Laya_示例 发布时间: 20260106
...Vec1 bindMeshNode bindRayNode getController Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Enumeration Interface Static property
来源: Laya3.0_api 发布时间: 20231115
...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...行 new HTMLImage.create(url, {onload: onload, onerror: onerror, onCreate: function(img:*):void { image = img; //增加引用,防止垃圾回收 imgCache[url] = img; }}); 这里的调用create本身就是返回一个对象了,为什么这里还能在new那个对象呢,而且如果用一个t去...
来源: Laya_社区 发布时间: 20180702
... private const CLOSE_BTN_PADDING:int = 5; private var assets:Array; public function UI_Dialog() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.sta...
来源: Laya2.0_示例 发布时间: 20260106
... uniqueId = DeviceUtils.getUniqueId(); ConchJNI.RunJS("com.gamepark.casino.functions.loading.mediator.LoadingMediator.onGetUniqueIdCompleteHandler(" + uniqueId + ")"); 在Laya中声明如下: public static function onGetUniqueIdCompleteHandler($uniqueId:String):void { trace("uniqueId : " + uniqueI...
来源: Laya_社区 发布时间: 20180323
...用的namespace。 export namespace mvc{ const commandMap = {}; export function registerCommand(){ //doSomething }; export interface ICommand{ excute(type:string, params:any):void; } } 2019-09-21 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登...
来源: Laya_社区 发布时间: 20180918
...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Inherited property Inherited method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...reBody:Object; private var world:Object; private var CANNON:Object; public function LayaAir3D() { //初始化引擎 Laya3D.init(0, 0, true); //适配模式 Laya.stage.scaleMode=Stage.SCALE_FULL; Laya.stage.screenMode=Stage.SCREEN_VERTICAL; //开启统计信息 Stat.show(); //添加3D场景 var scene...
来源: Laya_社区 发布时间: 20170331
...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115