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

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

41. 属性设置器(TypeScript-IDE篇(TS)-设计模式基础) [ 71%]

...大小,例如CheckBox。* ### 3.3 UI适配属性 `left、right、top、bottom`四个属性主要用于组件与父容器边缘距离位置适配。 `centerX、centerY`两个属性主要用于组件与父容器中心位置适配。 在游戏开发中,我们不可能把所有屏幕分辨率全部...

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

42. 属性设置器(ActionScript-IDE篇(AS3)-设计模式基础) [ 71%]

...大小,例如CheckBox。* ### 3.3 UI适配属性 `left、right、top、bottom`四个属性主要用于组件与父容器边缘距离位置适配。 `centerX、centerY`两个属性主要用于组件与父容器中心位置适配。 在游戏开发中,我们不可能把所有屏幕分辨率全部...

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

43. 想要找设置相对坐标后的view全局坐标,发现有问题,请教一下. [ 71%]

...,y, view 坐标设置为相对于scene的相对坐标, 即: left top right bottom centerX centerY userPanel 坐标设置为相对于view的相对坐标, 即: left top right bottom centerX centerY   现在想要获取 userPanel 的stage 全局坐标, 请教一下, 怎么获取? 附件 : --> 2021-02...

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

44. laya.ui.HBox_API3.0 [ 70%]

...phics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag BOTTOM MIDDLE NONE TOP drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed ...

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

45. 微信授权,获取用户信息的接口实现方法,wx.createUserInfoButton [ 70%]

....getSystemInfoSync().windowWidth/2-70,                         bottom: wx.getSystemInfoSync().windowHeight/2,                         width: 140,                         height: 40,                         lineHeight: 40,                     ...

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

46. laya.d3.math.Matrix4x4 [ 70%]

...观察矩阵 Matrix4x4  createOrthoOffCenter(left:Number, right:Number, bottom:Number, top:Number, znear:Number, zfar:Number, out:Matrix4x4):void[static] 计算正交投影矩阵。 Matrix4x4  createPerspective(fov:Number, aspect:Number, znear:Number, zfar:Number, out:Matrix4x4):void[static] 通...

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

47. laya.d3.math.BoundFrustum [ 68%]

...ustum 类用于创建锥截体。 Public Properties PropertyDefined By  bottom : Plane[read-only] 获取底平面。 BoundFrustum  far : Plane[read-only] 获取远平面。 BoundFrustum  left : Plane[read-only] 获取左平面。 BoundFrustum  matrix : Matrix4x4 获取描述矩阵。 BoundF...

来源: laya_api 发布时间: 20170929

48. laya.d3.math.BoundFrustum [ 68%]

...ustum 类用于创建锥截体。 Public Properties PropertyDefined By  bottom : Plane[read-only] 获取底平面。 BoundFrustum  far : Plane[read-only] 获取远平面。 BoundFrustum  left : Plane[read-only] 获取左平面。 BoundFrustum  matrix : Matrix4x4 获取描述矩阵。 BoundF...

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

49. 屏幕适配怎样实现铺满全屏,又不被拉伸? [ 68%]

...要做三步:   第一步:所有的界面元素在IDE已设置好up/bottom/left/right/centerX/centerY以及layoutEnabled属性   第二步、PC使用showall,手机使用fixedwidth模式,就是下面的custom模式,这个模式是我自己有小改动(只是设置了canvas尺寸与屏...

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

50. 屏幕适配-屏幕适配 [ 67%]

... boy2 = new Image(); boy2.skin = "../../res/cartoonCharacters/2.png"; boy2.bottom = 0; boy2.right = 0; boy2.on("click", this, onBoyClick); Laya.stage.addChild(boy2); //侦听点击事件,输出坐标信息 Laya.stage.on("click", this, onClick); Laya.stage.on("resize", this, onResize); })(); functi...

来源: Laya_示例 发布时间: 20240930