大约有 1,004 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0070 秒)
Laya_社区(712) Laya3.0_api(68) Laya2.0_api(59) laya_api(56) Laya2.0_文档(47) Laya_示例(27) Laya3.0_文档(25) Laya2.0_示例(10)
这方法加载不出来图片 Mac电脑 var t:Laya.Texture = Laya.loader.getRes("res/RunGameImg/floor.png"); var ape: Sprite = new Sprite(); ape.graphics.drawTexture(t, 0, 0); this.addChild(ape); ape.pos(20, 220); 2017-05-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20170517
...ponent text : Text[read-only] 按钮文本标签 Text 控件。 Button texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...
来源: laya_api 发布时间: 20170929
...llipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale strokeText transform translate Constructors constructor new Graphics(): Graphics Defined in laya/d...
来源: Laya3.0_api 发布时间: 20231115
...tation scaleX scaleY scene scrollRect skewX skewY source stage staticCache 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
...; import Stage = Laya.Stage; import ColorFilter = Laya.ColorFilter; import Texture = Laya.Texture; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Main { private ApePath: string = "../../res/apes/monkey2.png"; private apeTexture: Texture; constru...
来源: Laya2.0_文档 发布时间: 20210715
...自动更新缓存,只能通过调用reCache方法手动刷新。Sprite texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...
来源: Laya2.0_api 发布时间: 20190513
如何使用rendertexture获取相机渲染的动态图片? 具体的需求是camera获取到的rendertexture属性,然后想赋值给一个图片,可以动态的反应相机渲染到的图片的动态改变。最好能给出教程或者代码实现,因为Laya的资料实在是太少了... 20...
来源: Laya_社区 发布时间: 20180113
...X scaleY scene scrollRect selectedColor skewX skewY skin stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer close contains cu...
来源: Laya3.0_api 发布时间: 20231115
... = Laya.Stage; var Event = Laya.Event; var Rectangle = Laya.Rectangle; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var Handler = Laya.Handler function GolfMainUI() { GolfMainUI.super(this) var dragRegion; showDragRegion(); this.golf...
来源: Laya_社区 发布时间: 20180627
[LayaAirIDE3]drawToRenderTexture2D返回纹理对象被垂直翻转了 drawToRenderTexture2D的flipY参数注释描述可选。如果为 true,则垂直翻转纹理。默认为 false。 但实际需要参数传true被绘制的对象才不会翻转 另外绘制以后得纹理有像素丢失很模...
来源: Laya_社区 发布时间: 20250808