大约有 3,008 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0066 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
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
...可以在VBox下添加一些子节点。示例代码如下: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.VBox }) public vbox: Laya.VBox; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只...
来源: Laya3.0_文档 发布时间: 20240910
...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
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
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
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
...开发语言、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_示例 发布时间: 20250222
...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
...际 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
...叠的现象 module list.datasource { import List = laya.ui.List; export class ListDataSourceMediator { constructor() { } public setUp():void { var list: List = new List(); // 渲染的item list.itemRender = ListDataSourceItem; // 设置行列显示的item个数 list.repeatX = 1; list.repeatY = 4; /...
来源: Laya_社区 发布时间: 20180410