大约有 5 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0030 秒)
...这些属性,并将它们保存在一些常见的数据结构中,例如Vector,这样是很好的,因为我们可以修改他们的数值,从而产生令人兴奋的效果。 下图2-1展示的是顶点、多边形、边缘的可视化三种形态, (图2-1) 接下来单独介绍Mesh...
来源: Laya3.0_文档 发布时间: 20251010
...flectionProbe:true, shaderType:2, uniformMap:{ u_gradientDirection: {type: Vector2, default:[1,1]}, // 渐变方向 u_gradientStartColor: {type:Vector4, default:[1,1,1,1]}, // 渐变起始颜色 u_gradientEndColor: {type:Vector4, default:[1,1,1,1]} // 渐变结束颜色 }, attributeMap: { a_position...
来源: Laya3.0_文档 发布时间: 20251120
...的范围 pointCom.range = 3.0; pointLight.transform.position = new Laya.Vector3(0.0, 1, 0.0); 三、DirectionLight Direction Light(平行光)与点光区别较大,它有固定的一个方向,可通过弧度值设定,并且也没有衰减和光照范围,会对全场景所有模型进行...
来源: 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
...移速度越快。 (动图1-2) angulaVelocity属性的值是3维向量Vector3类型值,Bullet使用欧拉角来描述物体的旋转,3D向量的每个分量代表绕x、y、z轴旋转的速度,单位是弧度/秒。动图1-2,就是在x轴分别设置了3.14与31.4的对比效果。 angul...
来源: Laya3.0_文档 发布时间: 20251010