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

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

161. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 85%]

...整数的网格索引 */ private getGridIndex(x: number, z: number, out: Vector2) { var minX = this.terrainSprite.minX; var minZ = this.terrainSprite.minZ; var cellX = this.terrainSprite.width / this.aStarMap.width; var cellZ = this.terrainSprite.depth / this.aStarMap.height; var gridX = Math.floor(...

来源: Laya3.0_文档 发布时间: 20230303

162. laya.d3.physics.shape.CylinderColliderShape_API3.0 [ 85%]

...。 Parameters value: number Returns void localOffset get localOffset(): Vector3 set localOffset(value: Vector3): void Inherited from CompoundColliderShape.localOffset Defined in laya/d3/physics/shape/ColliderShape.ts:127 Shape的本地偏移。 Returns Vector3 Inherited from CompoundColliderShape.l...

来源: Laya3.0_api 发布时间: 20231115

163. laya.d3.physics.shape.CapsuleColliderShape_API3.0 [ 85%]

...。 Parameters value: number Returns void localOffset get localOffset(): Vector3 set localOffset(value: Vector3): void Inherited from CompoundColliderShape.localOffset Defined in laya/d3/physics/shape/ColliderShape.ts:127 Shape的本地偏移。 Returns Vector3 Inherited from CompoundColliderShape.l...

来源: Laya3.0_api 发布时间: 20231115

164. laya.d3.physics.shape.ConeColliderShape_API3.0 [ 85%]

...。 Parameters value: number Returns void localOffset get localOffset(): Vector3 set localOffset(value: Vector3): void Inherited from CompoundColliderShape.localOffset Defined in laya/d3/physics/shape/ColliderShape.ts:127 Shape的本地偏移。 Returns Vector3 Inherited from CompoundColliderShape.l...

来源: Laya3.0_api 发布时间: 20231115

165. laya.d3.physics.shape.BoxColliderShape_API3.0 [ 85%]

...ape.ts:18 形状方向_Z轴正向 Accessors localOffset get localOffset(): Vector3 set localOffset(value: Vector3): void Inherited from CompoundColliderShape.localOffset Defined in laya/d3/physics/shape/ColliderShape.ts:127 Shape的本地偏移。 Returns Vector3 Inherited from CompoundColliderShape...

来源: Laya3.0_api 发布时间: 20231115

166. laya.d3.core.light.SpotLight [ 84%]

...ean[read-only] 获取在场景中是否激活。 Sprite3D  attenuation : Vector3 获取聚光的衰减。 SpotLight color : Vector3 灯光颜色。 LightSprite componentsCount : int[read-only] 获得组件的数量。 Sprite3D destroyed : Boolean[只读]是否已经销毁。对象销毁后不...

来源: laya_api 发布时间: 20170929

167. 2.0版本可用的CameraMoveScript.ts [ 84%]

...ipt extends Laya.Script {      /** @private */     protected _tempVector3: Laya.Vector3 = new Laya.Vector3();     protected lastMouseX: number;     protected lastMouseY: number;     protected yawPitchRoll: Laya.Vector3 = new Laya.Vector3();     protected resultRotation: Laya...

来源: Laya_社区 发布时间: 20200707

168. laya.d3.core.particleShuriKen.module.GradientDataColor [ 84%]

...t):void 增加Alpha渐变。 GradientDataColor  addRGB(key:Number, value:Vector3):void 增加RGB渐变。 GradientDataColor  clone():* 克隆。 GradientDataColor  cloneTo(destObject:*):void 克隆。 GradientDataColorProperty DetailalphaGradientCountpropertyalphaGradientCount:int  [read-onl...

来源: laya_api 发布时间: 20170929

169. SkyProceduralMaterial材质详解(TypeScript-3D基础(TS)-天空材质详解) [ 84%]

...20。 `atmosphereThickness:Number` 大气厚度,范围是0到5。 `skyTint:Vector4 ` 天空颜色。 `groundTint:Vector4` 地面颜色。 `exposure:Number` 曝光强度,范围是0到8。 #### 创建和使用材质 下面的代码对官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?l...

来源: Laya2.0_文档 发布时间: 20210715

170. SkyProceduralMaterial材质详解(JavaScript-3D基础(JS)-天空材质详解) [ 84%]

...20。 `atmosphereThickness:Number` 大气厚度,范围是0到5。 `skyTint:Vector4 ` 天空颜色。 `groundTint:Vector4` 地面颜色。 `exposure:Number` 曝光强度,范围是0到8。 #### 创建和使用材质 下面的代码对官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?l...

来源: Laya2.0_文档 发布时间: 20210714