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

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

2111. 自定义组件用的layaeditor.d.zip报错 [ 52%]

...,所以只好上论坛求助了。 比如这么一个报错的地方: class Component extends laya.ui.Component implements laya.ui.IComponent { _getBoundPointsM(ifRotate?: boolean): Array<any>; disableLayout: boolean; protected resetLayoutX(): void; protected resetLayoutY(): void; } 类lay...

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

2112. matter.js的文档查看 [ 52%]

...    } 这些参数在matter.js的文档中http://brm.io/matter-js/docs/classes/Render.html并没有查到 请问这些是在哪里查看啊?谢谢! 2017-01-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 ...

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

2113. swf播放有问题,遮罩动画不能用吗 [ 52%]

...= Laya.Browser; import WebGL = Laya.WebGL; import Stat = Laya.Stat; export class Animation_SWF{ private SWFPath:string = "h5/res/Map11.swf"; private MCWidth:number = 760; private MCHeight:number = 650; constructor(){ // 不支持WebGL时自动切换至Canvas Laya.init(760,650, WebGL); Laya...

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

2114. 我照的列子做,Protobuf,结果报错! [ 52%]

...r   ts code: ============================================================ class Game{    private ProtoBuf:any = Browser.window.dcodeIO.ProtoBuf;     ... }     err code: ============================================================ TypeError: Cannot read property 'ProtoBuf' of undefined at new ...

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

2115. laya.d3.core.MeshRenderer_API3.0 [ 52%]

...ernals Only exported Menu Globals "laya/d3/core/MeshRenderer" MeshRenderer Class MeshRenderer MeshRenderer 类用于网格渲染器。 Hierarchy BaseRender MeshRenderer SkinnedMeshRenderer Implements IBoundsCell Index Constructors constructor Properties _extra _receiveShadow _singleton owner runInEd...

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

2116. laya.d3.core.scene.ITreeNode [ 52%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ITreeNodeMethods Packagelaya.d3.core.sceneInterfacepublic interface ITreeNodeImplementors OctreeNode ... Public Methods  MethodDefined By  addTreeNode(renderObj:BaseRender):voidITreeNode  cullingObjects(boundFrustum:...

来源: laya_api 发布时间: 20170929

2117. spine动画放大后,遮罩显示不正常 [ 52%]

...置见下图代码和附件DEMO中的TestScene.scene文件 export default class GameUI extends Laya.Scene { constructor() { super(); //设置单例的引用方式,方便其他类引用 GameUI.instance = this; //关闭多点触控,否则就无敌了 Laya.MouseManager.multiTouchEnabled = false; //...

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

2118. 异步加载一个UI对象时的问题 [ 52%]

...步的。因此我将load方法放到了createChildren函数里面去。 class MyView extends ui.view.MyViewUI { constructor() { super(); } createChildren():void { super.createChildren(); let assets = [ { url: "res/atlas/ui/shared.atlas", type: Loader.ATLAS }, { url: "res/atlas/ui/myview.atlas", typ...

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

2119. 我想动态改自定义shader里的值,应该怎么写?? [ 52%]

...al.__super.call(this);     this.setShaderName("CustomShader"); }   Laya.class(CustomMaterial, "CustomMaterial", Laya.BaseMaterial);   CustomMaterial.DIFFUSETEXTURE = 1; CustomMaterial.NORMALTEXTURE = 2; CustomMaterial.ALPHATESTVALUE = 0;   CustomMaterial.prototype.getDiffuseTexture = function (...

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

2120. 提示错误在laya.core.js里 [ 52%]

...就出问题了。是要把unity场景导入到laya2.6. export default class SceneLoad extends Laya.Script{     constructor(){         super();     }     onAwake(){         Laya.Scene3D.load("res/LayaScene_demo/Android/demo.ls",Laya.Handler.create(this,function(scene...

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