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

大约有 1,732 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0055 秒)

281. laya.loaders.Texture2DLoader_API3.0 [ 76%]

...ls Only exported Menu Globals "laya/loaders/TextureLoader" Texture2DLoader Class Texture2DLoader Hierarchy Texture2DLoader Implements IResourceLoader Index Constructors constructor Methods load Constructors constructor new Texture2DLoader(): Texture2DLoader Defined in laya/loaders/TextureLoader.ts:2...

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

282. typescript类文件只能放同一目录下吗? [ 76%]

... 分完之后代码上要写什么?我按模块 src/core 下 module core class datahelper{}然后 var co = new core.datahelper(); 认不到啊 fishkuro • 2017-03-25 11:26 怎么弄啊,我src/core 下 module core class datahelper{}然后 var co = new core.datahelper(); 认不到啊

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

283. 缓动-时间线 [ 76%]

...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Tween_TimeLine { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya...

来源: Laya2.0_示例 发布时间: 20241002

284. 鼠标穿透问题 [ 76%]

...t laya.ui.List; import laya.utils.Handler; import laya.webgl.WebGL; public class Bootstrapper extends Sprite { protected var _list:List; protected var _items:Array; protected var _loadingBg:Sprite; public function Bootstrapper() { Laya.init(696, 1118, WebGL); Laya.stage.bgColor = "#232628"; Laya.sta...

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

285. laya.d3.math.Ray_API3.0 [ 76%]

... All Inherited Externals Only exported Menu Globals "laya/d3/math/Ray" Ray Class Ray Ray 类用于创建射线。 Hierarchy Ray Index Constructors constructor Properties direction origin Methods at Constructors constructor new Ray(origin: Vector3, direction: Vector3): Ray Defined in laya/d3/math/Ray...

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

286. laya.components.Animation2DNext_API3.0 [ 76%]

...ly exported Menu Globals "laya/components/Animation2DNext" Animation2DNext Class Animation2DNext Hierarchy Animation2DNext Index Constructors constructor Properties conditions name Constructors constructor new Animation2DNext(): Animation2DNext Defined in laya/components/Animation2DNext.ts:7 Returns...

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

287. 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 [ 76%]

...非你的代码有问题 代码如下 输出结果为 1   // 程序入口 class LayaSample{ private static aa:Child; private static bb:Child; constructor() { Laya.init(600,400); this.init(); } private init(){ LayaSample.aa = new Child(); LayaSample.aa.num("1"); LayaSample.bb = new Child(); LayaSamp...

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

288. 有关继承类的问题 [ 75%]

...unction (_super){ function Building(params) { Building.super(this); } Laya.class(Building,"Building",_super); return Building; })(Laya.Sprite)   //床 var Bed = (function (_super){ function Bed(params) { Bed.super(this); } Laya.class(Bed,"Bed",Building); return Bed; })()     var HomeView = (funct...

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

289. 编译后相同的类出现另一个带$1后缀的新类 [ 75%]

...编译后相同的类出现另一个带$1后缀的新类 比如一个类叫class A,编译后的bundle.js里面出现一个class A的类,没有问题,但是还会出现一个 class A$1的类,怎么回事? 附件 : --> 2019-10-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

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

290. laya.d3.resource.models.MorphTargetChannel_API3.0 [ 75%]

...rted Menu Globals "laya/d3/resource/models/MorphTarget" MorphTargetChannel Class MorphTargetChannel Hierarchy MorphTargetChannel Index Constructors constructor Properties name targetCount Methods addTarget getTargetByIndex Constructors constructor new MorphTargetChannel(): MorphTargetChannel Defined...

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