大约有 537 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0073 秒)
Laya_社区(186) Laya2.0_示例(91) Laya3.0_api(66) Laya2.0_api(60) laya_api(56) Laya_示例(41) Laya2.0_文档(30) Laya3.0_文档(7)
...e : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component filters : Array滤镜集合。可以设置多...
来源: laya_api 发布时间: 20170929
...rior isVertical mouseThrough name showLabel tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy allowClickBack alpha anchorX anchorY bar blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayed...
来源: Laya3.0_api 发布时间: 20231115
...口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite height : Number 显示对象的高度,单位为像素,默认为0。 此高度用于鼠标碰撞检测,并不影响显示对象图像大小。需要对显示对象的图像进行缩放,请使用scale、scaleX、scaleY。...
来源: laya_api 发布时间: 20170929
...proto = Hp.prototype; _proto.init = function(type){ this.width = 180; this.height = 21; var texture1 = Laya.loader.getRes("res/hp_bg.png"); var texture2; switch (type) { case Hp.HP_TYPE_ENERGY: texture2 = Laya.loader.getRes("res/en_bar.png"); break; case Hp.HP_TYPE_SPEED: texture2 = Laya.loader.getR...
来源: Laya_社区 发布时间: 20160803
...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 = "#ffffff"; Stat.show(); this.startFun(); } startFun() { const Te...
来源: Laya2.0_示例 发布时间: 20251218
...垂直方向中心线的距离(以像素为单位)。 UIComponent clipHeight : Number 竖向分割时每个切片的高度,与 clipY 同时设置时优先级高于 clipY 。 Clip clipWidth : Number 横向分割时每个切片的宽度,与 clipX 同时设置时优先级高于 clipX 。 Clip...
来源: Laya2.0_api 发布时间: 20190513
...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
...tive SDK 0.9.2 正常//初始化引擎 Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.bgColor = "#ffeff0"; //设置横竖屏 // Laya.stage.optimizeScrollRect = true; Font.defaultFont = "宋体"; Laya.stage.alignV = "top"; Laya.stage.alignH = "left"; Laya.stage.screenMode = "vertical"...
来源: Laya_社区 发布时间: 20170801
...口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite height : Number 显示对象的高度,单位为像素,默认为0。 此高度用于鼠标碰撞检测,并不影响显示对象图像大小。需要对显示对象的图像进行缩放,请使用scale、scaleX、scaleY。...
来源: laya_api 发布时间: 20170929
...1 个回复 cuixueying 赞同来自: 无法直接修改Animation的width或height,请对animation的scale进行设置即可! 2017-04-17 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 xiaomin 相关问题 用二的幂次方图集和...
来源: Laya_社区 发布时间: 20170417