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

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

141. 输入文本组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 38%]

...60); //大小 this.txtin.pivot(this.txtin.width/2, this.txtin.height/2); //轴心 this.txtin.font = "宋体"; //字体 this.txtin.fontSize = 50; //字体大小 this.txtin.color = "#ff0000"; //字体颜色 this.txtin.bold = true; //加粗 this.txtin.italic = true; //斜体 this.txtin.underline = t...

来源: Laya3.0_文档 发布时间: 20251010

142. LayaAirIDE的可视化2D物理编辑入门(TypeScript-IDE篇(TS)-使用2d物理系统) [ 37%]

...(img/23-1.png) (图23-1) ###### 锚 由于车轮是以自己的圆心为轴心进行旋转,一定要把轮子圆心作为车轮关节的控制锚`anchor`,如图23-1右侧的车轮关节`anchor`属性配置。 ###### 震动频率 震动频率其实就是弹簧的弹性系数,引擎中...

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

143. 十几秒以后动画渲染时间变长,帧率变慢,是怎么回事? [ 31%]

...dth / 2 + this._pivot_demon.x, y_sp + this._pivot_demon.y );  // 将容器轴心设置到准星位置 this.pivot( this._target_ani.x, this._target_ani.y ) ;  y_sp += this._demon_ani.height;       if( ! this._doll_img ) { this._doll_img = new Laya.Image( ); this.addChild( this._doll_img ); t...

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