大约有 2,264 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0118 秒)
Laya_社区(1811) Laya3.0_api(129) laya_api(84) Laya2.0_api(82) Laya2.0_文档(76) Laya_示例(36) Laya3.0_文档(31) Laya2.0_示例(15)
...omponent text : Text[read-only] 按钮文本标签 Text 控件。 Button texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...
来源: laya_api 发布时间: 20170929
...varying vec2 v_Texcoord0; varying vec3 v_Normal; uniform sampler2D u_AlbedoTexture; void main() { vec4 albedoTextureColor = vec4(1.0); albedoTextureColor = texture2D(u_AlbedoTexture, v_Texcoord0); gl_FragColor=albedoTextureColor; } ``` ##### 初始化自定义Shader > 导入着色器代码 ```javasc...
来源: Laya2.0_文档 发布时间: 20210715
... QZONE 微信 冯永刚 赞同来自: 我修改了下laya.webgl.js里面的Texture2D类的format,如果是在onLimixiu就把format===0的时候改成format=1,花屏问题就好了 2019-02-18 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发...
来源: Laya_社区 发布时间: 20190104
Sp.graphics.drawTexture()中的color参数使用的时候,会概率性导致整个场景中的节点颜色改变成我们使用过的颜色。 没有进行其他操作 Sp.graphics.drawTexture(_PreloadUrl._list.texture.brushworkCommon.texture, pointArr[index].x - this.DrawControl.radiu...
来源: Laya_社区 发布时间: 20201103
...er scrollRect shadowMapFrequency skewX skewY skyRenderer stage staticCache texture timer transform url viewport visible width x y zOrder _updateMark Methods _initialize _processActive _setCullCamera addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer co...
来源: Laya3.0_api 发布时间: 20231115
...览区看到的图片的显示亮度不一样呢? 一个 jpg 图片儿, texture type: Default, 勾选sRGB 为啥在 Premultiply Alpha 选和不选两种情况时,apply 后,预览区看到的图片的显示亮度不一样呢. 但是在场景区显示相同. 发现了,当我勾选了 sRGB...
来源: Laya_社区 发布时间: 20251015
...aleX scaleY scene scrollRect skewX skewY source stage staticCache template texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance advanceTime bubbleEvent callLater clearTimer contains customRe...
来源: Laya3.0_api 发布时间: 20231115
...leY scene scrollRect skewX skewY source stage staticCache stopEvent target 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
...votY rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addAniSprite addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearAll clearTimer contain...
来源: Laya3.0_api 发布时间: 20231115
...的需求,必须要把3D场景,通过摄像机的renderTarget转换为texture纹理。再把这个texture画到2D节点上。 使用示例为:https://layaair2.ldc2.layabox.com/demo2/?language=zh&category=3d&group=Advance&name=Scene2DPlayer3D 2022-12-03 0 1 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20221130