大约有 248 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0043 秒)
Laya_社区(142) Laya_示例(42) Laya3.0_api(21) Laya2.0_api(17) laya_api(15) Laya2.0_文档(7) Laya3.0_文档(4)
... Laya.VRCamera( 0.03,0, 0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0.3, 0.3, 0.6)); camera.transform.rotate(new Laya.Vector3(-12, 0, 0), true, false); camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; camera.addComponent(VRCameraMoveScript); /* var camera = (scene.addChild(new Laya.C...
来源: Laya_社区 发布时间: 20170707
...gScene() { MousePickingScene.super(this); this.ray = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0)); this.point = new Laya.Vector2(); this._outHitInfo = new Laya.RaycastHit(); this.phasorSpriter3D = new Laya.PhasorSpriter3D(); this.camera = this.addChild(new Laya.Camera(0, 0.1, 1...
来源: Laya_社区 发布时间: 20170323
...ya.Camera; camera.orthographic = true; camera.transform.translate(new Laya.Vector3(0, 4, 8),false); camera.transform.lookAt(new Laya.Vector3(0,0,0),new Laya.Vector3(0,1,0)); //创建方向光 var light:Laya.DirectionLight = scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; //移动...
来源: Laya_社区 发布时间: 20180302
...rite3D; private monster_character: Laya.Sprite3D; private translateW: Laya.Vector3 = new Laya.Vector3(0, 0, 0.2); private translateS: Laya.Vector3 = new Laya.Vector3(0, 0, -0.2); private translateA: Laya.Vector3 = new Laya.Vector3(0.2, 0, 0); private translateD: Laya.Vector3 = new Laya.Vector3(-0.2,...
来源: Laya_社区 发布时间: 20200917
...Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var Vector3 = Laya.Vector3; var scene = Laya.stage.addChild(new Laya.Scene()); //var env:String = 'inthegarden'; var env = 'sp_default'; //var env = 'AtticRoom'; //var env = 'overcloud'; var envinfo = '../../res/threeDimen/env/' ...
来源: Laya_示例 发布时间: 20241124
...umentationAll Packages | All Classes | Index | Frames No Frames ConchVector4Properties | Methods Packagelaya.d3.math.NativeClasspublic class ConchVector4InheritanceConchVector4 ObjectImplements laya.d3.core.IClone Vector4 类用于创建四维向量。 Public Properties PropertyDefined By ...
来源: Laya2.0_api 发布时间: 20190513
....Camera(0, 0.1, 100) ) as Laya.Camera; camera.transform.translate(new Laya.Vector3(0, 2, 4)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); Laya.Sprite3D.load( "res/test_mesh2.lh", Laya.Handler.create(this, function (sprite: Laya.Sprite3D): void { var clonesprite: Laya.Sprite3D ...
来源: Laya_社区 发布时间: 20220721
....addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.rotate(new Laya.Vector3(-90, 0, 0), false, false); //-30改为-90 camera.transform.translate(new Laya.Vector3(0, 0.5, 0)); //(0,0.5,500)改为(0, 0.5, 0) camera.orthographicProjection = true; var directionLight = scene.addChild(new Laya....
来源: Laya_社区 发布时间: 20170807
...节点也跟随移动 this.layaMonkeyParent.transform.translate(new Laya.Vector3(-0.2, 0, 0); (动图3-2) 通过点击按钮,让子节点移动,可以看到父节点并没有移动 this.layaMonkeySon.transform.translate(new Laya.Vector3(-0.2, 0, 0); 四、克隆 关于克隆,LayaAir3D中...
来源: Laya3.0_文档 发布时间: 20241014
...e test { export class Test { private ray: Laya.Ray = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0)); private point: Laya.Vector2 = new Laya.Vector2(); private _outHitAllInfo: Array<Laya.RaycastHit>; private camera: Laya.Camera; private label: Laya.Label; constructor() { L...
来源: Laya_社区 发布时间: 20180820