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

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

341. laya.d3.core.render.posteffect.AOQUALITY_API3.0 [ 84%]

...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

342. laya.components.TypeAnimatorLayer_API3.0 [ 84%]

...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

343. laya.physics.BoxCollider [ 84%]

...为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

344. 微信小游戏想使用截图功能是使用canvasToTempFilePath()吗 [ 83%]

...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

345. laya.d3.core.particleshuriken.module.shape.ParticleSystemShapeType_API3.0 [ 83%]

...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

346. 设置滤镜(ActionScript-LayaAir基础篇(AS3)-位图) [ 83%]

...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

347. RopeJoint代码动态创建 无法设置otherbody等属性 [ 83%]

...,坐标位于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

348. laya.ani.GraphicsAni_API3.0 [ 83%]

...组,不建议回收 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

349. 性能测试-骨骼 [ 83%]

... 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

350. 【laya2.0】加载并且显示图片,并且让该图片居于舞台中央,怎么写? [ 83%]

...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