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

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

151. laya.ui.Dialog [ 77%]

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

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

152. laya.ui.Slider [ 76%]

...eCache方法手动刷新。Sprite tag : * 对象的标签。 UIComponent texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...

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

153. laya.ui.UIComponent [ 76%]

...ache方法手动刷新。Sprite  tag : * 对象的标签。 UIComponent texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...

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

154. laya.display.Sprite_API3.0 [ 76%]

...votY rotation scaleX scaleY scene 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

155. 如何获取Sprite上用graphics.drawTexture绘制的texture[ 76%]

如何获取Sprite上用graphics.drawTexture绘制的texture? 如何获取Sprite上用graphics.drawTexture绘制的texture? 如定义faceImage的Sprite,我用faceImage.graphics.drawTexture绘制图片哦,也有正常显示了,但我通过faceImage.texture却是null。我需要拷贝该...

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

156. laya.spine.SpineSkeleton_API3.0 [ 76%]

...leY scene scrollRect skewX skewY skinName source stage staticCache templet texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addAnimation addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customR...

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

157. laya.display.EffectAnimation_API3.0 [ 76%]

...tation scaleX scaleY scene scrollRect skewX skewY stage staticCache target texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contains custo...

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

158. laya.device.media.Video_API3.0 [ 76%]

...leX scaleY scene scrollRect seekable seeking skewX skewY stage staticCache texture timer transform url videoHeight videoWidth viewport visible volume width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater canPlayT...

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

159. CommandBuffer使用文档(TypeScript-3D基础(TS)-LayaAir3D之高级应用) [ 76%]

...ipt var buf:CommandBuffer = new CommandBuffer(); buf.setRenderTarget(renderTexture); buf.drawRender(renders[i],materials[i],0); ``` #### 2、需要将CBuffer绑定到Camera的渲染事件中,目前laya支持的Camera事件如下: ```typescript BeforeForwardOpaque = 0,//在渲染非透明物体...

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

160. 资源加载(JavaScript-3D基础(JS)-LayaAir3D之资源加载) [ 76%]

...。 ![](img/2.png)(图2) #### 3. 纹理加载 ​ 加载单个纹理使用Texture2D.load方法。这里我们创建了一个正方体,并且将加载的纹理设置他的纹理。这个操作实际上和3D简单示例的操作是相同的。 ```typescript //加载纹理 Laya.Texture2D.load("res...

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