大约有 1,207 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0046 秒)
Laya_社区(573) Laya3.0_api(166) Laya2.0_文档(165) Laya2.0_api(116) laya_api(115) Laya_示例(43) Laya3.0_文档(29)
...Byte4 ByteOne Color NormalizedShort2 NormalizedShort4 Short2 Short4 Single Vector2 Vector3 Vector4 Methods getElementInfos Properties Static Byte2 Byte2: string = "byte2" Defined in laya/renders/VertexElementFormat.ts:24 字节数组2 Static Byte3 Byte3: string = "byte3" Defined in laya/renders/Vert...
来源: Laya3.0_api 发布时间: 20231115
...dChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.translate(new Laya.Vector3(0, 0.7, 1.3)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); //点光源 var pointLight = scene.addChild(new Laya.PointLight()); pointLight.color = new Laya....
来源: Laya_示例 发布时间: 20251130
...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(3, 8, 10)); camera.transform.lookAt(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 1, 0)); camera.clearColor = new Laya.Vector3(0.3, 0.3, 0.5); camera.addComponent(CameraMoveScript); //创建点光[左下角]---------...
来源: Laya_社区 发布时间: 20180103
...用于创建射线。 Public Properties PropertyDefined By direction : Vector3方向Ray origin : Vector3原点RayPublic Methods MethodDefined By Ray(origin:Vector3, direction:Vector3) 创建一个 Ray 实例。 RayProperty Detaildirectionpropertypublic var direction:Vector3方向originpr...
来源: laya_api 发布时间: 20170929
...用于创建射线。 Public Properties PropertyDefined By direction : Vector3方向Ray origin : Vector3原点RayPublic Methods MethodDefined By Ray(origin:Vector3, direction:Vector3) 创建一个 Ray 实例。 RayProperty Detaildirectionpropertypublic var direction:Vector3方向originpr...
来源: Laya2.0_api 发布时间: 20190513
new vector2报错 let pos: Laya.Vector2 = new Laya.Vector2(100, 100); 直接就包了一个异常 "Laya.Vector2 is not a constructor" 这是为什么 版本1.7.20 beta 附件 : --> 2018-08-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...
来源: Laya_社区 发布时间: 20180823
...Byte4 ByteOne Color NormalizedShort2 NormalizedShort4 Short2 Short4 Single Vector2 Vector3 Vector4 Methods getElementInfos Properties Static Byte2 Byte2: string = "byte2" Defined in laya/d3/graphics/VertexElementFormat.ts:24 字节数组2 Static Byte3 Byte3: string = "byte3" Defined in laya/d3/graph...
来源: Laya3.0_api 发布时间: 20231102
...dChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.translate(new Laya.Vector3(0, 6, 10)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); var glitter = scene.addChild(new Laya.Glitter()); var glitterTemplet = glitter.templet; var glitterMaterial = glitter.glitterRender.shared...
来源: Laya_示例 发布时间: 20251130
...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 2, 5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.clearColor = null; //方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vecto...
来源: Laya_示例 发布时间: 20251130
...距离。 * @param isLocal 是否局部空间。 */ translate(translation: Vector3, isLocal: boolean = true): void { if (isLocal) { Matrix4x4.createFromQuaternion(this.localRotation, Transform3D._tempMatrix0); Vector3.transformCoordinate(translation, Transform3D._tempMatrix0, Transform3D._tempVector...
来源: Laya3.0_文档 发布时间: 20251010