大约有 568 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0048 秒)
Laya3.0_api(166) Laya2.0_api(116) laya_api(115) Laya_社区(78) Laya_示例(39) Laya2.0_文档(37) Laya3.0_文档(17)
...ose: any Defined in laya/d3/WebXR/core/WebXRInput.ts:30 position position: Vector3 Defined in laya/d3/WebXR/core/WebXRInput.ts:42 hand Pos ray ray: Ray Defined in laya/d3/WebXR/core/WebXRInput.ts:38 input Ray rotation rotation: Quaternion Defined in laya/d3/WebXR/core/WebXRInput.ts:46 hand Rotate St...
来源: Laya3.0_api 发布时间: 20231115
...型索引获得组件。 Sprite3D getComponentsByType(type:*, components:Vector.<Component3D>):void 通过指定类型获得所有组件。 Sprite3D getProjectionViewWorldMatrix(projectionViewMatrix:Matrix4x4):Matrix4x4 获取投影视图世界矩阵。 Sprite3D hasListener(type:String):Boo...
来源: laya_api 发布时间: 20170929
... : Array滤镜集合。可以设置多个滤镜组合。Sprite fogColor : Vector3 获取雾化颜色。 BaseScene fogRange : Number 获取雾化范围。 BaseScene fogStart : Number 获取雾化起始位置。 BaseScene globalScaleX : Number[read-only] 获得相对于stage的全局X轴缩放值...
来源: laya_api 发布时间: 20170422
...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; ``` 然后来看下效果。 (图1)
来源: Laya2.0_文档 发布时间: 20210715
...ite: MeshSprite3D = this.addPBRSphere(PrimitiveMesh.createSphere(0.1), new Vector3(0, 0.2, 0.5), scene); sphereSprite.meshRenderer.castShadow = true; ``` 然后来看下效果。 (图1)
来源: Laya2.0_文档 发布时间: 20210715
...[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
...型索引获得组件。 Sprite3D getComponentsByType(type:*, components:Vector.<Component3D>):void 通过指定类型获得所有组件。 Sprite3D getProjectionViewWorldMatrix(projectionViewMatrix:Matrix4x4):Matrix4x4 获取投影视图世界矩阵。 Sprite3D hasListener(type:String):Boo...
来源: laya_api 发布时间: 20170929
...ite: MeshSprite3D = this.addPBRSphere(PrimitiveMesh.createSphere(0.1), new Vector3(0, 0.2, 0.5), scene); sphereSprite.meshRenderer.castShadow = true; sphereSprite.meshRenderer.receiveShadow = true; ``` 然后来看下效果。 (图1)
来源: Laya2.0_文档 发布时间: 20210715
...tyDefined By blend : int透明混合。RenderState blendConstColor : Vector4混合常量颜色。RenderState blendEquation : int混合方程。RenderState blendEquationAlpha : intAlpha混合方程。RenderState blendEquationRGB : intRGB混合方程。RenderState cull : int渲染剔...
来源: Laya2.0_api 发布时间: 20190513
...型索引获得组件。 Sprite3D getComponentsByType(type:*, components:Vector.<Component3D>):void 通过指定类型获得所有组件。 Sprite3D getHeight(x:Number, z:Number):Number 获取地形高度。 MeshTerrainSprite3D getProjectionViewWorldMatrix(projectionViewMatrix:Matrix4x4):...
来源: laya_api 发布时间: 20170929