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

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

801. laya.d3.resource.models.SkyDome [ 72%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames SkyDomeProperties | Methods | Constants Packagelaya.d3.resource.modelsClasspublic class SkyDomeInheritanceSkyDome Sky laya.resource.Resource Sky 类用于创建天空盒。 Public Properties Hide Inherited Public Proper...

来源: laya_api 发布时间: 20170929

802. module写法的模块无法使用,其他地方使用会报错 [ 72%]

...法的模块无法使用,其他地方使用会报错 module bili{ export class Test{ constructor(){ console.log("Test"); } } } 2018-09-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 7 个回复 牛唠叨 赞同来自: Ch...

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

803. laya.net.LoaderManager [ 72%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames LoaderManagerProperties | Methods | Events Packagelaya.netClasspublic class LoaderManagerInheritanceLoaderManager EventDispatcher Object LoaderManager 类用于用于批量加载资源。此类是单例,不要手动...

来源: laya_api 发布时间: 20170929

804. 输入设备-贪吃蛇(重力感应) [ 72%]

... return new Point(tx, ty); } this.size(width, height); this.init(); } Laya.class(Segment, "Segment", Sprite); var seg; var segments = []; var foods = []; var initialSegmentsAmount = 5; var vx = 0, vy = 0; var targetPosition; (function() { Laya.init(Browser.width, Browser.height, WebGL); // 初始化...

来源: Laya_示例 发布时间: 20241001

805. laya.net.URL [ 72%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames URLProperties | Methods Packagelaya.netClasspublic class URLInheritanceURL Object URL 类用于定义地址信息。 Public Properties PropertyDefined By  basePath : String[static] 基础路径。URL  customFormat :...

来源: laya_api 发布时间: 20170929

806. Config_API3.0 [ 72%]

...otected All Inherited Externals Only exported Menu Globals "Config" Config Class Config Config 用于配置一些全局参数。如需更改,请在初始化引擎之前设置。 Hierarchy Config Index Properties FPS animationInterval defaultFont defaultFontSize destroyResourceImmediatelyDefault fi...

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

807. laya.particle.emitter.EmitterBase [ 72%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames EmitterBaseProperties | Methods Packagelaya.particle.emitterClasspublic class EmitterBaseInheritanceEmitterBase Object EmitterBase 类是粒子发射器类 Public Properties PropertyDefined By  emissionRate : Number ...

来源: laya_api 发布时间: 20170929

808. 【简单跑酷--JS版】---Lv.3 添加地板 [ 72%]

....__super.call(this); } //Floor 是一个显示对象 继承此 Sprite Laya.class(Floor, "Floor", laya.display.Sprite); var _proto = Floor.prototype; _proto.init = function(type){ //创建一个帧循环处理函数 Laya.timer.frameLoop(1, this, this.onLoop); } //在地板上面添加物品 _proto.ad...

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

809. laya.device.Shake [ 72%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ShakeProperties | Methods Packagelaya.deviceClasspublic class ShakeInheritanceShake EventDispatcher Object Shake只能在支持此操作的设备上有效。 Public Properties PropertyDefined By  instance : Shake[stat...

来源: Laya2.0_api 发布时间: 20190513

810. 计时器-间隔循环 [ 72%]

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

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