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

大约有 486 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0066 秒)

471. 求ShuriKenParticle3D用法 [ 26%]

...ces/Effects/Materials/Effect_yu_jinbi_xulie.lmat");             super(material);             {                 let s = this.particleSystem;                 s.isPerformanceMode = true;                 s.duration = 20;         ...

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

472. 使用3D精灵 · LayaAir3.0文档 · LAYABOX [ 25%]

...ne: Laya.Scene3D = new Laya.Scene3D; speed: number = 0.01; constructor() { super(); } /** * @private */ protected _updateRotation(): void { if (Math.abs(this.yawPitchRoll.y) < 1.50) { Laya.Quaternion.createFromYawPitchRoll(this.yawPitchRoll.x, this.yawPitchRoll.y, this.yawPitchRoll.z, this.tempRo...

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

473. laya.ui.Tree_API3.0 [ 24%]

...aya.stage.addChild(tree);//将 tree 添加到显示列表。 } (function (_super) { function Item() { Item.__super.call(this);//初始化父类。 this.right = 0; this.left = 0; var selectBox = new laya.ui.Clip("resource/ui/clip_selectBox.png", 1, 2); selectBox.name = "selectBox";//设置 selectBox ...

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

474. 3D灯光与阴影 · LayaAir3.0文档 · LAYABOX [ 24%]

...用示例” export class MultiLight extends BaseScript { constructor() { super(); } onAwake(): void { var moveScript: LightMoveScript = this.camera.addComponent(LightMoveScript); var moverLights: Laya.Sprite3D[] = moveScript.lights; var offsets: Vector3[] = moveScript.offsets; var moveRanges: Vecto...

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

475. 微信小游戏提审后,提示说代码侵权 [ 24%]

...continue; if(arr2[i].indexOf("class ") !=-1) continue; if(arr2[i].indexOf("super(") !=-1) continue; if(arr2[i].indexOf("public constructor") !=-1) continue; if(arr2[i].indexOf("else") !=-1) continue; if(arr2[i].indexOf("else if") !=-1) continue; if(arr2[i].indexOf("//") !=-1) continue; if(arr2[i].in...

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

476. 十几秒以后动画渲染时间变长,帧率变慢,是怎么回事? [ 24%]

...number;  /** 是否移除 */ public _to_remove: number;   constructor(){ super(GunRoleType.LIVE_DOLL); }  init( box: GunBox, doll_item: DollItem, doll_area: Area ):void { // if(!this._body_ani) // { // this._body_ani = new Laya.Animation(); // this.addChild(this._body_ani); // } // this._body_ani...

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

477. LAYABOX游戏实时语音之APP版本 [ 23%]

...s)); } return str;; } class LoginView extends ui.LoginUI { constructor() { super(); this.login.on(Laya.Event.CLICK, this, this.Loginyim); this.joinroom.on(Laya.Event.CLICK, this, this.JoinRoom); this.RecordAudio.on(Laya.Event.MOUSE_DOWN, this, this.StartRecordAudio); this.RecordAudio.on(Laya.Event.M...

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

478. 3D物理编辑 · LayaAir3.0文档 · LAYABOX [ 22%]

...例 */ export default class TSDemo extends Laya.Script3D { constructor() { super(); } } 2D脚本与3D脚本不要混用,如果是用IDE创建的脚本模板,需要将继承的2D脚本类(Laya.Script)改为3D脚本类(Laya.Script3D), 添加物理脚本 只有为节点添加了我们自...

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

479. 使用3D摄像机 · LayaAir3.0文档 · LAYABOX [ 20%]

...blic curpos: Laya.Vector3; private delatpos: Laya.Vector3; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 * 此方法为虚方法,使用时重写覆盖即可 */ onAwake(): void { this.curpos = new Laya.Vector3();...

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

480. 一篇上手LayaAir的3D物理引擎(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 20%]

...例 */ export default class TSDemo extends Laya.Script3D { constructor() { super(); } } ``` > 2D脚本与3D脚本不要混用,如果是用IDE创建的脚本模板,需要将继承的2D脚本类(Laya.Script)改为3D脚本类(Laya.Script3D), ###### 添加物理脚本 只有为节点添加...

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