大约有 211 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0042 秒)
...。 实例。 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
... scene.physicsSimulation.shapeCastAll(colliderShape, new Laya.Vector3(-10,0,0), new Laya.Vector3(10,0,0), hitResults); // ---------代码结束 // ---------这部分代码不会崩溃 // scene.physicsSimulation.raycastAllFromTo(new...
来源: Laya_社区 发布时间: 20200530
...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
...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
...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
...撞检测。 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
...系 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
...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
...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
...试着改一改就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