• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,207 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0046 秒)

101. laya.renders.VertexElementFormat_API3.0 [ 94%]

...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

102. 灯光-点光 [ 94%]

...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

103. 同一类型光源互斥的问题报告 [ 94%]

...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

104. laya.d3.math.Ray [ 94%]

...用于创建射线。 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

105. laya.d3.math.Ray [ 94%]

...用于创建射线。 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

106. new vector2报错 [ 94%]

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

107. laya.d3.graphics.VertexElementFormat_API3.0 [ 94%]

...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

108. 高级应用-闪光 [ 94%]

...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

109. 射线检测-选取物体 [ 94%]

...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

110. 3D变换 · LayaAir3.3 · 引擎文档 · LAYABOX [ 93%]

...距离。 * @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