大约有 3 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0022 秒)
...的范围 pointCom.range = 3.0; pointLight.transform.position = new Laya.Vector3(0.0, 1, 0.0); 三、DirectionLight Direction Light(平行光)与点光区别较大,它有固定的一个方向,可通过弧度值设定,并且也没有衰减和光照范围,会对全场景所有模型进行...
来源: Laya3.0_文档 发布时间: 20251010
...移速度越快。 (动图1-2) angulaVelocity属性的值是3维向量Vector3类型值,Bullet使用欧拉角来描述物体的旋转,3D向量的每个分量代表绕x、y、z轴旋转的速度,单位是弧度/秒。动图1-2,就是在x轴分别设置了3.14与31.4的对比效果。 angul...
来源: Laya3.0_文档 发布时间: 20251010
... colorIndex); } } private _getRandomPosition(positionRanvge: number): Laya.Vector3 { let getRangeRandom = () => { return (Math.random() - 0.5) * positionRanvge; } return new Laya.Vector3(getRangeRandom(), 0.3, getRangeRandom()); } } shader代码如下: Shader3D Start { type:Shader3D name:PBRCol...
来源: Laya3.0_文档 发布时间: 20251010