大约有 2,258 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0077 秒)
Laya_社区(1808) Laya3.0_api(129) laya_api(84) Laya2.0_api(82) Laya2.0_文档(76) Laya_示例(36) Laya3.0_文档(28) Laya2.0_示例(15)
...: (图1) ```typescript //在U方向上使用WARPMODE_CLAMP texture.wrapModeU = Laya.BaseTexture.WARPMODE_CLAMP; //在V方向使用WARPMODE_REPEAT texture.wrapModeV = Laya.BaseTexture.WARPMODE_REPEAT; ``` 设置后(图2): (图2)
来源: Laya2.0_文档 发布时间: 20210715
...: (图1) ```typescript //在U方向上使用WARPMODE_CLAMP texture.wrapModeU = Laya.BaseTexture.WARPMODE_CLAMP; //在V方向使用WARPMODE_REPEAT texture.wrapModeV = Laya.BaseTexture.WARPMODE_REPEAT; ``` 设置后(图2): (图2)
来源: Laya2.0_文档 发布时间: 20210714
...ghtmapDirection ApplyLightmapEvent Properties lightmapColor lightmapColor: Texture2D Defined in laya/d3/core/scene/Lightmap.ts:9 光照贴图颜色。 lightmapDirection lightmapDirection: Texture2D Defined in laya/d3/core/scene/Lightmap.ts:11 光照贴图方向。 Static ApplyLightmapEvent ApplyLigh...
来源: Laya3.0_api 发布时间: 20231115
...但是可以通过调用 reCache 方法手动刷新。 注意: 1.Sprite texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...
来源: laya_api 发布时间: 20170929
...源加载完成后,会自动缓存至资源库中。 Image source : Texture 对象的纹理资源。 Image stage : Stage[read-only] 对舞台 stage 的引用。Sprite staticCache : Boolean 是否静态缓存此对象的当前帧的最终属性。为 true 时,子对象变化时不会自动...
来源: laya_api 发布时间: 20170929
...答:beginBitmapFill方法已经没有了,可以使用sp.graphics.drawTexture实现类似功能 graphcis Lines 请参考:根据指定的路径数据绘制出图案以及展示Graphics提供的绘图API 第三个问题:关于创建 Graphics 类的 beginGradientFill() 和 lineGradientStyle...
来源: Laya_社区 发布时间: 20160627
... ConchGraphics.prototype.setSkinMesh = function (ib, vb, eleNum, iStart, texture, mat) { var img = texture.source; var _ = conch.bf; if (ib.conch_id === undefined || !ib._upload) { ib.conch_id = CanvasRenderingContext2D.ID++; ib.conchRef = new ArrayBufferRef(); ib.conchRef.id = ib.conch_id; _.needsz...
来源: Laya_社区 发布时间: 20190806
...terMaterial = glitter.glitterRender.sharedMaterial; glitterMaterial.diffuseTexture = Laya.Texture2D.load("../../res/threeDimen/layabox.png"); glitterMaterial.albedo = new Laya.Vector4(1.3, 1.3, 1.3, 1); glitterTemplet.lifeTime = 1.3; glitterTemplet.minSegmentDistance = 0.1; glitterTemplet.minInterpD...
来源: Laya_示例 发布时间: 20251209
...是可以通过调用 reCache 方法手动刷新。 注意: 1.Sprite texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer...
来源: laya_api 发布时间: 20170929
...法调用顺序错了 正确顺序: var img:Image = new Image(); var t:Texture = Laya.loader.getRes(_resUrl); img.graphics.save();//必须要调用 否则报错 img.graphics.clipRect(100,100,200,200); img.graphics.drawTexture(t); img.graphics.restore(); this.addChild(img); 2019-01-11 0 0 ...
来源: Laya_社区 发布时间: 20190111