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

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

351. laya.ui.TextInput_API3.0 [ 39%]

...n stage staticCache stroke strokeColor templateVars text textField texture timer toolTip top transform type ubb underline underlineColor url valign viewport visible width wordWrap x y zOrder Methods _initialize _processActive _setHeight _setSkin _setWidth addChild addChildAt addChildren addComponent...

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

352. laya.ui.TextArea_API3.0 [ 39%]

...n stage staticCache stroke strokeColor templateVars text textField texture timer toolTip top transform type ubb underline underlineColor url vScrollBar vScrollBarSkin valign viewport visible width wordWrap x y zOrder Methods _initialize _processActive _setHeight _setSkin _setWidth addChild addChildA...

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

353. 动画不显示 [ 38%]

...a.events.Event;     import laya.utils.Browser;     import laya.utils.Timer;     import laya.display.Sprite;     import laya.net.Loader;     import laya.ui.TextArea;     import laya.resource.Texture;     import laya.maths.Point;     import laya.utils.Tween;     import laya....

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

354. 使用3D精灵 · LayaAir3.4 · 引擎文档 · LAYABOX [ 38%]

... * 监听键盘事件 */ onUpdate(): void { var elapsedTime: number = Laya.timer.delta; if (!isNaN(this.lastMouseX) && !isNaN(this.lastMouseY) && this.isMouseDown) { Laya.InputManager.hasKeyDown(87) && this.moveForward(-this.speed * elapsedTime);//W Laya.InputManager.hasKeyDo...

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

355. 有关Laya3D碰撞检测疑问 [ 35%]

...r.mesh = capsule.meshFilter.sharedMesh; capsule.name = "胶囊体";  Laya.timer.frameLoop(1, this, this.checkHit);  this.loadUI();  console.log("碰撞结果:" + boxCollider1.boundBox.containsSphere(cylinder.meshRender.boundingSphere)); console.log("碰撞结果:" + boxCollider1.boundBox.contains...

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

356. rigidBody.applyForce 物体不会移动 [ 33%]

...le(); this.rigidBody = this.character.getComponent(Laya.Rigidbody3D); Laya.timer.frameLoop(1, this, this.onKeyDown); //獲取照相機 var camera: Laya.Camera = littleGirl.getChildByName( "Main Camera" ) as Laya.Camera; this.camera = camera; //新增怪物 this.RandomMonster_x(); this.RandomMonster_...

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

357. 3D中摄像机绕物体旋转该如何实现? [ 27%]

...e.mouseY - this.lastMouseY; } public get deltaTime(): number { return Laya.timer.delta / 1000; } public deltaWheel: number = 0; public FORWORD: Vector3 = new Vector3(); public get GetForward(): Vector3 { this.transform.getForward(this.FORWORD); return this.FORWORD } protected lastMouseX: number = 0;...

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

358. 官方案例里摄像机绕物体旋转脚本的问题 [ 27%]

...e.mouseY - this.lastMouseY; } public get deltaTime(): number { return Laya.timer.delta / 1000; } public deltaWheel: number = 0; public FORWORD: Vector3 = new Vector3(); public get GetForward(): Vector3 { this.transform.getForward(this.FORWORD); return this.FORWORD } protected lastMouseX: number = 0;...

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

359. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 26%]

...通过Tween来执行角色位置改变的 //开启定时重复执行 Laya.timer.loop(40, this, this.loopfun); private loopfun(): void { //resPath,角色需要移动的每个世界坐标位置数组 if (this.resPath && this.index < this.resPathLength) { //AStar寻路位置 this._position...

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