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

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

251. 插件开发说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 45%]

...器默认的文字颜色 */ textColor: gui.Color; createButton(autoSize?: boolean): gui.Button; createIconButton(flat?: boolean): gui.Button; createCheckbox(autoSize?: boolean): gui.Button; createIconCheckbox(flat?: boolean): gui.Button; createRadio(): gui.Button; createComboBox(): gui.ComboBox; cre...

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

252. 事件管理 · LayaAir3.3 · 引擎文档 · LAYABOX [ 44%]

... 对象。 */ off(type: string, caller: any, listener: Function, onceOnly: boolean = false) 用于从事件分发器对象中删除侦听器: onDestroy(): void { //删除ui按钮的侦听 this.uiBtn.off(Laya.Event.CLICK, this); } 当这个场景删除销毁时,最好删除按钮的事件侦听...

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

253. laya.d3.math.Quaternion [ 44%]

...[static] 计算两个四元数的点积 Quaternion  equals(b:Quaternion):BooleanQuaternion  getYawPitchRoll(out:Vector3):void 分解四元数到欧拉角(顺序为Yaw、Pitch、Roll),参考自http://xboxforums.create.msdn.com/forums/p/4574/23988.aspx#23988,问题绕X轴翻转超过±90度...

来源: laya_api 发布时间: 20170929

254. 1.0 骨骼drawcall优化猥琐方法 [ 43%]

...           _vs = _tempVS;             var insertNew:Boolean=false;             if (Render.isConchNode || Render.isConchApp)             {                 _vs.length = tempVLen;                 insertNew = true;      ...

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

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

...site:Site = new SiteEntity( 10, 10, -1, 400 );  public static _ani_cached:boolean = false;  // toset: /** 飞行物的中心点, 参照物为魔鬼, 用于确定瞄准点和整体的中心点 */ private _pivot_demon:Point = <Point>{ x: 50, y: 50 };     /** 特指血条+魔鬼的大小, 用...

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

256. socket大型项目回调 [ 22%]

...时间 2017/04/16 */ module PomeloLaya{ export class Pomelo{ static DEBUG:boolean = true; static EVENT_IO_ERROR:string = "io-error"; static EVENT_CLOSE:string = "close"; static EVENT_KICK:string = "onKick"; static EVENT_HEART_BEAT_TIMEOUT:string = 'heartbeat timeout'; private JS_WS_CLIENT_TYPE:strin...

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