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

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

311. laya.ui.UIGroup_API3.0 [ 75%]

...ouseThrough name selectHandler tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed direction disabled displayHeight displayWidth displayedInStage drawCa...

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

312. laya.particle.Particle2D [ 75%]

...read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite  emitter : EmitterBase[read-only] 获取粒子发射器 Particle2D filters : Array滤镜集合。可以设...

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

313. 陀螺仪与加速计(JavaScript-LayaAir基础篇(JS)-硬件设备相关) [ 75%]

...info.fontSize = 50; this.info.color = "#FFFFFF"; this.info.size(Laya.stage.width, Laya.stage.height);  Laya.stage.addChild(this.info);  Laya.Gyroscope.instance.on(Laya.Event.CHANGE, this, onDeviceorientation); function onDeviceorientation(absolute, rotationInfo) { this.info.text = "alpha:" + Math....

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

314. laya.d3.core.scene.BaseScene [ 75%]

...,默认为true。如果设置不可见,节点将不被渲染。Sprite width : Number 表示显示对象的宽度,以像素为单位。 宽度默认为0,可以手动设置,或者通过getbounds获取实际宽度。设置此宽度只用来做鼠标碰撞使用,改变后并不影响显示...

来源: laya_api 发布时间: 20170422

315. sound manager在MOUSE_OVER事件中无法播放 [ 75%]

...GL时自动切换至Canvas             Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL);              Laya.stage.alignV = Stage.ALIGN_MIDDLE;             Laya.stage.alignH = Stage.ALIGN_CENTER;              Laya.stage.scaleMode = "...

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

316. 位图字体的排版与注册点问题 [ 75%]

...然后想将其注册点设为文本中心,这样写,text.pivotX=text.width>>1; text.pivotY=text.height>>1; 然后将文本置于屏幕中心,理论上应该文本框居中 但结果是这样   附件 : --> 2016-06-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

317. Clip属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 75%]

...lipX、竖向分隔数量 clipY,或横向分割每个切片的宽度 clipWidth、竖向分割每个切片的高度 clipHeight,从左向右,从上到下,分割组合为一个切片动画。 ​ Clip 组件可以用来播放切片动画,和显示切片动画的某一帧图片。 ​ 点击...

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

318. laya.ui.Box [ 75%]

...d-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalScaleX : Number[read-only] 获得相对于stage的全局X轴...

来源: laya_api 发布时间: 20170929

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

...his, () => { let picTemp = Laya.Loader.getRes(url); console.log(picTemp.width) // undefined let nodee = new Laya.Sprite() nodee.texture = picTemp nodee.width = 500 nodee.height = 250 nodee.x = 100 nodee.y = 350 Laya.stage.addChild(nodee) }));上面这个图片无法正常显示,打印 texture ...

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

320. laya.ui.HSlider_API3.0 [ 74%]

...al 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 displayedInStage drawC...

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