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

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

81. laya.resource.Texture_API3.0 [ 82%]

...rotected All Inherited Externals Only exported Menu Globals "laya/resource/Texture" Texture Class Texture Texture 是一个纹理处理类。 Hierarchy Resource Texture Index Constructors constructor Properties _id _sizeGrid _stateNum destroyedImmediately lock name offsetX offsetY sourceHeight sourc...

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

82. laya.net.LoaderManager_API3.0 [ 82%]

...ds cacheRes cancelLoadByUrl cancelLoadByUrls clearRes clearResByGroup clearTextureRes clearUnLoaded create decodeBitmaps event getRes hasListener load off offAll offAllCaller on once setGroup Constructors constructor new LoaderManager(): LoaderManager Defined in laya/net/LoaderManager.ts:72 创建...

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

83. Texture,和Texture2D如何互转? [ 82%]

Texture,和Texture2D如何互转? 我要设置模型的贴图,我通过Laya.Texture2D.load(path)读取到的是Texture,不能直接设置到Texture2D上去 2018-05-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个...

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

84. BlinnPhong材质详解(ActionScript-3D基础(AS3)-模型材质详解) [ 82%]

...tor4`漫反射颜色。 `albedoIntensity:Number` 漫反射强度。 `albedoTexture:BaseTexture` 漫反射贴图。 `enableLighting:Boolean` 是否启用光照。 `normalTexture:BaseTexture` 法线贴图。 `renderMode:int` [write-only] 设置渲染模式。 `shininess:Number` 高光强度,范围为0...

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

85. laya.d3.resource.DataTexture2D [ 81%]

...cumentationAll Packages | All Classes | Index | Frames No Frames DataTexture2DProperties | Methods Packagelaya.d3.resourceClasspublic class DataTexture2DInheritanceDataTexture2D BaseTexture laya.resource.ResourcePublic Properties Hide Inherited Public Properties Show Inherited Public Propert...

来源: laya_api 发布时间: 20170929

86. Sprite-显示图片 [ 81%]

...ya.stage.addChild(ape); ape.loadImage(monkey1Path); // 方法2:使用drawTexture Laya.loader.load(monkey2Path, Laya.Handler.create(this, function () { let monkey2 = Laya.loader.getRes(monkey2Path); let ape2 = new Laya.Sprite(); Laya.stage.addChild(ape2); ape2.graphics.drawTexture(monkey2, 100, 0);...

来源: Laya2.0_示例 发布时间: 20251130

87. 射线检测-点击行走 [ 81%]

... 6, 10, 10))); var planeMat = new Laya.StandardMaterial(); planeMat.diffuseTexture = Laya.Texture2D.load("../../res/threeDimen/texture/layabox.png"); planeMat.albedo = new Laya.Vector4(0.9, 0.9, 0.9, 1); plane.meshRender.material = planeMat; var meshCollider = plane.addComponent(Laya.MeshCollider); ...

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

88. 【简单跑酷--JS版】---Lv.2 类之间的引用以及背景滚动实现 [ 81%]

...的函数//从资源来表中获取加载好的background图片纹理 var texture = Laya.loader.getRes('res/background.png'); //创建一个bg显示对象 var bg = new laya.display.Sprite(); //将上面的texture纹理绘制到bg图像里面 bg.graphics.drawTexture(texture, 0, 0); //将bg添加到...

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

89. Laya截图3D场景相关模型,导致模型透视! [ 81%]

...anvas(Laya.RenderState.clientWidth,Laya.RenderState.clientHeight,0,0); var texture = new Laya.Texture(htmlCanvas); var sp = new Laya.Sprite().pos(100,100); sp.graphics.drawTexture(texture); Laya.stage.addChild(sp); }; }()); 2018-05-03 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

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

90. BlinnPhong材质详解(JavaScript-3D基础(JS)-模型材质详解) [ 81%]

...tor4`漫反射颜色。 `albedoIntensity:Number` 漫反射强度。 `albedoTexture:BaseTexture` 漫反射贴图。 `enableLighting:Boolean` 是否启用光照。 `normalTexture:BaseTexture` 法线贴图。 `renderMode:int` [write-only] 设置渲染模式。 `shininess:Number` 高光强度,范围为0...

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