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

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

1291. 文本-下划线 [ 64%]

...e = Laya.Stage; import Text = Laya.Text; import WebGL = Laya.WebGL; export class Text_Underline { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(600, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_S...

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

1292. DOM元素-视频 [ 64%]

...nArea, [videoElement, reference, 0, 0, reference.width, reference.height]);class DOM_Video { constructor() { Laya.init(800, 600); Laya.stage.bgColor = "#FFFFFF"; Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; // 创建Video元素 var videoElement:any = Laya...

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

1293. laya.d3.graphics.VertexBuffer3D [ 64%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexBuffer3DProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexBuffer3DInheritanceVertexBuffer3D Buffer laya.resource.Resource VertexBuffer3D 类用于创建顶点缓冲。 Public Properties Hide Inher...

来源: laya_api 发布时间: 20170929

1294. 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

1295. 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

1296. 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

1297. 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

1298. 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

1299. 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

1300. 鼠标交互-双指缩放(多点触控) [ 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_示例 发布时间: 20251209