大约有 1,194 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0046 秒)
Laya_社区(568) Laya3.0_api(166) Laya2.0_文档(165) Laya2.0_api(116) laya_api(115) Laya_示例(43) Laya3.0_文档(21)
...dByName("DirectionalLight") as Laya.DirectionLight; light.color = new Laya.Vector3(1, 1, 1); light.shadow = true; light.shadowDistance = 1; light.shadowPCFType = 3; light.shadowResolution = 1024; light.shadowPSSMCount = 1; for (let index = 0; index < 2; index++) { var a = 0.05; var b = 0.2; var c...
来源: Laya_社区 发布时间: 20191223
...irectionLight; directionLight.ambientColor = new Laya.Vector3(0.7, 0.6, 0.6); directionLight.specularColor = new Laya.Vector3(1.0, 1.0, 0.9); directionLight.diffuseColor = new Laya.Vector3(1, 1, 1); directionLight.di...
来源: Laya_社区 发布时间: 20161012
...ts:54 Parameters cullingMask: number Returns void position get position(): Vector3 set position(position: Vector3): void Defined in laya/d3/RenderObjs/NativeOBJ/NativeCameraCullInfo.ts:41 Returns Vector3 Defined in laya/d3/RenderObjs/NativeOBJ/NativeCameraCullInfo.ts:36 Parameters position: Vector3 ...
来源: Laya3.0_api 发布时间: 20231115
...XR/core/WebXRCameraManager.ts:45 parent Accessors position get position(): Vector3 set position(newPosition: Vector3): void Defined in laya/d3/WebXR/core/WebXRCameraManager.ts:47 Returns Vector3 Defined in laya/d3/WebXR/core/WebXRCameraManager.ts:51 Parameters newPosition: Vector3 Returns void rigCa...
来源: Laya3.0_api 发布时间: 20231115
...shSprite3D.load("3d/ben/Export.lh") this.role3D.transform.scale = new Laya.Vector3(0.5,0.5,0.5); this.role3D.transform.position = new Laya.Vector3(0,20,0); 以上的scale、position设置均不起作用,但是我放到frameloop里就有用,请问这是为什么?要怎么解决? 2018-03-09 ...
来源: Laya_社区 发布时间: 20180309
...(0, 0.1, 1000); scene3d.addChild(camera); camera.transform.rotate(new Laya.Vector3(-45, 0, 0), false, false); camera.transform.translate(new Laya.Vector3(1000, 0, 0)); camera.orthographic = true; //正交投影垂直矩阵尺寸 camera.orthographicVerticalSize = 10; camera.clearFlag = Laya.BaseCamer...
来源: Laya_社区 发布时间: 20191206
...iffuseTexture = Texture2D.load("res/earth.png"); material.ambientColor=new Vector(2,2,2); sphere.meshRender.material = material; 我照教程里设置了环境颜色 material.ambientColor=new Vector(2,2,2); 但是无效,模型并没有加亮。是为啥 2018-05-31 添加评论 免费帖 --> 分享...
来源: Laya_社区 发布时间: 20180531
...y MeshReader()MeshReader read(data:ArrayBuffer, mesh:Mesh, subMeshes:Vector.<SubMesh>):void[static] MeshReaderConstructor DetailMeshReader()Constructorpublic function MeshReader()Method Detailread()method public static function read(data:ArrayBuffer, mesh:Mesh, subMeshes:Vector.<SubMe...
来源: Laya2.0_api 发布时间: 20190513
... identifier : int[read-only] 获取唯一识别ID。 Touch position : Vector2[read-only] 获取触摸点的像素坐标。 TouchProperty Detailidentifierpropertyidentifier:int [read-only] 获取唯一识别ID。 Implementation public function get identifier():intpositionproperty posi...
来源: Laya2.0_api 发布时间: 20190513
...prite3D url : String[read-only] 获取资源的URL地址。 Sprite3D __VECTOR3__ : Vector3[static] TerrainPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By Terrain(terrainRes:TerrainRes = null) 创建一个 MeshSprite3D 实例。 Terrain _cloneTo(de...
来源: Laya2.0_api 发布时间: 20190513