大约有 567 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0062 秒)
Laya_社区(350) Laya2.0_文档(64) Laya3.0_api(54) Laya_示例(32) Laya2.0_api(22) laya_api(20) Laya2.0_示例(13) Laya3.0_文档(12)
...terial(); material.albedo = new Vector4(1.3, 1.3, 1.3, 1); material.diffuseTexture = Texture2D.load("res/bg.png"); plane.meshRender.material = material; //生成坐标中心,其实是球体 var sphere = scene.addChild(new MeshSprite3D(new SphereMesh(0.05,100,100))) as MeshSprite3D; var material = ...
来源: Laya_社区 发布时间: 20170314
...OT_DATA_PATHS: string = "res/swf/star.json"; private ROBOT_TEXTURE_PATH: string = "res/swf/star.png"; constructor() { // Laya.init(800, 600); // Laya.loader.load([{"url":"res/swf/star.swf","type":Laya.Loader.BUFFER}],Laya.Handler.create(this,th...
来源: Laya_社区 发布时间: 20180203
...位置获取不正确 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
...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