大约有 1,738 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0060 秒)
Laya_社区(1124) Laya3.0_api(223) Laya2.0_文档(89) Laya2.0_api(72) Laya2.0_示例(66) Laya_示例(63) laya_api(62) Laya3.0_文档(39)
...0; right: 0; z-index: 1000; margin: 0; height: 68px; border-radius: 0; min-width: 310px; background-color: #1A1A1A; background-image: none; border: none; } #laya_content { width: 100%; height: auto; margin: 0px auto 0 auto; } @media (max-width: 767px) { #laya_content { overflow: auto; margin: 0px au...
来源: Laya3.0_api 发布时间: 20230115
...0; right: 0; z-index: 1000; margin: 0; height: 68px; border-radius: 0; min-width: 310px; background-color: #1A1A1A; background-image: none; border: none; } #laya_content { width: 100%; height: auto; margin: 0px auto 0 auto; } @media (max-width: 767px) { #laya_content { overflow: auto; margin: 0px au...
来源: Laya3.0_api 发布时间: 20230115
...为0ColliderBase rigidBody : RigidBody[只读]刚体引用ColliderBase width : Number矩形宽度BoxCollider x : Number相对节点的x轴偏移BoxCollider y : Number相对节点的y轴偏移BoxColliderPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefine...
来源: Laya2.0_api 发布时间: 20190513
...window */ export class ImageData { public data: Uint8ClampedArray; public width: number; public height: number; public constructor(width: number, height: number) { this.width = width; this.height = height; this.data = new Uint8ClampedArray(width * height * 4); } } window.ImageData = ImageData; // ...
来源: Laya_社区 发布时间: 20181122
...0; right: 0; z-index: 1000; margin: 0; height: 68px; border-radius: 0; min-width: 310px; background-color: #1A1A1A; background-image: none; border: none; } #laya_content { width: 100%; height: auto; margin: 0px auto 0 auto; } @media (max-width: 767px) { #laya_content { overflow: auto; margin: 0px au...
来源: Laya3.0_api 发布时间: 20230115
...Main() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; Laya.loader.load(ApePath, Handler.create(t...
来源: Laya2.0_文档 发布时间: 20210715
...,坐标位于100,50 img.loadImage("res/layabox.png"); img.x=(Laya.stage.width-256)/2; //添加到舞台 Laya.stage.addChild(img); var img2:Sprite = new Sprite(); //加载显示图片,坐标位于100,50 img2.loadImage("res/layabox.png"); img2.x=(Laya.stage.width-256)/2+100; img2.y=(Laya.stage.hei...
来源: Laya_社区 发布时间: 20200217
...组,不建议回收 Returns void clipRect clipRect(x: number, y: number, width: number, height: number): ClipRectCmd Inherited from Graphics.clipRect Defined in laya/display/Graphics.ts:304 设置剪裁区域,超出剪裁区域的坐标不显示。 Parameters x: number X 轴偏移量。 y: numbe...
来源: Laya3.0_api 发布时间: 20231115
... mAnimationArray = []; var mFactory; function init() { mSpacingX = Browser.width / colCount; mSpacingY = Browser.height / rowCount; Laya.init(Browser.width, Browser.height, WebGL); Stat.show(); mTexturePath = "../../res/skeleton/" + fileName + "/" + fileName + ".png"; mAniPath = "../../res/skeleton/...
来源: Laya_示例 发布时间: 20240930
...ler.create(this, function(){ console.log("complete!!"); logo.x= Laya.stage.width/2-logo.width/2; logo.y= Laya.stage.height/2-logo.height/2; //logo.pos(Laya.stage.width/2-logo.width/2,Laya.stage.height/2-logo.height/2); })); 2018-10-10 0 1 分享 微博 QZONE 微信 hj 赞同来自: 你用这个方...
来源: Laya_社区 发布时间: 20181010