大约有 313 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0047 秒)
Laya3.0_api(129) Laya2.0_api(54) laya_api(50) Laya_社区(38) Laya3.0_文档(15) Laya_示例(15) Laya2.0_文档(12)
...bPoints createfromPoints Constructors constructor new BoundSphere(center?: Vector3, radius?: number): BoundSphere Defined in laya/d3/math/BoundSphere.ts:30 创建一个 BoundSphere 实例。 Parameters Default value center: Vector3 = new Vector3 包围球的中心。 Default value radius: number = 0...
来源: Laya3.0_api 发布时间: 20231115
...试着改一改就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
...rtexParticle endColor : Vector4[read-only] VertexParticle position : Vector3[read-only] VertexParticle radian : Vector4[read-only] VertexParticle radius : Vector2[read-only] VertexParticle sizeRotation : Vector3[read-only] VertexParticle startColor : Vector4[read-only] VertexPartic...
来源: laya_api 发布时间: 20170929
...mber = 0 数组偏移。 Returns void getYawPitchRoll getYawPitchRoll(out: Vector3): void Defined in laya/d3/math/Quaternion.ts:388 分解四元数到欧拉角(顺序为Yaw、Pitch、Roll),参考自http://xboxforums.create.msdn.com/forums/p/4574/23988.aspx#23988,问题绕X轴翻转超过±90...
来源: Laya3.0_api 发布时间: 20231102
...增加模拟精度,默认是1.0 / 60.0。PhysicsSimulation gravity : Vector3 获取重力。 PhysicsSimulation maxSubSteps : int = 1物理引擎在一帧中用于补偿减速的最大次数:模拟器每帧允许的最大模拟次数,如果引擎运行缓慢,可能需要增加该次数,...
来源: Laya2.0_api 发布时间: 20190513
...ysicsCannon/CannonPhysicsSimulation.ts:63 Accessors gravity get gravity(): Vector3 set gravity(value: Vector3): void Defined in laya/d3/physicsCannon/CannonPhysicsSimulation.ts:129 获取重力。 Returns Vector3 Defined in laya/d3/physicsCannon/CannonPhysicsSimulation.ts:135 获取重力。 Paramet...
来源: Laya3.0_api 发布时间: 20231102
...用于创建包围球。 Public Properties PropertyDefined By center : Vector3包围球的中心。BoundSphere radius : Number包围球的半径。BoundSpherePublic Methods MethodDefined By BoundSphere(center:Vector3, radius:Number) 创建一个 BoundSphere 实例。 BoundSphere clone...
来源: Laya2.0_api 发布时间: 20190513
...s:110 克隆 Parameters out: Viewport Returns void project project(source: Vector3, matrix: Matrix4x4, out: Vector4): void Defined in laya/d3/math/Viewport.ts:48 投影一个三维向量到视口空间。 Parameters source: Vector3 三维向量。 matrix: Matrix4x4 变换矩阵。 out: Vector4 x、y...
来源: Laya3.0_api 发布时间: 20231115
...链接 提交 1 个回复 Laya_Aaron 赞同来自: sheen 硬算代码: vector3d为旋转轴ac轴, point3d为B点, 返回结果为D点 PointRoundVector( vector3d: Vector3, point3d: Vector3 , Aplha: number ): Vector3{ let u:number = point3d.x; let v:num...
来源: Laya_社区 发布时间: 20191218
... 说明 默认值 范围 Enable boolean 是否启用 false true/false Lift Vector3 暗部调整 Vector3(0,0,0) -1 到 1 Gamma Vector3 中间调调整 Vector3(1,1,1) 999 到 0.5 Gain Vector3 亮部调整 Vector3(1,1,1) 0 到 2 Color Adjust(颜色调整) 参数 类型 说明 默认值 范围 Enabl...
来源: Laya3.0_文档 发布时间: 20260105