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

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

1291. laya.events.EventDispatcher [ 64%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames EventDispatcherMethods Packagelaya.eventsClasspublic class EventDispatcherInheritanceEventDispatcher ObjectSubclasses HttpRequest, Loader, LoaderManager, Node, Socket, Sound, SoundChannel, Texture, TimeLine EventDispatche...

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

1292. laya.display.css.TextStyle [ 64%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames TextStyleProperties | Methods | Constants Packagelaya.display.cssClasspublic class TextStyleInheritanceTextStyle laya.display.css.SpriteStyle 文本的样式类 Public Properties PropertyDefined By  align : String ...

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

1293. conch.config.getUsedMem() 安卓包中 定时运行报错 [ 64%]

...rt: art/runtime/indirect_reference_table.cc:113] 510: 0x6fc37838 java.lang.Class<java.lang.String> 03-22 13:52:03.749 15130-15218/com.xmvigor.shyxcs A/art: art/runtime/indirect_reference_table.cc:113] 509: 0x131f4ae0 java.lang.String "682464.0" 03-22 13:52:03.749 15130-15218/com.xmvigor.shyxcs...

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

1294. laya.d3.math.Vector2 [ 64%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames Vector2Properties | Methods | Constants Packagelaya.d3.mathClasspublic class Vector2InheritanceVector2 ObjectImplements laya.d3.core.IClone Vector2 类用于创建二维向量。 Public Properties PropertyDefined By ...

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

1295. laya.device.geolocation.Geolocation [ 64%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames GeolocationProperties | Methods | Constants Packagelaya.device.geolocationClasspublic class GeolocationInheritanceGeolocation Object 使用前可用supported查看浏览器支持。 Public Properties PropertyDefined By...

来源: laya_api 发布时间: 20170929

1296. laya.device.geolocation.Geolocation [ 64%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames GeolocationProperties | Methods | Constants Packagelaya.device.geolocationClasspublic class GeolocationInheritanceGeolocation Object 使用前可用supported查看浏览器支持。 Public Properties PropertyDefined By...

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

1297. list里面可以加入多个view吗? [ 64%]

...laya.ui.View; import laya.utils.Browser; import laya.utils.Handler; public class LayaAirDemo { private var list:List; public function LayaAirDemo() { Laya.init(Browser.width,Browser.height); Laya.stage.bgColor="#EEFFCC"; Laya.loader.load("res/atlas/comp.json",Handler.create(this,onLoaded),null,Loade...

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

1298. 鼠标交互-双指缩放(多点触控) [ 64%]

...开发语言、LayaAirIDE让项目开发更高效。let lastDistance = 0; class Interaction_Scale { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth,...

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

1299. 水平布局容器组件 · LayaAir3.0文档 · LAYABOX [ 64%]

...可以在HBox下添加一些子节点。示例代码如下: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.HBox }) public hbox: Laya.HBox; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只...

来源: Laya3.0_文档 发布时间: 20230922

1300. laya 2.0 可以支持 typescript namespace 吗 [ 64%]

...际 namespace 可以这么写的;// 文件1 a.ts namespace game { export class A { } } export = game; // 文件2 b.ts namespace game { export class B { } } export = game; // 文件3 c.ts import * as game from "./a.ts" import * as game2 from ".b.ts new game.A() new game2.B() // 文件4 d.ts import ...

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