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

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

431. 动画状态机 · LayaAir3.3 · 引擎文档 · LAYABOX [ 38%]

...,添加的代码如下: ... import Vector3 = Laya.Vector3; ... export class AnimationScript extends Laya.AnimatorStateScript { ... private model: Laya.Sprite3D; /**@internal */ setPlayScriptInfo(animator: Laya.Animator | Laya.Animator2D, layerindex: number, playstate: Laya.AnimatorState | Laya.A...

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

432. laya.particle.Particle2D [ 38%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames Particle2DProperties | Methods | Events Packagelaya.particleClasspublic class Particle2DInheritanceParticle2D Sprite Node EventDispatcher Object Particle2D 类是2D粒子播放类 Public Properties Hide Inherited Public...

来源: laya_api 发布时间: 20170929

433. laya.display.Graphics [ 37%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames GraphicsProperties | Methods Packagelaya.displayClasspublic class GraphicsInheritanceGraphics Object Graphics 类用于创建绘图显示对象。Graphics可以同时绘制多个位图或者矢量图,还可以结合sav...

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

434. 使用3D精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 37%]

...机添加了这个脚本。 (图6-2) 脚本的代码为: const { regClass, property } = Laya; @regClass() export class CameraMoveScript extends Laya.Script3D { /** @private */ protected _tempVector3: Laya.Vector3 = new Laya.Vector3(); protected lastMouseX: number = 0; protected lastMouseY: num...

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

435. 和原生Dom交互 · LayaAir3.3 · 引擎文档 · LAYABOX [ 37%]

...载到自己的项目中或者服务器中。 下面是主类的逻辑: class LayaUISample { constructor() { //初始化引擎 Laya.init(0,0); var Hls:any = Laya.Browser.window.Hls;//获取对Hls的引用。 var plyr:any = Laya.Browser.window.plyr;//获取对plyr的引用 //获取video对象,就...

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

436. laya.display.Animation [ 35%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames AnimationProperties | Methods | Events | Constants Packagelaya.displayClasspublic class AnimationInheritanceAnimation AnimationBase Sprite Node EventDispatcher Object Animation 是Graphics动画类。实现了基于Gra...

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

437. laya.display.Animation [ 33%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames AnimationProperties | Methods | Events | Constants Packagelaya.displayClasspublic class AnimationInheritanceAnimation AnimationPlayerBase Sprite Node EventDispatcher Object Animation 是Graphics动画类。实现了基...

来源: laya_api 发布时间: 20170929

438. 屏幕适配 · LayaAir3.3 · 引擎文档 · LAYABOX [ 29%]

...码如下: import { IndexRTBase } from "./IndexRT.generated"; const { regClass } = Laya; @regClass() export default class IndexRT extends IndexRTBase { onAwake(): void { //设置舞台设计宽高 Laya.stage.designWidth = 1080; Laya.stage.designHeight = 1920; //在引擎初始化之后改变舞台...

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

439. 精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 23%]

...下添加一个自定义组件脚本,并添加如下代码: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Sprite }) public sprite1: Laya.Sprite; @property({ type: Laya.Sprite }) public sprite2...

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

440. lib/arm/liblayaair.so 总是崩溃 [ 19%]

...0000000000000000000000000000000 system@app@WebViewGoogle@WebViewGoogle.apk@classes.dex 08-14 10:57:49.246 22858-22354/? A/google-breakpad: M D4046000 00000000 00D50000 F625A4CB5526862A8938C26430DD14240 liblayaair.so     M D5E70000 00000000 00004000 FE49D5AA7A278825F28EC84A96367CC60 libwebviewchrom...

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