大约有 1,448 项符合查询结果, 库内数据总量为 30,941 项。 (搜索耗时: 0.0055 秒)
Laya3.0_api(470) Laya_社区(446) Laya_示例(152) Laya2.0_示例(119) Laya2.0_api(71) Laya2.0_文档(71) Laya3.0_文档(61) laya_api(58)
...类就是地图的块数据 author ... Hierarchy Sprite GridSprite Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url aniSpriteArray autoSize drawImageNum hitTestPrior isAloneObject isHaveAnimation mouseThrough name relativeX relativeY tag drawtocanvCtx Accessors ...
来源: Laya3.0_api 发布时间: 20231115
... export class Network_GET { private hr: HttpRequest; private logger: Text; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "sh...
来源: Laya_示例 发布时间: 20250319
...的不完善 class Main { private _roomId = 0; constructor(roomId?: number) { this._roomId = roomId; Laya.init(750, 1218, Laya.WebGL); Laya.Browser.document.title = 'GG游戏; if (Laya.Browser.onPC) { ...
来源: Laya_社区 发布时间: 20181202
...ation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); class MeshLoad { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var scene = Laya.stage.addChild(new Laya.Scene()); var camera: Laya.Camera = scene.addChil...
来源: Laya_示例 发布时间: 20250319
...4-03-05 16:20 */ export default class VideoDom { htmlvideo:Laya.HtmlVideo; constructor() { Laya.stage.on(Laya.Event.CLICK,this,this.onClick); } onClick(){ this.initVideo(); } initVideo() { this.htmlvideo = new Laya.HtmlVideo(); this.htmlvideo.setSource("https://www.layaair.com/3.x/de ... ot%3B,1); t...
来源: Laya_社区 发布时间: 20240305
...环境:mac 1.7.16 源码如下: // 程序入口 class LayaAir3D { constructor() { //初始化微信小游戏 Laya.MiniAdpter.init();// 程序入口 //初始化引擎 Laya3D.init(0, 0, true); //适配模式 Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN...
来源: Laya_社区 发布时间: 20180307
...private skins: Array = ["../../res/ui/tab1.png", "../../res/ui/tab2.png"]; constructor(){ // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgCol...
来源: Laya_示例 发布时间: 20250319
...var stretchedBillboardSpeedScale:Number拉伸广告牌模式速度缩放。Constructor DetailShurikenParticleRender()Constructorpublic function ShurikenParticleRender(owner:ShuriKenParticle3D) 创建一个 ShurikenParticleRender 实例。 Parameters owner:ShuriKenParticle3DMethod Detail_calculateBou...
来源: laya_api 发布时间: 20170929
...pFont 测试代码: let fontName = "diyFont"; class Text_BitmapFont { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = St...
来源: Laya_社区 发布时间: 20190221
...层等) 本类就是层级类 author ... Hierarchy Sprite MapLayer Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior layerName mouseThrough name tag tarLayer drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha a...
来源: Laya3.0_api 发布时间: 20231115