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

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

1491. 打包微信小游戏报错 ReferenceError: Matter is not defined [ 40%]

...目,可以在pc端正常运行,matter.js是直接用 <script type="text/javascript" src='matter.js' loader='laya'></script> 引入 打包后在微信开发者工具打开报错:Matter is not defined, 在game.js里面添加了 let matter = require("matter.js"); window.Matter = mat...

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

1492. laya.ui.WXOpenDataViewer_API3.0 [ 40%]

... rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache tag texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains custom...

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

1493. 绘制能力 · LayaAir3.4 · 引擎文档 · LAYABOX [ 40%]

....Graphics 类可以查看到API的各种矢量绘图方法。 drawRect fillText drawPath drawCircle drawPie drawLine drawLines drawPoly drawCurves ...... 下面将对这些Graphics进行讲解。 二、绘制矩形与圆角矩形 2.1 IDE绘制矩形 在Sprite对象的 Graphics 组件中,可以通...

来源: Laya3.0_文档 发布时间: 20251010

1494. 官方案例里摄像机绕物体旋转脚本的问题 [ 40%]

...orm.position; */ export default class ModelViewer extends Laya.Script { // Text m_debugTip; public canRotation_X: boolean = true; public canRotation_Y: boolean = true; public canScale: boolean = true; /// <summary> /// Around center. /// </summary> //public target: Transform3D; public Ar...

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

1495. laya.ui.CheckBox [ 40%]

...r,downColor,disableColor"。 Button tag : * 对象的标签。 Component text : Text[read-only] 按钮文本标签 Text 控件。 Button texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawT...

来源: laya_api 发布时间: 20170929

1496. LayaAir和原生DOM交互(JavaScript-2D进阶篇(JS)-扩展模块) [ 40%]

...是重点,文字的效果我们是通过svg支持的css样式来设置 text-shadow设置的是文字的css样式效果,假如开发者想改变文字的样式,可以修改style即可。 ``` 上面是在JavaScript中,用原生的dom元素img来进行显示,那么在游戏中我们想用的...

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

1497. laya.ui.Radio [ 39%]

...r,downColor,disableColor"。 Button tag : * 对象的标签。 Component text : Text[read-only] 按钮文本标签 Text 控件。 Button texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawT...

来源: laya_api 发布时间: 20170929

1498. laya.ui.AdvImage_API3.0 [ 39%]

...eY scene scrollRect sizeGrid skewX skewY skin source stage staticCache tag texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains custom...

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

1499. laya打包APK无法进入游戏 [ 39%]

...吗: <div style="position:absolute;top: 32%;width: 80%;left: 10%;text-align:center;"> <img src="loading_logo.png" style="width: 100%;max-width:500px;" /> </div> 梦太晚 • 2019-06-20 12:56 @qian:请问可否告知,android studio这个报错怎...

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

1500. laya.ui.CheckBox [ 39%]

...downColor,disableColor"。 Button tag : * 对象的标签。 UIComponent text : Text[read-only] 按钮文本标签 Text 控件。 Button texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.dra...

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