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

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

681. laya.device.geolocation.Geolocation_API3.0 [ 74%]

...ly exported Menu Globals "laya/device/geolocation/Geolocation" Geolocation Class Geolocation 使用前可用supported查看浏览器支持。 Hierarchy Geolocation Index Constructors constructor Properties PERMISSION_DENIED POSITION_UNAVAILABLE TIMEOUT enableHighAccuracy maximumAge supported timeout...

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

682. laya.events.KeyLocation [ 74%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames KeyLocationConstants Packagelaya.eventsClasspublic class KeyLocationInheritanceKeyLocation Object KeyLocation 类包含表示在键盘或类似键盘的输入设备上按键位置的常量。 KeyLocation 常数用在键...

来源: laya_api 发布时间: 20170929

683. laya.events.KeyLocation [ 74%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames KeyLocationConstants Packagelaya.eventsClasspublic class KeyLocationInheritanceKeyLocation Object KeyLocation 类包含表示在键盘或类似键盘的输入设备上按键位置的常量。 KeyLocation 常数用在键...

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

684. laya.d3.graphics.Vertex.VertexPositionTexture0 [ 74%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexPositionTexture0Properties | Methods Packagelaya.d3.graphics.VertexClasspublic class VertexPositionTexture0InheritanceVertexPositionTexture0 ObjectImplements IVertex VertexPositionNormalTexture 类用于创建位...

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

685. laya.net.Downloader_API3.0 [ 74%]

...ited Externals Only exported Menu Globals "laya/net/Downloader" Downloader Class Downloader Hierarchy Downloader Index Properties httpRequestPool Methods audio common image imageWithBlob imageWithWorker Properties httpRequestPool httpRequestPool: Array<HttpRequest> = [] Defined in laya/net/Dow...

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

686. laya.utils.Handler_API3.0 [ 74%]

...nherited Externals Only exported Menu Globals "laya/utils/Handler" Handler Class Handler Handler 是事件处理器类。 推荐使用 Handler.create() 方法从对象池创建,减少对象创建消耗。创建的 Handler 对象不再使用后,可以使用 Handler.recover() 将其回收到对象...

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

687. LayaAir 2.0 TS版编译出错GameConfig跟创建项目时生成的内容不一致了 [ 74%]

...项目时生成的内容不一致了 这是创建项目时的内容/**This class is automatically generated by LayaAirIDE, please do not make any modifications. */ import GameUI from "./script/GameUI" import GameControl from "./script/GameControl" import Bullet from "./script/Bullet" import DropBox ...

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

688. UI-Label [ 74%]

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

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

689. 显示与切换图片(ActionScript-LayaAir基础篇(AS3)-位图) [ 74%]

...编写代码如下: ```java package { import laya.display.Sprite; public class Main { public function Main() { //初始化舞台 Laya.init(1334,750); //设置舞台背景色 Laya.stage.bgColor = "#ffffff" var img:Sprite = new Sprite(); //加载显示图片,坐标位于100,50 img.loadImage("res/i...

来源: Laya2.0_文档 发布时间: 20210715

690. laya.display.cmd.StrokeTextCmd [ 74%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames StrokeTextCmdProperties | Methods | Constants Packagelaya.display.cmdClasspublic class StrokeTextCmdInheritanceStrokeTextCmd Object 绘制描边文字 Public Properties PropertyDefined By  color : String 定义文本...

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