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

大约有 2,264 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0114 秒)

661. [layaair 1.0] 如何支持Unity的含有第二套UV的shader [ 66%]

...————————— 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

662. Laya集成Matter.js库layaSprite水平翻转无法显示的bug [ 66%]

...           {                         // texture: 'common1/btn_new.png',                         xOffset: 127,                         yOffset: 46,                     }               ...

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

663. ShaderPass介绍(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 66%]

...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

664. laya.ui.Image_API3.0 [ 66%]

...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

665. laya.map.TileAniSprite_API3.0 [ 66%]

...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

666. laya.ui.FontClip_API3.0 [ 66%]

...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

667. 分享水波一个shader [ 66%]

...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

668. laya.ui.ColorPicker [ 66%]

...手动刷新。 注意: 1.Sprite tag : * 对象的标签。 Component texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer...

来源: laya_api 发布时间: 20170929

669. Laya3.0动画烘焙后的模型,手机上无法显示 [ 66%]

...微信 layabox小高 赞同来自: 原因是因为华为那边不支持OES_texture_float。 2023-06-19 0 3 分享 微博 QZONE 微信 151*****575 赞同来自: 你们可以试一下腾讯的云真机服务,这个问题在麒麟处理器上必现。然后三星处理器也有问题,但这个服...

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

670. this.bitmap.activeResource is not a function [ 66%]

...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