大约有 2,995 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0271 秒)
Laya_社区(1062) Laya3.0_api(668) Laya2.0_api(366) laya_api(298) Laya2.0_文档(230) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(107)
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
...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
...目。代码如下: ```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
... 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
...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
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
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
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
...碰到过这样的问题? 一个common.ts里面定义了export default class SDispatcher implements ISDispatcher{},然后在其他类里面继承。并导包。export default class xxxx extends SDispatcher{},在vs里面没有发现报错。进行指令编译后,运行bundle.js。却...
来源: Laya_社区 发布时间: 20200817
...建好了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