大约有 3,033 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0058 秒)
Laya_社区(1088) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(110)
...的运行时库版本。 代码动态添加的示例如下: const { regClass, property } = Laya; @regClass() export class Demo extends Laya.Script { spine: Laya.Spine2DRenderNode; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void ...
来源: Laya3.0_文档 发布时间: 20251128
API DocumentationAll Packages | All Classes | Index | Frames No Frames ParticleSettingProperties | Methods Packagelaya.particleClasspublic class ParticleSettingInheritanceParticleSetting Object ParticleSettings 类是粒子配置数据类 Public Properties PropertyDefined By ageAddScale...
来源: Laya2.0_api 发布时间: 20190513
...求助,屏幕旋转后滚动条没有跟随旋转 module dialog { export class WanF extends ui.dialog.WanFUI { constructor() { super(); this.rotation = 90; this.pos(1060, 280); let panel = new Laya.Panel(); panel.size(638, 527); panel.vScrollBarSkin = "CommDialog/vscroll.png"; this.sp_wanfa.addChi...
来源: Laya_社区 发布时间: 20180426
...s$bar.png"], Handler.create(this, onLoadComplete)); } console.log(1); Laya.class(Loadings,"Loadings",_super); function onLoadComplete() { progressBar = new ProgressBar("./comp/progress.png"); progressBar.width = 400; progressBar.x = (Laya.stage.width - progressBar.width) / 2; progressBar.y = Laya.st...
来源: Laya_社区 发布时间: 20171230
... mat = layaMonkey.getChildAt(0).getChildAt(0).skinnedMeshRender.material; }class RealTimeShadow { private _quaternion: Laya.Quaternion = new Laya.Quaternion(); private scene: Laya.Scene; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = La...
来源: Laya_示例 发布时间: 20251219
...laya.events.Event; import laya.utils.Stat; public class LayaSample { private var _stateMachine:StateMachine; public function LayaSample() { Laya3D.init(1000, 500,true); //适配模式 La...
来源: Laya_社区 发布时间: 20190416
...载问题 测试内容:加载3D场景 代码如下: export default class TestUI extends ui.test.TestSceneUI { private resource: Array<String> = [ "gate/Conventional/Test.ls", ]; constructor() { super(); } onAwake(): void { Laya.loader.crea...
来源: Laya_社区 发布时间: 20190925
...信 Barry Allen 赞同来自: import Sprite = Laya.Sprite export default class Test extends Sprite{ public DEF_SIZE: number = 200 public CIRCLE_WIDTH: number = 20 public $circleSprite: Sprite = new Sprite() public startY: number = -90 constructor() { super() this._init() } private _init() { this.c...
来源: Laya_社区 发布时间: 20180123
...为object层,层级设置无效的问题 Laya2.1.0 JS调用Java PlatformClass undefined Uncaught TypeError: Cannot read property 'props' of undefined 运行报错 Uncaught Can not find scene:GameView.scene undefined Warning!,this class[MiniAdpter] already exist: Object {init: } 鼠标自定义样...
来源: Laya_社区 发布时间: 20170523
...aths.Rectangle; import laya.display.Stage; public class LayaUISample { private var skin:String = "https://layaair.ldc.layabox.co ... 3B%3B private var aniPath:String = "https://layaair.ldc.layabox.co ... 3B%3B public function L...
来源: Laya_社区 发布时间: 20180725