大约有 2,945 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0105 秒)
Laya_社区(1043) Laya3.0_api(668) Laya2.0_api(366) laya_api(298) Laya2.0_文档(230) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(76)
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
...Laya.Browser; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class Tween_SimpleSample { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER;...
来源: Laya_示例 发布时间: 20241002
...ComboBox; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_ComboBox { private skin: string = "../../res/ui/combobox.png"; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.A...
来源: Laya_示例 发布时间: 20241002
...ontainer, maskArea, interactionArea, hitArea, tipContainer, guideStep = 0; class Sprite_Guide { constructor() { const WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(1285, 727, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN...
来源: Laya2.0_示例 发布时间: 20241002
....Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Text_BitmapFont { private fontName: string = "diyFont"; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya...
来源: Laya_示例 发布时间: 20241002
...ethod {"v":"java.lang.NoSuchMethodException: demo.JSBridge.testString: [class java.lang.String]"} demo.JSBridge testString: 在js那边的代码 为: _doTestCallJava(){ let os = null let bridge = null if(typeof conchConfig != "undefined"){ os = conchConfig.getOS() } if (os == "Conch-ios")...
来源: Laya_社区 发布时间: 20211111
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
...aya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_ComplexStyle { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; ...
来源: Laya_示例 发布时间: 20241002
... 测试demo(直接新建项目,拷贝代码即可) // 程序入口 class GameMain{ constructor() { // Laya.init(1280,720); //无问题 Laya.init(1280,720,Laya.WebGL);//有问题 console.log(Laya.version); var testSpriteRotation:PanelRotationTest = new PanelRotationTest(Laya.Sprite); testSpri...
来源: Laya_社区 发布时间: 20170814