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

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

401. laya.d3.resource.MulSampleRenderTexture_API3.0 [ 20%]

...e.gammaCorrection Defined in laya/resource/BaseTexture.ts:110 如果是1.0 texture2D直接采样就是linear Returns number gammaSpace get gammaSpace(): boolean Inherited from BaseTexture.gammaSpace Defined in laya/resource/BaseTexture.ts:133 Returns boolean generateDepthTexture get generateDepthTex...

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

402. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 18%]

...以初始化A*的地图数据 //读取地形图 this.aStarMap = Loader.getTexture2D("res/threeDimen/scene/TerrainScene/Assets/AStarMap.png"); //获得地图数据 var aStarArr = this.createGridFromAStarMap(this.aStarMap); //使用astar初始化地图数据 this.graph = new (window as any).Graph(aSta...

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

403. laya.html.dom.HTMLIframeElement_API3.0 [ 16%]

...number, canvasHeight: number, offsetX: number, offsetY: number, rt?: RenderTexture2D | null, invertY?: boolean): Texture | RenderTexture2D Inherited from AnimationBase.drawToTexture Defined in laya/display/Sprite.ts:1200 绘制到一个Texture对象 Parameters canvasWidth: number canvasHeight: numbe...

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

404. Unity插件使用说明(TypeScript-3D基础(TS)-LayaAir3D之3D场景可视化编辑) [ 16%]

...aterial = mat; })); ``` ##### 纹理Texture加载 单个纹理加载使用`Texture2D.load()`方法,示例代码如下: ```typescript //加载纹理,省略若干代码,仅为加载示例 Laya.Texture2D.load("xx/xx.png", Laya.Handler.create(null, function(Texture) { //使用纹理 var earth1 = sce...

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

405. laya.html.dom.HTMLDivElement_API3.0 [ 16%]

...number, canvasHeight: number, offsetX: number, offsetY: number, rt?: RenderTexture2D | null, invertY?: boolean): Texture | RenderTexture2D Inherited from AnimationBase.drawToTexture Defined in laya/display/Sprite.ts:1200 绘制到一个Texture对象 Parameters canvasWidth: number canvasHeight: numbe...

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

406. laya.physics.PhysicsDebugDraw_API3.0 [ 16%]

...number, canvasHeight: number, offsetX: number, offsetY: number, rt?: RenderTexture2D | null): Texture | RenderTexture2D Inherited from Text.drawToTexture Defined in laya/display/Sprite.ts:1259 绘制到一个Texture对象 Parameters canvasWidth: number canvasHeight: number offsetX: number offsetY: n...

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

407. laya.map.TileAniSprite_API3.0 [ 16%]

...number, canvasHeight: number, offsetX: number, offsetY: number, rt?: RenderTexture2D | null): Texture | RenderTexture2D Inherited from Text.drawToTexture Defined in laya/display/Sprite.ts:1259 绘制到一个Texture对象 Parameters canvasWidth: number canvasHeight: number offsetX: number offsetY: n...

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

408. laya.particle.Particle2D_API3.0 [ 15%]

...number, canvasHeight: number, offsetX: number, offsetY: number, rt?: RenderTexture2D | null): Texture | RenderTexture2D Inherited from Text.drawToTexture Defined in laya/display/Sprite.ts:1259 绘制到一个Texture对象 Parameters canvasWidth: number canvasHeight: number offsetX: number offsetY: n...

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

409. laya.media.SoundNode_API3.0 [ 15%]

...number, canvasHeight: number, offsetX: number, offsetY: number, rt?: RenderTexture2D | null): Texture | RenderTexture2D Inherited from Text.drawToTexture Defined in laya/display/Sprite.ts:1259 绘制到一个Texture对象 Parameters canvasWidth: number canvasHeight: number offsetX: number offsetY: n...

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

410. laya.map.GridSprite_API3.0 [ 15%]

...number, canvasHeight: number, offsetX: number, offsetY: number, rt?: RenderTexture2D | null): Texture | RenderTexture2D Inherited from Text.drawToTexture Defined in laya/display/Sprite.ts:1259 绘制到一个Texture对象 Parameters canvasWidth: number canvasHeight: number offsetX: number offsetY: n...

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