大约有 925 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0059 秒)
Laya_社区(470) Laya3.0_api(134) Laya2.0_文档(98) laya_api(88) Laya2.0_api(75) Laya_示例(42) Laya3.0_文档(18)
...ene extends Laya.Script { constructor(){ super(); this.rotation = new Laya.Vector3(0, 0.01, 0); this.point = new Laya.Vector2(); this.ray = new Laya.Ray(new Laya.Vector3(),new Laya.Vector3()); //1.开启第四个参数 let config3D = new Laya.Config3D(); config3D.isAlpha = true; Laya3D.init(0, 0, co...
来源: Laya_社区 发布时间: 20200903
...ElementFormat Vector2 : String = vector2[static] VertexElementFormat Vector3 : String = vector3[static] VertexElementFormat Vector4 : String = vector4[static] VertexElementFormatMethod DetailgetElementInfos()method public static function getElementInfos(element:String):Array 获取顶点元...
来源: Laya2.0_api 发布时间: 20190513
...e3D(); Laya.stage.addChild(this.scene); this.scene.ambientColor = new Laya.Vector3(0.5, 0.5, 0.5); //初始化相机 var camera = new Laya.Camera(0, 0.1, 100); this.scene.addChild(camera); camera.transform.translate(new Laya.Vector3(0, 3, 5)); camera.transform.rotate(new Laya.Vector3( -15, 0, 0), tr...
来源: Laya_社区 发布时间: 20191209
...,1模式。ShurikenParticleSystem startRotationConstantMaxSeparate : Vector3最大开始三维旋转,1模式。ShurikenParticleSystem startRotationConstantMin : Number最小开始旋转,1模式。ShurikenParticleSystem startRotationConstantMinSeparate : Vector3最小开始三维旋转...
来源: laya_api 发布时间: 20170929
...his.scene.addChild(box); // 设置位置 box.transform.position = new Laya.Vector3(2.0, 0.25, 0.6); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); /* 球体 */ let sphere = new Laya.Sprite3D; let sphereMesh = sphere.addComponent(Laya.MeshFilter); let sphereRender = sphere.addCompone...
来源: Laya3.0_文档 发布时间: 20251010
...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_示例 发布时间: 20251130
...ild(camera); // 移动摄像机位置 camera.transform.position = new Laya.Vector3(0, 5, 23); // 旋转摄像机角度 camera.transform.rotate(new Laya.Vector3(-17, 0, 0), false); // 设置摄像机视野范围(角度) camera.fieldOfView = 50; // 设置背景颜色 camera.clearColor = new Laya.V...
来源: Laya_社区 发布时间: 20171227
... OrientedBoundBox[read-only] 获取包围盒子。 BoxCollider center : Vector3 中心点 BoxCollider destroyed : Boolean[read-only] 获取是否已销毁。 Component3D enable : Boolean 获取是否启用。 Component3D id : int[read-only] 获取唯一标识ID。 Component3D isSingleton : Bo...
来源: laya_api 发布时间: 20170929
...h.createBox(0.5, 0.5, 0.5))) as MeshSprite3D; box.transform.position = new Vector3(2.0, 0.25, 0.6); box.transform.rotate(new Vector3(0, 45, 0), false, false); //球体 var sphere:MeshSprite3D = sprite3D.addChild(new MeshSprite3D(PrimitiveMesh.createSphere(0.25, 20, 20))) as MeshSprite3D; sphere.tran...
来源: Laya2.0_文档 发布时间: 20210715
...有0 -- 附生成的图形。一点3D的效果都没有。。 ---var fNode:Vector3 = points[points.length - 1]; var sNode:Vector3 = points[i - 1]; var tNode:Vector3 = points[i - 2]; vbs.push(fNode.x,fNode.y,fNode.z, 1,1,1,1,1); vbs.push(sNode.x,sNode.y,sNode.z, 1,1,1,1,1); vbs.push(tNode.x,tNode.y,t...
来源: Laya_社区 发布时间: 20180329