大约有 75 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0053 秒)
...geRunTime" /* * 游戏初始化配置; */ export default class GameConfig{ static width:number=640; static height:number=1136; static scaleMode:string="fixedwidth"; static screenMode:string="none"; static alignV:string="top"; static alignH:string="left"; static startScene:any="mainscene.scene"; stat...
来源: Laya_社区 发布时间: 20181014
...持与摄相机相同。 **/ export default class ExtCullingMask { public static enableLightCullingMask(scene: Laya.Scene3D) { //var proto = Laya.Scene3D.prototype as any; (scene as any).lightCullingMask = function (scene, camera) { //灯光处理开始 麒麟子添加 var allLights = []; allLights ...
来源: Laya_社区 发布时间: 20200110
this.bitmap.activeResource is not a function //开放域层级 private static _openZone:Laya.Sprite; //开放域纹理 private static _openZoneTexture:Laya.Texture; public static openZone(vx:number=0,vy:number=0,scaleX:number=1,scaleY:number=1) { if(!this._openZone) { //开放域 this._openZone = n...
来源: Laya_社区 发布时间: 20200618
...空的 Event 对象。用于事件派发中转使用。*/ static EMPTY: Event; /** 定义 mousedown 事件对象的 type 属性值。*/ static MOUSE_DOWN: string; /** 定义 mouseup 事件对象的 type 属性值。*/ static ...
来源: Laya_社区 发布时间: 20170601
... private mConnected: boolean; /** 开启*/ public static OPEN: string = "open"; /** 关闭*/ public static CLOSE: string = "close"; /** io错误*/ public static IO_ERROR: string = "io-error"; /** 数据*/ ...
来源: Laya_社区 发布时间: 20161109
...ya.Sprite; // 位置类型 private _posType: string; // 左 右 中 public static LEFT: string = "left"; public static RIGHT: string = "right"; public static CENTER: string = "center"; constructor(jsonData: any,textureData: Laya.Texture,width: number,posType:string = "left"){ super(); this.width = w...
来源: Laya_社区 发布时间: 20161014
...e startGen(): void { // todo } } class SplitAtlasSetting { @IEditor.onLoad static start() { Editor.typeRegistry.addTypes([ { name: "SplitAtlasSetting", catalogBarStyle: "hidden", properties: [ { name: "help", caption: "提示", inspector: "Info", type: "string", default: "输入文件夹必须是图...
来源: Laya_社区 发布时间: 20250731
...tURL方法中使用customFormat传入参数有问题, 多了个base public static function formatURL(url:String, base:String = null):String { if (!url) return "null path"; //如果是全路径,直接返回,提高性能 if (url.indexOf(":") > 0) return url; //自定义路径格式化 if (custo...
来源: Laya_社区 发布时间: 20180820
微信小游戏,子域问题。 __static(MiniFileMgr, ['fs',function(){return this.fs=wx.getFileSystemManager();},'wxdown',function(){return this.wxdown=wx.downloadFile;} ]); 报错说没有这个方法:wx.getFileSystemManager() 附件 : --> 2018-07-25 1 条评论 免费帖 --> 分享 微博...
来源: Laya_社区 发布时间: 20180725
...国 已经确定了是引擎bug 只要修改下就好希望官方处理下 static _convertToLayaVec3(bVector, out, inverseX) { var bullet = Physics3D._bullet; out.x = inverseX ? -bullet.btVector3_x(bVector) : bullet.btVector3_x(bVector); out.y = bullet.btVector3_y(bVector); out.z = bullet.btVector3_...
来源: Laya_社区 发布时间: 20200330