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

大约有 1,761 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0114 秒)

661. parameter 2 is not of type 'WebGLTexture' [ 71%]

...pe 'WebGLTexture'   var htmlC:HTMLCanvas = btn_edit.drawToCanvas(btn_edit.width, btn_edit.height, 0, 0); var interceptT:Texture = new Texture(htmlC); var img:Sprite = new Sprite; img.graphics.drawImage(interceptT, 0, 0, btn_edit.width, btn_edit.height); Laya.stage.addChild(img);     如图和代...

来源: Laya_社区 发布时间: 20190422

662. laya.particle.Particle2D_API3.0 [ 71%]

...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize emitter filters globalRotation globalScaleX global...

来源: Laya3.0_api 发布时间: 20231115

663. laya.media.SoundNode_API3.0 [ 71%]

...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY autoPlay blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globa...

来源: Laya3.0_api 发布时间: 20231115

664. 关于垂直剧中在屏幕中间的问题 [ 71%]

...aya.Stage.SCREEN_HORIZONTAL; Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_WIDTH;     按照我的理解 在苹果6s 微信下面锁定屏幕旋转 的话 应该整个界面垂直剧中在屏幕 现在没有~       代码在附件里面 是我写错了还是????       附件 : --> my...

来源: Laya_社区 发布时间: 20170706

665. laya.map.GridSprite_API3.0 [ 71%]

...rough name relativeX relativeY tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY g...

来源: Laya3.0_api 发布时间: 20231115

666. 横竖屏切换,此引擎渲染有BUG [ 71%]

...olean): void { if (Laya.stage != null) { this.oldWith = Laya.Browser.clientWidth; this.oldheight= Laya.Browser.clientHeight; }  console.log("设置横屏" + isFirst); if (isFirst) Laya3D.init(1280, 720, true); else Laya.stage.width = 1280; Laya.stage.height = 720; //Laya.stage.scaleMode = Laya.Stag...

来源: Laya_社区 发布时间: 20180517

667. laya.ui.WXOpenDataViewer_API3.0 [ 71%]

...ents customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX ...

来源: Laya3.0_api 发布时间: 20231102

668. laya.ui.Panel [ 71%]

...read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite  elasticEnabled : Boolean是否开启橡皮筋效果Panel filters : Array滤镜集合。可以设置多个...

来源: Laya2.0_api 发布时间: 20190513

669. laya.device.media.Video_API3.0 [ 71%]

...s currentSrc currentTime customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize duration ended error filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D loop mask mouseEnabled mouseX mouseY muted numChildren parent paused pivotX ...

来源: Laya3.0_api 发布时间: 20231102

670. 设置滤镜(JavaScript-LayaAir基础篇(JS)-位图) [ 71%]

...tion() { // 不支持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_文档 发布时间: 20210714