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

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

541. laya.ui.AdvImage_API3.0 [ 68%]

...centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray group height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY ri...

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

542. laya.display.Scene_API3.0 [ 68%]

...stPrior mouseThrough name tag drawtocanvCtx unDestroyedScenes Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters global...

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

543. laya.ui.TextArea [ 68%]

...e : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component editable : Boolean 设置可编辑状态。 T...

来源: laya_api 发布时间: 20170929

544. setSubPixels画布擦除不掉 [ 68%]

...is._testStatus = !this._testStatus; // let canvasInfo = this.getCanvasWidthHeight(); let ctx = new Laya.Context(); // let w = canvasInfo.w//tex.width; // let h = canvasInfo.h//tex.height; let w = tex.width; let h = tex.height; ctx.size(w,h); ctx.asBitmap = true; // ctx.clearRect(0,0,w,h); let _targe...

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

545. 物理引擎,我按照官方例子做的,不知道那里写错了,总是报这个错,大神帮我看下 [ 68%]

...on extends Sprite { private const stageWidth:int = 800; private const stageHeight:int = 600; private var Matter:Object = Browser.window.Matter; private var LayaRender:Object = Browser.window.LayaRender; private var mouseConstraint:*; private var engine:*; /***/ public function Retitution() { super()...

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

546. Spine适配版(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 68%]

...ex: Number = -1; public function Main() { Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; Stat.show(); this.startFun(); } private function startFun(): void { this.templet = new SpineTempletBinary(); this.templet.loadAni(thi...

来源: Laya2.0_文档 发布时间: 20210715

547. ProgressBar属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 68%]

... = (Laya.stage.width - progressBar.width ) / 2; progressBar.y = Laya.stage.height / 2; //设置九宫格边距,以防变形 progressBar.sizeGrid = "5,5,5,5"; //数据改变时回调方法 progressBar.changeHandler = new Handler(this, onChange); //加载到舞台 Laya.stage.addChild(progressBar); /...

来源: Laya2.0_文档 发布时间: 20210715

548. laya.ui.ColorPicker [ 68%]

...e : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array...

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

549. 不带格式后缀的图片无法成功加载 [ 68%]

... nodee = new Laya.Sprite() nodee.texture = picTemp nodee.width = 500 nodee.height = 250 nodee.x = 100 nodee.y = 350 Laya.stage.addChild(nodee) }));上面这个图片无法正常显示,打印 texture 的宽是 undefined,如果是带后缀的图片,比如.jpg就可以正常展示图片。 附件...

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

550. Laya tiledmap 监听事件未响应 [ 68%]

...ic_grass_and_water.json", new Rectangle(0, 0, Laya.stage.width, Laya.stage.height), Handler.create(this, this.mapLoaded), null, new Point(1600, 800));      }      private mapLoaded(): void {         let _mapSprite = this.tiledMap.mapSprite();         _mapSprite.mouseEnabled = true;   ...

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