大约有 148 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0055 秒)
...blic/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/Native/ConchQuaternion" ConchQuaternion Class ConchQuaternion Quaternion 类用于创建四元数。 Hierarchy ConchQuaternion Implements IClone Index Constructors constructor Properties elements DEFAULT NAN Accessors w ...
来源: Laya3.0_api 发布时间: 20231102
... Public/Protected All Inherited Externals Only exported Menu Globals "laya/maths/Matrix4x4" Matrix4x4 Class Matrix4x4 Matrix4x4 类用于创建4x4矩阵。 Hierarchy Matrix4x4 Implements IClone Index Constructors constructor Properties elements DEFAULT DEFAULTINVERT ZERO Methods clone cloneByArray c...
来源: Laya3.0_api 发布时间: 20231115
... violation on path C:\xxxxxxxxxx\LayaScene_levels\Conventional\Assets\Game\mat\mat-red.lmat System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions option...
来源: Laya_社区 发布时间: 20200109
...blic/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/Matrix4x4" Matrix4x4 Class Matrix4x4 Matrix4x4 类用于创建4x4矩阵。 Hierarchy Matrix4x4 Implements IClone Index Constructors constructor Properties elements DEFAULT ZERO Methods clone cloneByArray cloneTo decompos...
来源: Laya3.0_api 发布时间: 20231102
...格更为常用。 Box:立方体天空盒 Dome:球形天空盒 Material:指定天空盒的材质 (图2-3) 展开DefaultSkyMaterial,如图2-3,就是正在使用的天空盒材质,目前我们使用LayaAir内置的SkyPanoramic着色器,SkyPanoramic的颜色和纹理是两个...
来源: Laya3.0_文档 发布时间: 20251010
...。 */ export default class GameUI extends ui.test.TestSceneUI { private mat1: Laya.BlinnPhongMaterial; private newScene: Laya.Scene3D; private sMapRes = "remote/model/res/Conventional/map1.ls" private sBullRes = "remote/model/res/Conventional/bull.lh" private sEnemyRes = "remote/model/res/Conventio...
来源: Laya_社区 发布时间: 20200720
...D.SKINMESH, 0)); transform || (transform = Matrix.EMPTY); transform.translate(x, y); Matrix.mul(transform, context._curMat, _tempMatrix); transform.translate( -x, -y); ...
来源: Laya_社区 发布时间: 20190628
...ipt); scene.once(Laya.Event.HIERARCHY_LOADED, this, function () { setCustomMaterial(scene.getChildAt(2)); }); function setCustomMaterial(spirit3D) { if (spirit3D instanceof Laya.MeshSprite3D) { var meshSprite3D = spirit3D; var customMaterial = new CustomTerrainMaterial(); customMaterial.setSplatAlph...
来源: Laya_示例 发布时间: 20260815
...了。 (图2) ```typescript //随机生成坐标值 var sX = Math.random() * 0.75 + 0.25; var sY = Math.random() * 0.75 + 0.25; var sZ = Math.random() * 0.75 + 0.25; //创建盒型MeshSprite3D var box = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(sX, sY, sZ))); //...
来源: Laya2.0_文档 发布时间: 20210715
... (图2) ```typescript //随机生成坐标值 var sX:int = Math.random() * 0.75 + 0.25; var sY:int = Math.random() * 0.75 + 0.25; var sZ:int = Math.random() * 0.75 + 0.25; //创建盒型MeshSprite3D var box:MeshSprite3D = scene.addChild(new MeshSprite3D(PrimitiveMesh.createBox(sX, sY, ...
来源: Laya2.0_文档 发布时间: 20210714