大约有 2,945 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0074 秒)
Laya_社区(1043) Laya3.0_api(668) Laya2.0_api(366) laya_api(298) Laya2.0_文档(230) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(76)
...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
API DocumentationAll Packages | All Classes | Index | Frames No Frames KeyLocationConstants Packagelaya.eventsClasspublic class KeyLocationInheritanceKeyLocation Object KeyLocation 类包含表示在键盘或类似键盘的输入设备上按键位置的常量。 KeyLocation 常数用在键...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames KeyLocationConstants Packagelaya.eventsClasspublic class KeyLocationInheritanceKeyLocation Object KeyLocation 类包含表示在键盘或类似键盘的输入设备上按键位置的常量。 KeyLocation 常数用在键...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexPositionTexture0Properties | Methods Packagelaya.d3.graphics.VertexClasspublic class VertexPositionTexture0InheritanceVertexPositionTexture0 ObjectImplements IVertex VertexPositionNormalTexture 类用于创建位...
来源: Laya2.0_api 发布时间: 20190513
...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
...nherited Externals Only exported Menu Globals "laya/utils/Handler" Handler Class Handler Handler 是事件处理器类。 推荐使用 Handler.create() 方法从对象池创建,减少对象创建消耗。创建的 Handler 对象不再使用后,可以使用 Handler.recover() 将其回收到对象...
来源: Laya3.0_api 发布时间: 20231115
...项目时生成的内容不一致了 这是创建项目时的内容/**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
...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
...编写代码如下: ```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
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