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

大约有 2,159 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0052 秒)

1501. 材质-BlinnPhong-漫反射贴图 [ 61%]

...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

1502. laya.d3.webxr.core.WebXRInputManager_API3.0 [ 61%]

...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

1503. laya.d3.core.particleshuriken.module.shape.BaseShape_API3.0 [ 61%]

...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Enumeration Interface

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

1504. laya底层的加载为什么可以new两次 [ 61%]

...行 new HTMLImage.create(url, {onload: onload, onerror: onerror, onCreate: function(img:*):void { image = img; //增加引用,防止垃圾回收 imgCache[url] = img; }}); 这里的调用create本身就是返回一个对象了,为什么这里还能在new那个对象呢,而且如果用一个t去...

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

1505. UI-Dialog [ 61%]

... 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

1506. LayaNative原生调用Laya问题 [ 60%]

... 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

1507. 如何使用TS的命名空间(namespace)? [ 60%]

...用的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

1508. laya.d3.core.QuaternionKeyframe_API3.0 [ 60%]

...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Inherited property Inherited method Enumeration Interface

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

1509. 没有人尝试使用3d物理引擎么 [ 60%]

...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

1510. laya.d3.resource.models.MorphTargetData_API3.0 [ 60%]

...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Enumeration Interface

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