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

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

231. laya.display.FrameAnimation_API3.0 [ 69%]

...apMode WRAP_PINGPONG WRAP_POSITIVE WRAP_REVERSE drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalSc...

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

232. 来讨论下多分辨率的屏幕适配的解决办法 [ 69%]

...的效果。 以往做手游的多分适配,主流的做法都是 FIXED_HEIGHT,保持设计的高度不变,宽度随意拉伸(不是变形的那种拉伸), UI 可以选择停靠在左侧,右侧,或者是居中。背景图设计成最大支持的宽高比。这样可以覆盖大部分...

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

233. laya.spine.SpineSkeleton_API3.0 [ 69%]

...or mouseThrough name tag PAUSED PLAYING STOPPED drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY animationName blendMode cacheAs components currentTime customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize externalSki...

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

234. laya.ui.Panel_API3.0 [ 69%]

...url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components content customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInS...

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

235. laya.display.EffectAnimation_API3.0 [ 69%]

...apMode WRAP_PINGPONG WRAP_POSITIVE WRAP_REVERSE drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize effectClass effectData filters ...

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

236. Sprite-节点控制 [ 69%]

...WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createApes(); } createApes() { const Sprite = La...

来源: Laya2.0_示例 发布时间: 20251209

237. 加载TiledMap 不显示 [ 69%]

...s/tiledMap/t2.json", new Rectangle(0, 0, Laya.stage.width, Laya.stage.height), Handler.create(this, this.mapLoaded), null, new Point(1600, 800));     }      private onStageClick(): void {         var p: Point = new Point(0, 0);         this.layer.getTileP...

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

238. laya.ani.bone.Skeleton_API3.0 [ 69%]

...url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY aniMode animationName blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalR...

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

239. laya.ui.ScaleBox_API3.0 [ 69%]

...url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage dra...

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

240. laya.device.media.Video [ 69%]

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

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