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

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

521. 在模型有刚体的情况下,怎么才能让模型只围绕一个轴进行旋转 [ 45%]

...位置获取不正确 unity中的模型导出后在laya中显示不正常 Texture图片能否进行翻转? 开启CastShadow以后,模型会莫名其妙消失,物体渲染队列的_IndexInList会被破坏 一个3D正方体模型,想给它六个面贴不同的贴图,该如何处理? LayaAi...

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

522. laya.ui.Dialog_API3.0 [ 45%]

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

523. laya.d3.core.material.PBRMaterial_API3.0 [ 45%]

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

524. laya.d3.core.scene.Scene3D_API3.0 [ 45%]

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

525. 官方LayaAir之灯光一节示例背景在微信里表现不一致 [ 45%]

...new Laya.StandardMaterial(); //材质加载漫反射贴图 material.diffuseTexture = Laya.Texture2D.load("res/layabox.png"); //为模型赋材质(单个材质可赋给多个模型) sphere.meshRender.material = material; box.meshRender.material = material; //旋转方向与角度设置 var vect:L...

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

526. LayaAir引擎工具会员专属功能介绍(TypeScript-简介篇(TS)-LayaAir引擎简介) [ 44%]

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

527. 2D网格渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 44%]

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

528. laya.d3.core.material.PBRStandardMaterial_API3.0 [ 43%]

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

529. 一个简单的跑酷曲面shader分享 [ 43%]

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

530. [LayaAirIDE3]2d相机打包后问题 [ 43%]

... // 加载完成后绘制到building Sprite上                 let texture = Laya.loader.getRes("res/building.png");                 this.building.graphics.drawTexture(texture, 0, 0);             }),             null,             Laya.Loader.IMAGE         );   ...

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