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

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

331. laya.d3.core.scene.Scene3D_API3.0 [ 34%]

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

332. laya.media.VideoTexture_API3.0 [ 33%]

...Parameters value: number Returns void defaultTexture get defaultTexture(): Texture2D Overrides BaseTexture.defaultTexture Defined in laya/media/VideoTexture.ts:221 Returns Texture2D destroyed get destroyed(): boolean Inherited from Resource.destroyed Defined in laya/resource/Resource.ts:138 是否...

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

333. laya.d3.core.material.PBRMaterial_API3.0 [ 33%]

...ters value: number Returns void anisotropyTexture get anisotropyTexture(): Texture2D set anisotropyTexture(value: Texture2D): void Defined in laya/d3/core/material/PBRMaterial.ts:532 anisotropy 强度贴图 Returns Texture2D Defined in laya/d3/core/material/PBRMaterial.ts:536 anisotropy 强度贴图...

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

334. laya.d3.core.material.PBRStandardMaterial_API3.0 [ 32%]

...ters value: number Returns void anisotropyTexture get anisotropyTexture(): Texture2D set anisotropyTexture(value: Texture2D): void Inherited from PBRMaterial.anisotropyTexture Defined in laya/d3/core/material/PBRMaterial.ts:532 anisotropy 强度贴图 Returns Texture2D Inherited from PBRMaterial.ani...

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

335. 高级应用-渲染纹理 [ 30%]

...th.Vector4; import laya.d3.resource.RenderTexture; import laya.d3.resource.Texture2D; import laya.d3.resource.TextureCube; import laya.d3.resource.models.BaseMesh; import laya.d3.resource.models.Mesh; import laya.display.Stage; import laya.events.Event; import laya.resource.Texture; import laya.ui.B...

来源: Laya_示例 发布时间: 20241118

336. 分享一个Shader版的CoolDown实现 [ 30%]

...      fa = clamp(fa, 0.0, 1.0);\                 vec4 t_color = texture2D(texture, v_texcoord); \                 gl_FragColor = t_color.rgba * v_color.rgba * vec4(1,1,1,fa); \             }\             ";             /*             var ps: string = " \  ...

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

337. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 28%]

...createFromMeshAndHeightMap createFromMeshAndHeightMap(mesh: Mesh, texture: Texture2D, minHeight: number, maxHeight: number, name?: string): MeshTerrainSprite3D Defined in laya/d3/core/MeshTerrainSprite3D.ts:39 从网格创建一个TerrainMeshSprite3D实例、图片读取高度图属性。 Parameters...

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

338. 射线检测-碰撞器混合 [ 28%]

...laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya.d3.resource.Texture2D; import laya.d3.resource.models.BoxMesh; import laya.d3.resource.models.CapsuleMesh; import laya.d3.resource.models.CylinderMesh; import laya.d3.resource.models.Mesh; import laya.d3.resource.models.PlaneMesh; import...

来源: Laya_示例 发布时间: 20241118

339. LayaAir3D 坐标系统与矩阵变换 [ 27%]

...material.albedo = new Vector4(1.3, 1.3, 1.3, 1); material.diffuseTexture = Texture2D.load("res/threeDimen/layabox.png"); plane.meshRender.material = material; //生成坐标中心,其实是球体 var sphere:MeshSprite3D = scene.addChild(new MeshSprite3D(new SphereMesh(0.05,100,100))) as MeshSprite...

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

340. laya.resource.VideoTexture_API3.0 [ 26%]

...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 gpuMemory get gpuMemory(): number Inherit...

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