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

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

41. 获取当前的canvas的缩放比例 [ 67%]

...置: Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; canvas里面有一个transform: matrix(...);将canvas自动缩放到正确的大小; 我如何获取当前缩放的比例, 是在Laya.stage里面吗 2016-09-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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

42. 3D本地空间坐标(本节点有旋转过)转父空间坐标 [ 64%]

...sition 里的               var parentInvMat: Matrix4x4 = Transform3D._tempMatrix0;             this._parent.worldMatrix.invert(parentInvMat);             Vector3.transformCoordinate(value, parentInvMat, this._localPosition); 2020-05-20 0 0 分享 微博 QZ...

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

43. 照相机-3D空间转2D空间 [ 64%]

...cene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.35, 1)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); Laya.loader.create("../../res/threeDimen/sk...

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

44. 怎么才能像HTML5中那样直接操作Canvas [ 63%]

...e="position: absolute; left: 0px; top: 0px; background: rgb(0, 0, 0); transform-origin: 0px 0px 0px; transform: matrix(1, 0, 0, 1, 0, 0);"></canvas> var canvas:any = document.getElementById("layaCanvas"); var ctx = canvas.getContext("2d"); ctx.fillStyle = &quot...

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

45. laya.html.dom.HTMLIframeElement_API3.0 [ 62%]

... scaleY scene scrollRect skewX skewY stage staticCache style texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender destroyChildren dra...

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

46. laya.html.dom.HTMLDivElement_API3.0 [ 62%]

... scaleY scene scrollRect skewX skewY stage staticCache style texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender destroyChildren dra...

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

47. laya.physics.PhysicsDebugDraw_API3.0 [ 61%]

...scaleX scaleY scene scrollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildr...

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

48. laya.map.TileAniSprite_API3.0 [ 61%]

...scaleX scaleY scene scrollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearAll clearTimer contains customRender destroy dest...

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

49. laya.map.MapLayer_API3.0 [ 61%]

...scaleX scaleY scene scrollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildr...

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

50. laya.particle.Particle2D_API3.0 [ 61%]

...ene scrollRect skewX skewY source stage staticCache template texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance advanceTime bubbleEvent callLater clearTimer contains customRender destroy d...

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