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

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

701. 分享水波一个shader [ 65%]

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

702. laya.ui.Clip_API3.0 [ 65%]

...caleY scene scrollRect sizeGrid skewX skewY skin sources stage staticCache texture timer toolTip top total transform url viewport visible width x y zOrder Methods _initialize _processActive _setHeight _setSkin _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent ca...

来源: Laya3.0_api 发布时间: 20231115

703. laya.ui.CheckBox [ 65%]

...omponent text : Text[read-only] 按钮文本标签 Text 控件。 Button texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...

来源: laya_api 发布时间: 20170929

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

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

705. laya.ui.Image_API3.0 [ 65%]

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

706. laya.map.TileAniSprite_API3.0 [ 65%]

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

707. Sp.graphics.drawTexture()中的color参数使用的时候,会概率性导致整个场景中的节点颜色改变成我们使用过的颜色。 [ 65%]

Sp.graphics.drawTexture()中的color参数使用的时候,会概率性导致整个场景中的节点颜色改变成我们使用过的颜色。 没有进行其他操作   Sp.graphics.drawTexture(_PreloadUrl._list.texture.brushworkCommon.texture, pointArr[index].x -  this.DrawControl.radiu...

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

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

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

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

709. laya.ui.FontClip_API3.0 [ 65%]

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

710. 场景环境反射(ActionScript-3D基础(AS3)-LayaAir3D之场景渲染配置) [ 65%]

...material = mat; //设置场景的反射贴图 scene.customReflection = mat.textureCube; //设置曝光强度 var exposureNumber:Number = 0; mat.exposure = 0.6 + 1; })); ..... //加载Mesh Mesh.load("res/threeDimen/staticModel/teapot/teapot-Teapot001.lm", Handler.create(null, function(mesh:Mesh):void...

来源: Laya2.0_文档 发布时间: 20210715