大约有 54 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0055 秒)
...eSprite = this.addPBRSphere(Laya.PrimitiveMesh.createSphere(0.1), new Laya.Vector3(0, 0.2, 0.5), scene); sphereSprite.meshRenderer.castShadow = true; sphereSprite.meshRenderer.receiveShadow = true; ``` 然后来看下效果。 ![](img/1.png)(图1)
来源: Laya2.0_文档 发布时间: 20210715
...ite: MeshSprite3D = this.addPBRSphere(PrimitiveMesh.createSphere(0.1), new Vector3(0, 0.2, 0.5), scene); sphereSprite.meshRenderer.castShadow = true; ``` 然后来看下效果。 ![](img/1.png)(图1)
来源: Laya2.0_文档 发布时间: 20210715
...ite: MeshSprite3D = this.addPBRSphere(PrimitiveMesh.createSphere(0.1), new Vector3(0, 0.2, 0.5), scene); sphereSprite.meshRenderer.castShadow = true; sphereSprite.meshRenderer.receiveShadow = true; ``` 然后来看下效果。 ![](img/1.png)(图1)
来源: Laya2.0_文档 发布时间: 20210715
...移速度越快。 (动图1-2) angulaVelocity属性的值是3维向量Vector3类型值,Bullet使用欧拉角来描述物体的旋转,3D向量的每个分量代表绕x、y、z轴旋转的速度,单位是弧度/秒。动图1-2,就是在x轴分别设置了3.14与31.4的对比效果。 angul...
来源: Laya3.0_文档 发布时间: 20241014
...ted from Node._extra Defined in laya/display/Node.ts:56 _forward _forward: Vector3 = new Vector3() Inherited from BaseCamera._forward Defined in laya/d3/core/BaseCamera.ts:174 前向量 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _up _up: Vector3 = new Vector3(...
来源: Laya3.0_api 发布时间: 20231115
...[1-2](img/1-2.gif) (动图1-2) angulaVelocity属性的值是3维向量`Vector3`类型值,Bullet使用欧拉角来描述物体的旋转,3D向量的每个分量代表绕x、y、z轴旋转的速度,单位是**弧度/秒**。动图1-2,就是在x轴分别设置了3.14与31.4的对比效果。...
来源: Laya2.0_文档 发布时间: 20210715
...ted from Node._extra Defined in laya/display/Node.ts:56 _forward _forward: Vector3 = new Vector3() Inherited from BaseCamera._forward Defined in laya/d3/core/BaseCamera.ts:174 前向量 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _up _up: Vector3 = new Vector3(...
来源: Laya3.0_api 发布时间: 20231115
...number Returns void shadowFourCascadeSplits get shadowFourCascadeSplits(): Vector3 set shadowFourCascadeSplits(value: Vector3): void Defined in laya/d3/core/light/DirectionLight.ts:42 四级级联阴影分割比例,X、Y、Z依次为其分割比例,Z必须大于Y,Y必须大于X。 Returns Vector3 De...
来源: Laya3.0_api 发布时间: 20231115
...ted from Node._extra Defined in laya/display/Node.ts:56 _forward _forward: Vector3 = new Vector3() Defined in laya/d3/core/BaseCamera.ts:174 前向量 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _up _up: Vector3 = new Vector3() Defined in laya/d3/core/BaseCamer...
来源: Laya3.0_api 发布时间: 20231115
...riginal: Sprite3D, parent?: Node, worldPositionStays?: boolean, position?: Vector3, rotation?: Quaternion): Sprite3D Inherited from RenderableSprite3D.instantiate Defined in laya/d3/core/Sprite3D.ts:57 创建精灵的克隆实例。 Parameters original: Sprite3D 原始精灵。 Default value parent:...
来源: Laya3.0_api 发布时间: 20231115