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

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

1041. 加载到舞台的3D模型不显示贴图 [ 41%]

...hader/files/PixelSimpleTextureSkinnedMesh.ps中void main方法中的gl_FragColor=texColor*v_Color改为gl_FragColor=texColor,即可忽略制作模型中设置的顶点色! 谢谢使用,如有问题,随时反馈!附最终效果图。   2016-10-21 3 1 分享 微博 QZONE 微信 cuixueying ...

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

1042. 官方文档里的位图字体的制作与使用JS 跑不通 以及 文档的几个问题 [ 41%]

...width = 250; //自动换行 txt.wordWrap = true; txt.align = "center"; txt.color = "ff00ff"; //使用我们注册的字体 txt.font = mFontName; txt.fontSize = 50; txt.leading = 5; Laya.stage.addChild(txt); } 2018-09-19 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问...

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

1043. 骨骼动画进阶(TypeScript-2D进阶篇(TS)-动画进阶) [ 41%]

...ton); this.text=new Laya.Text(); Laya.stage.addChild(this.text); this.text.color="#00ff00"; this.text.fontSize=30; Laya.stage.addChild(this.text); Laya.stage.on(Laya.Event.MOUSE_DOWN,this,this.changeAction); } tActionID:number=0; changeAction() { this.tActionID++; var aniCount:number; //获取动画...

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

1044. Resources already exist,is repeated loading 加载特效报重复加载 [ 41%]

...    this.scene.addChild(directionLight);         directionLight.color = new Laya.Vector3(1, 1, 1);         directionLight.transform.rotate(new Laya.Vector3( -3.14 / 3, 0, 0));                      //灯光开启阴影         directionLight.shadow = true;...

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

1045. laya.d3.graphics.Vertex.VertexShurikenParticleMesh [ 40%]

...lationWorldPostion : Vector3[read-only] VertexShurikenParticleMesh  startColor : Vector4[read-only] VertexShurikenParticleMesh  startLifeTime : Number[read-only] VertexShurikenParticleMesh  startRotation0 : Vector3[read-only] VertexShurikenParticleMesh  startRotation1 : Vector3[read-only] Ve...

来源: Laya2.0_api 发布时间: 20190513

1046. laya.display.Text_API3.0 [ 40%]

...a.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var text:Text = new Text();//创建一个 Text 类的实例对象 text 。 text.text = "这个是一个 Text 文本示例。"; te...

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

1047. laya.d3.graphics.Vertex.VertexShurikenParticleBillboard [ 40%]

...nWorldPostion : Vector3[read-only] VertexShurikenParticleBillboard  startColor : Vector4[read-only] VertexShurikenParticleBillboard  startLifeTime : Number[read-only] VertexShurikenParticleBillboard  startRotation0 : Vector3[read-only] VertexShurikenParticleBillboard  startRotation1 : Vector...

来源: Laya2.0_api 发布时间: 20190513

1048. 基于Cannon.js的物理系统(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 40%]

...; (selectSprite3D.meshRenderer.sharedMaterial as BlinnPhongMaterial).albedoColor = this.colorRed; if(this.oldSelectMesh) if(selectSprite3D!=this.oldSelectMesh) (this.oldSelectMesh.meshRenderer.sharedMaterial as BlinnPhongMaterial).albedoColor = this.colorWrite; this.oldSelectMesh = selectSprite3D; /...

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

1049. 位图字体的制作与使用(JavaScript-LayaAir基础篇(JS)-文本) [ 40%]

...width = 250; //自动换行 txt.wordWrap = true; txt.align = "center"; txt.color = "ff00ff"; //使用我们注册的字体 txt.font = mFontName; txt.fontSize = 50; txt.leading = 5; Laya.stage.addChild(txt); } ``` ### **Text 类中相关接口:** **registerBitmapFont () 方法** public static funct...

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

1050. laya.display.Input [ 40%]

...unds方法获取。设置为true,对性能有一定影响。 Sprite  bgColor : String[override] 文本背景颜色,以字符串表示。 Input blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 fa...

来源: Laya2.0_api 发布时间: 20190513