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

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

31. laya.d3.core.particleshuriken.module.GradientVelocity_API3.0 [ 81%]

...。 实例。 Returns GradientVelocity Accessors constant get constant(): Vector3 Defined in laya/d3/core/particleShuriKen/module/GradientVelocity.ts:101 固定速度。 Returns Vector3 constantMax get constantMax(): Vector3 Defined in laya/d3/core/particleShuriKen/module/GradientVelocity.ts:132 最...

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

32. LayaNative ShapeCast闪退 [ 81%]

...      scene.physicsSimulation.shapeCastAll(colliderShape, new Laya.Vector3(-10,0,0), new Laya.Vector3(10,0,0), hitResults);         // ---------代码结束          // ---------这部分代码不会崩溃         // scene.physicsSimulation.raycastAllFromTo(new...

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

33. 官方LayaAir之灯光一节示例背景在微信里表现不一致 [ 81%]

...Child(camera); //移动摄像机位置 camera.transform.translate(new Laya.Vector3(0, 4, 8)); //旋转摄像机角度 camera.transform.rotate(new Laya.Vector3( -30, 0, 0), true, false); //创建方向光 var light:Laya.DirectionLight = scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight...

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

34. laya.d3.utils.Utils3D_API3.0 [ 80%]

...AndMatrixFast mulMatrixByArrayFast quaternionWeight transformQuat transformVector3ArrayByQuat transformVector3ArrayToVector3ArrayCoordinate transformVector3ArrayToVector3ArrayNormal uint8ArrayToArrayBuffer Properties Static _tempV0 _tempV0: Vector3 = new Vector3() Defined in laya/d3/utils/Utils3D.ts...

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

35. camera.addComponent(CameraMoveScript)报错 [ 80%]

...ild(camera); // 移动摄像机位置 camera.transform.position = new Laya.Vector3(0, 5, 23); // 旋转摄像机角度 camera.transform.rotate(new Laya.Vector3(-17, 0, 0), false); // 设置摄像机视野范围(角度) camera.fieldOfView = 50; // 设置背景颜色 camera.clearColor = new Laya.V...

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

36. laya.d3.physics.PhysicsSimulation_API3.0 [ 80%]

...撞检测。 Parameters value: boolean Returns void gravity get gravity(): Vector3 set gravity(value: Vector3): void Defined in laya/d3/physics/PhysicsSimulation.ts:176 获取重力。 Returns Vector3 Defined in laya/d3/physics/PhysicsSimulation.ts:182 获取重力。 Parameters value: Vector3 Retur...

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

37. 添加射线后,预览运行界面一块黑 [ 80%]

...系 LayaAir3 • 2023-02-20 14:32 @仓颉:已经重现了,问题是Laya.Vector3.ZERO被修改了 把代码 var ray:Laya.Ray = new Laya.Ray(Laya.Vector3.ZERO,Laya.Vector3.ZERO); 改为 var ray:Laya.Ray = new Laya.Ray(new Laya.Vector3(0,0,0),new Laya.Vector3(0,0,0)); 就没问题了 仓颉 • 2023-...

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

38. 动画-旧版骨骼动画 [ 79%]

...dChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.translate(new Laya.Vector3(0, 1.5, 3)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight....

来源: Laya_示例 发布时间: 20250312

39. rigidBody.applyForce 物体不会移动 [ 79%]

...rite3D; private monster_character: Laya.Sprite3D; private translateW: Laya.Vector3 = new Laya.Vector3(0, 0, 0.2); private translateS: Laya.Vector3 = new Laya.Vector3(0, 0, -0.2); private translateA: Laya.Vector3 = new Laya.Vector3(0.2, 0, 0); private translateD: Laya.Vector3 = new Laya.Vector3(-0.2,...

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

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

...试着改一改就OK啦。。import Transform3D = Laya.Transform3D; import Vector3 = laya.d3.math.Vector3; import Quaternion = laya.d3.math.Quaternion; /* 用法: //初始化照相机 var camera = this.newScene.addChild(new Laya.Camera(0, 0.1, 100)) as Laya.Camera; camera.transform.rotationEuler =...

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