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

大约有 1,216 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0054 秒)

311. laya.d3.core.HeightMap [ 82%]

...FromImage(texture:Texture2D, minHeight:Number, maxHeight:Number):HeightMap[static] 从图片生成高度图。 HeightMap  creatFromMesh(mesh:Mesh, width:int, height:int, outCellSize:Vector2):HeightMap[static] 从网格精灵生成高度图。 HeightMap  getHeight(row:int, col:int):Number 获取...

来源: Laya2.0_api 发布时间: 20190513

312. ios14系统下 图片异常 [ 82%]

...自: LayaAir 2.x修改方法:  如果是源码版是BlendMode.ts 找到 static BlendAdd(gl: WebGLRenderingContext): void { WebGLContext.setBlendFunc(gl, gl.ONE, gl.DST_ALPHA,true); } 替换为: static BlendAdd(gl: WebGLRenderingContext): void { WebGLContext.setBlendFunc(gl, gl.ONE, gl.ONE,true)...

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

313. laya.d3.shader.SubShader_API3.0 [ 82%]

...lue: {} = null [name: string]: ShaderDataItem Returns SubShader Properties Static IncludeUniformMap IncludeUniformMap: any Defined in laya/d3/shader/SubShader.ts:20 Methods _addShaderPass _addShaderPass(compiledObj: IShaderCompiledObj, pipelineMode?: string): ShaderPass Defined in laya/d3/shader/Sub...

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

314. laya.d3.math.OrientedBoundBox [ 82%]

...entedBoundBox  createByBoundBox(box:BoundBox, out:OrientedBoundBox):void[static] 根据AABB包围盒创建一个 OrientedBoundBox 实例。 OrientedBoundBox  createByMinAndMaxVertex(min:Vector3, max:Vector3):OrientedBoundBox[static] 根据包围盒的最大最小两顶点创建一个 OrientedBou...

来源: Laya2.0_api 发布时间: 20190513

315. laya.renders.RenderInfo_API3.0 [ 82%]

...r laya Hierarchy RenderInfo Index Properties loopCount loopStTm Properties Static loopCount loopCount: number = 0 Defined in laya/renders/RenderInfo.ts:9 主舞台 Stage 渲染次数计数。 Static loopStTm loopStTm: number = 0 Defined in laya/renders/RenderInfo.ts:7 当前帧的开始时间 Global...

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

316. laya.d3.core.TextureMode_API3.0 [ 82%]

...TextureMode Hierarchy TextureMode Index Properties Stretch Tile Properties Static Stretch Stretch: number = 0 Defined in laya/d3/core/TextureMode.ts:6 拉伸模式。 Static Tile Tile: number = 1 Defined in laya/d3/core/TextureMode.ts:11 平铺模式。 Globals "laya/d3/core/TextureMode" TextureMode...

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

317. laya.d3.core.TrailTextureMode_API3.0 [ 82%]

...reMode Hierarchy TrailTextureMode Index Properties Stretch Tile Properties Static Stretch Stretch: number = 0 Defined in laya/d3/core/TrailTextureMode.ts:6 拉伸模式。 Static Tile Tile: number = 1 Defined in laya/d3/core/TrailTextureMode.ts:11 平铺模式。 Globals "laya/d3/core/TrailTextureMo...

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

318. laya.d3.core.particleshuriken.module.FrameOverTime_API3.0 [ 82%]

...Time.ts:133 克隆。 Parameters destObject: any 克隆源。 Returns void Static createByConstant createByConstant(constant?: number): FrameOverTime Defined in laya/d3/core/particleShuriKen/module/FrameOverTime.ts:14 通过固定帧创建一个 FrameOverTime 实例。 Parameters Default value const...

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

319. laya.ui.UIEvent_API3.0 [ 81%]

...类型。 Hierarchy UIEvent Index Properties HIDE_TIP SHOW_TIP Properties Static HIDE_TIP HIDE_TIP: string = "hidetip" Defined in laya/ui/UIEvent.ts:12 隐藏提示信息。 Static SHOW_TIP SHOW_TIP: string = "showtip" Defined in laya/ui/UIEvent.ts:8 显示提示信息。 Globals "laya/ui/UIEvent" U...

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

320. laya.physics.Physics [ 81%]

...力方向向上,可以直接设置gravity.y=-1; Physics  I : Physics[static] [read-only] 全局物理单例Physics  PIXEL_RATIO : int = 50[static] 2D游戏默认单位为像素,物理默认单位为米,此值设置了像素和米的转换比率,默认50像素=1米Physics  positionItera...

来源: Laya2.0_api 发布时间: 20190513