大约有 581 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0066 秒)
Laya_社区(357) Laya2.0_文档(64) Laya3.0_api(54) Laya_示例(32) Laya2.0_api(22) laya_api(20) Laya3.0_文档(19) Laya2.0_示例(13)
...位置获取不正确 unity中的模型导出后在laya中显示不正常 Texture图片能否进行翻转? 开启CastShadow以后,模型会莫名其妙消失,物体渲染队列的_IndexInList会被破坏 一个3D正方体模型,想给它六个面贴不同的贴图,该如何处理? LayaAi...
来源: Laya_社区 发布时间: 20190111
...ation scaleX scaleY scene scene3D scrollRect skewX skewY stage staticCache texture timer top transform url viewport visible width x y zOrder manager root Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer close contai...
来源: Laya3.0_api 发布时间: 20231115
...RANSPARENT SHADERDEFINE_ADDTIVEFOG SHADERDEFINE_ALPHATEST SHADERDEFINE_MAINTEXTURE renderQuality Accessors MaterialDefine MaterialProperty _defineDatas albedoColor albedoTexture alphaTest alphaTestValue anisotropy anisotropyEnable anisotropyRotation anisotropyTexture blend blendDst blendDstAlpha ble...
来源: Laya3.0_api 发布时间: 20231115
...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
...new Laya.StandardMaterial(); //材质加载漫反射贴图 material.diffuseTexture = Laya.Texture2D.load("res/layabox.png"); //为模型赋材质(单个材质可赋给多个模型) sphere.meshRender.material = material; box.meshRender.material = material; //旋转方向与角度设置 var vect:L...
来源: Laya_社区 发布时间: 20180307
...oad("res/atlas/comp.atlas", Handler.create(this, function():void { var img:Texture = Laya.loader.getRes("comp/comp.png"); var sp:Sprite = new Sprite(); sp.graphics.drawTexture(img); Laya.stage.addChild(sp); })); Laya.loader.load("res/atlas/test.atlas", Handler.create(this, function():void { var img:...
来源: Laya2.0_文档 发布时间: 20210714
...ump float; #endif #include "Sprite2DFrag.glsl"; void main() { clip(); vec4 textureColor = texture2D(u_baseRender2DTexture, v_texcoord); // 计算渐变因子 float gradientFactor = dot(v_texcoord, normalize(u_gradientDirection)) * 0.5 + 0.5; // 混合渐变颜色 vec4 gradientColor = mix(u_gradientS...
来源: Laya3.0_文档 发布时间: 20251120
...RANSPARENT SHADERDEFINE_ADDTIVEFOG SHADERDEFINE_ALPHATEST SHADERDEFINE_MAINTEXTURE defaultMaterial renderQuality Accessors MaterialDefine MaterialProperty _defineDatas albedoColor albedoTexture alphaTest alphaTestValue anisotropy anisotropyEnable anisotropyRotation anisotropyTexture blend blendDst b...
来源: Laya3.0_api 发布时间: 20231115
...Normal": Laya.VertexMesh.MESH_NORMAL0, "a_Textcoord": Laya.VertexMesh.MESH_TEXTURECOORDINATE0, "a_Textcorrd1": Laya.VertexMesh.MESH_TEXTURECOORDINATE1, "a_Tangent": Laya.VertexMesh.MESH_TANGENT0, "a_Color": Laya.VertexMesh.MESH_COLOR0, } var uniformMap: object = { "u_MainTex": Laya.Shader3D.PERIOD_M...
来源: Laya_社区 发布时间: 20201009
... // 加载完成后绘制到building Sprite上 let texture = Laya.loader.getRes("res/building.png"); this.building.graphics.drawTexture(texture, 0, 0); }), null, Laya.Loader.IMAGE ); ...
来源: Laya_社区 发布时间: 20251125