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

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

191. FontClip问题 [ 70%]

...,如果是制作竖型滚动,就设置sheet ="9 8 7 6 5 4 3 2 1 0",要不texture.sourceWidth就会出现只有几像素的大小。而图集也需要设置为竖型的图集。 现在问题来了。根据代码 for (var i=0,sz=this._valueArr.length;i < sz;i++){   var index=this._indexMap[this...

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

192. laya.display.Stage_API3.0 [ 70%]

...de scaleX scaleY scene screenMode scrollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy...

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

193. 3D材质编辑 · LayaAir3.4 · 引擎文档 · LAYABOX [ 70%]

...开关,开启后可以叠加mesh的顶点颜色内容。 (2) AlbedoTexture漫反射贴图 可以设置材质的漫反射贴图的内容,示例使用一个砖块的贴图,效果如动图2-1-1-2-1所示: 动图2-1-1-2-1 (3) AlbedoColor漫反射颜色 可以设置材质的整体漫反...

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

194. laya.resource.Texture_API3.0 [ 69%]

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

195. 自定义3D Shader · LayaAir3.4 · 引擎文档 · LAYABOX [ 69%]

...form变量。 3.1 Uniform常见变量类型 Uniform变量的常见类型:Texture2D,Color,Vector2,Vector3,Vector4,Bool,Float,Matrix4x4,TextureCube Texture2D用于2D纹理采样的图片类型,图片本地支持格式:JPG,PNG Color 颜色类型,为四个Float类型组成的...

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

196. laya.html.dom.HTMLIframeElement_API3.0 [ 68%]

...otation scaleX scaleY scene scrollRect skewX skewY stage staticCache style texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender destr...

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

197. laya.display.Animation [ 68%]

...但是可以通过调用 reCache 方法手动刷新。 注意: 1.Sprite texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...

来源: laya_api 发布时间: 20170929

198. laya.html.dom.HTMLDivElement_API3.0 [ 68%]

...otation scaleX scaleY scene scrollRect skewX skewY stage staticCache style texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender destr...

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

199. laya.display.Stage [ 68%]

...自动更新缓存,只能通过调用reCache方法手动刷新。Sprite texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋一个图片地址,...

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

200. WebGL模式下,PNG图片出现类似描边的效果 [ 67%]

...现错误: Error processing launch: Error Could not attach to main target Texture图片能否进行翻转? 有无类似flashfirebug、firebug的H5 canvas Inspector? 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 laya2的Scene默认是...

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