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

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

1001. laya.device.motion.Gyroscope [ 70%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames GyroscopeProperties | Methods Packagelaya.device.motionClasspublic class GyroscopeInheritanceGyroscope EventDispatcher Object 使用Gyroscope.instance获取唯一的Gyroscope引用,请勿调用构造函数。 listen()...

来源: laya_api 发布时间: 20170929

1002. 分包、多模块时的编译器BUG [ 70%]

...ument,Laya){     var __un=Laya.un,__uns=Laya.uns,__static=Laya.static,__class=Laya.class,__getset=Laya.getset,__newvec=Laya.__newvec; })(window,document,Laya); 此时就算编译1万次,也不会正常,除非你修改了a.TempModule的内容。 但如果切换IDE,从LayaIDE改为由FlashBui...

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

1003. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 70%]

...目。代码如下: ```java package { import laya.display.Sprite; public class LayaUISample { public function LayaUISample() { //初始化引擎 Laya.init(600, 400); Laya.stage.bgColor ="#cccccc"; var data:String= "data:image/svg+xml,"+'' + '' + '' + 'I like ' + '' + 'cheese' + '' + '' + ''; var s...

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

1004. laya.d3.math.Color_API3.0 [ 70%]

... Inherited Externals Only exported Menu Globals "laya/d3/math/Color" Color Class Color Color 类用于创建颜色实例。 Hierarchy Color Implements IClone Index Constructors constructor Properties a b g r BLACK BLUE CLEAR CYAN GRAY GREEN MAGENTA RED WHITE YELLOW Methods clone cloneTo equal fromAr...

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

1005. laya.d3.component.animator.AnimatorControllerLayer_API3.0 [ 70%]

...aya/d3/component/Animator/AnimatorControllerLayer" AnimatorControllerLayer Class AnimatorControllerLayer AnimatorControllerLayer 类用于创建动画控制器层。 Hierarchy AnimatorControllerLayer Implements IClone Index Constructors constructor Properties blendingMode defaultWeight enable name p...

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

1006. laya.utils.HTMLChar [ 70%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames HTMLCharProperties | Methods Packagelaya.utilsClasspublic class HTMLCharInheritanceHTMLChar ObjectImplements laya.display.ILayout HTMLChar 是一个 HTML 字符类。 Public Properties PropertyDefined By  char : Strin...

来源: laya_api 发布时间: 20170422

1007. laya.d3.core.particleShuriKen.module.shape.ShapeUtils [ 70%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ShapeUtilsMethods Packagelaya.d3.core.particleShuriKen.module.shapeClasspublic class ShapeUtilsInheritanceShapeUtils Object ... Public Methods  MethodDefined By  ShapeUtils()ShapeUtils  _randomPointInsideHalfUnitBox(...

来源: laya_api 发布时间: 20170929

1008. laya.d3.core.particleShuriKen.module.shape.ShapeUtils [ 70%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ShapeUtilsMethods Packagelaya.d3.core.particleShuriKen.module.shapeClasspublic class ShapeUtilsInheritanceShapeUtils Object ... Public Methods  MethodDefined By  ShapeUtils()ShapeUtils  _randomPointInsideHalfUnitBox(...

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

1009. 已经在vs上引用相关的类,编译后bundle.js却没有相关的代码 [ 70%]

...碰到过这样的问题? 一个common.ts里面定义了export default class SDispatcher implements ISDispatcher{},然后在其他类里面继承。并导包。export default class xxxx extends SDispatcher{},在vs里面没有发现报错。进行指令编译后,运行bundle.js。却...

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

1010. UI运行时 · LayaAir3.3 · 引擎文档 · LAYABOX [ 69%]

...建好了UI组件脚本,而后添加的代码如下所示: const { regClass } = Laya; import { RuntimeScriptBase } from "./RuntimeScript.generated"; @regClass() export class RuntimeScript extends RuntimeScriptBase { onAwake(): void { // Button添加鼠标事件,让Image不显示 this.Button.on...

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