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

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

651. 微信小游戏,横屏,小游戏不全屏显示 [ 65%]

...幕比缩放                   这种模式下的Laya.init(width,height, WebGL);高度一般是不对的,需要计算   b.横屏思路:                    Laya.stage.scaleMode  "fixedheight" :高度不变,宽度根据屏幕比缩放;   你使用的是默认值为 "no...

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

652. VScrollBar属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 65%]

...rollBar.skin = "../../../../res/ui/vscroll.png"; //设置高度 vScrollBar.height = 200; //设置位置 vScrollBar.pos(400, 200); //最低滚动位置数字 vScrollBar.min = 0; //最高滚动位置数字 vScrollBar.max = 100; //滚动变化事件回调 vScrollBar.changeHandler = new Handler(this, on...

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

653. laya.display.Animation_API3.0 [ 65%]

...P_PINGPONG WRAP_POSITIVE WRAP_REVERSE drawtocanvCtx framesMap Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY autoPlay blendMode cacheAs components count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters frames globalR...

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

654. laya.ui.Clip_API3.0 [ 65%]

...每个切片的宽度 clipWidth 、竖向分割每个切片的高度 clipHeight , 从左向右,从上到下,分割组合为一个切片动画。 Image和Clip组件是唯一支持异步加载的两个组件,比如clip.skin = "abc/xxx.png",其他UI组件均不支持异步加载。 example ...

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

655. laya.display.Text [ 65%]

...口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite  height : Number[override] 显示对象的高度,单位为像素,默认为0。 此高度用于鼠标碰撞检测,并不影响显示对象图像大小。需要对显示对象的图像进行缩放,请使用scale、scaleX...

来源: laya_api 发布时间: 20170929

656. laya.d3.core.scene.Scene3D [ 65%]

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

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

657. laya.ui.HScrollBar_API3.0 [ 65%]

...riggerDownDragLimit triggerUpDragLimit upButton drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOpt...

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

658. laya.ui.VScrollBar_API3.0 [ 65%]

...riggerDownDragLimit triggerUpDragLimit upButton drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOpt...

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

659. laya.ui.UIGroup [ 65%]

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

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

660. native下旋转tween卡顿 [ 64%]

...Laya.stage.addChild(ape); ape.x = Laya.stage.width / 2; ape.y = Laya.stage.height / 2; ape.scale(0.3,0.3); ape.pivot(628,613); Laya.Tween.to(ape,{rotation:360},60000); 其中转一圈的时间设置为60s或者更长,native下卡顿是非常明显的,但在web下非常流畅(native下反而效率低...

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