大约有 2,264 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0114 秒)
Laya_社区(1811) Laya3.0_api(129) laya_api(84) Laya2.0_api(82) Laya2.0_文档(76) Laya_示例(36) Laya3.0_文档(31) Laya2.0_示例(15)
...————————— Shader "Unlit/uv2" { Properties { _MainTex ("Texture", 2D) = "white" {} } SubShader { Tags { "RenderType"="Opaque" } LOD 100 Pass { CGPROGRAM #pragma vertex vert #pragma fragment frag // make fog work #pragma multi_compile_fog #include "UnityCG.cginc" struct appd...
来源: Laya_社区 发布时间: 20190422
... { // texture: 'common1/btn_new.png', xOffset: 127, yOffset: 46, } ...
来源: Laya_社区 发布时间: 20180621
...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
...scaleY scene scrollRect sizeGrid skewX skewY skin source stage staticCache texture timer toolTip top transform url useSourceSize viewport visible width x y zOrder Methods _initialize _processActive _setHeight _setSkin _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubble...
来源: 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 addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearAll clearTimer contains customRende...
来源: Laya3.0_api 发布时间: 20231115
...ct sheet sizeGrid skewX skewY skin sources spaceX spaceY stage staticCache texture timer toolTip top total transform url value viewport visible width x y zOrder Methods _initialize _processActive _setHeight _setSkin _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEv...
来源: Laya3.0_api 发布时间: 20231115
...rt Shader3D = Laya.Shader3D; import SubShader = Laya.SubShader; import BaseTexture = Laya.BaseTexture; export default class Test1Material extends BaseMaterial { public readonly MAIN_TEX:number = Shader3D.propertyNameToID("u_MainTex"); public readonly NOISE_TEX:number = Shader3D.propertyNameToID("u_N...
来源: Laya_社区 发布时间: 20190923
...手动刷新。 注意: 1.Sprite tag : * 对象的标签。 Component texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer...
来源: laya_api 发布时间: 20170929
...微信 layabox小高 赞同来自: 原因是因为华为那边不支持OES_texture_float。 2023-06-19 0 3 分享 微博 QZONE 微信 151*****575 赞同来自: 你们可以试一下腾讯的云真机服务,这个问题在麒麟处理器上必现。然后三星处理器也有问题,但这个服...
来源: Laya_社区 发布时间: 20230616
...te static _openZone:Laya.Sprite; //开放域纹理 private static _openZoneTexture:Laya.Texture; public static openZone(vx:number=0,vy:number=0,scaleX:number=1,scaleY:number=1) { if(!this._openZone) { //开放域 this._openZone = new Laya.Sprite(); } this._openZone.size(Laya.stage.width,Laya.stage.h...
来源: Laya_社区 发布时间: 20200618