大约有 965 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0047 秒)
Laya_社区(486) Laya3.0_api(135) Laya2.0_文档(121) laya_api(88) Laya2.0_api(75) Laya_示例(42) Laya3.0_文档(18)
... //场景的相机 public otherGameScene:Laya.Camera; private _outPos:Laya.Vector3 = new Laya.Vector3(); this.txtName = new Laya.Text(); this.txtName.color = "#FFFFFF"; this.txtName.text = this.playerName; this.txtName.fontSize = 18; this.txtName.font = "Arial"; this.txtName.bold = true; this.txtNam...
来源: Laya_社区 发布时间: 20171010
...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
...BaseCamera fieldOfView : Number 获取视野。 BaseCamera forward : Vector3[read-only] 获取前向量。 BaseCamera id : int[read-only] 获取唯一标识ID。 Sprite3D isStatic : Boolean是否静态,静态包含一系列的静态处理。Sprite3D layer : Layer 获取蒙版。 Sprite3D l...
来源: laya_api 发布时间: 20170929
...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
... Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; this.upVector3 = new Laya.Vector3(0, 1, 0); //预加载所有资源 let resource = ["Export/LayaScene_JJF/Conventional/JJF.lh"]; Laya.loader.create(resource, Laya.Handler.create(this, ...
来源: Laya_社区 发布时间: 20190531
...,有偏移,目前无奈只能回退到2.8.0版本 let touchPoint:Laya.Vector3 = new Laya.Vector3(); let screenPoint:Laya.Vector2 = new Laya.Vector2(); screenPoint.x = Laya.MouseManager.instance.mouseX; screenPoint.y = Laya.MouseManage...
来源: Laya_社区 发布时间: 20220117