大约有 256 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0038 秒)
...器默认的文字颜色 */ 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
... 对象。 */ off(type: string, caller: any, listener: Function, onceOnly: boolean = false) 用于从事件分发器对象中删除侦听器: onDestroy(): void { //删除ui按钮的侦听 this.uiBtn.off(Laya.Event.CLICK, this); } 当这个场景删除销毁时,最好删除按钮的事件侦听...
来源: Laya3.0_文档 发布时间: 20240910
...[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
... _vs = _tempVS; var insertNew:Boolean=false; if (Render.isConchNode || Render.isConchApp) { _vs.length = tempVLen; insertNew = true; ...
来源: Laya_社区 发布时间: 20190628
...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
...时间 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