大约有 595 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0055 秒)
Laya_社区(200) Laya2.0_示例(114) Laya3.0_文档(99) Laya2.0_api(91) laya_api(48) Laya_示例(24) Laya2.0_文档(16) Laya3.0_api(3)
...时间东八区,故服务器时间要加多八小时 public static const TIME_ZONE:Number = 8*60*60*1000; /** * 一天 */ public static const ONE_DAY2:Number = 24 * 60 * 60 * 1000; // ONE_DAY 可能系统重名 在运行时发现 var millSec:Number = (ServiceTimeMagr.i...
来源: Laya_社区 发布时间: 20170828
...不要用,把SubMeshDyamicBatch的下面常量设置为0 public static const maxAllowVertexCount:int = 10; /** @private */ public static const maxAllowAttribueCount:int = 900;//TODO: /** @private */ public static const maxIndicesCount...
来源: Laya_社区 发布时间: 20190925
...t = 5, vx = 0, vy = 0, targetPosition; class InputDevice_GluttonousSnake { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Event = Laya.Event, Accelerator = Laya.Accelerator; // 不支持WebGL时自动切换至Canvas Lay...
来源: Laya2.0_示例 发布时间: 20260303
...PACING = 150, X_OFFSET = 200, Y_OFFSET = 200, skins; class UI_RadioGroup { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.A...
来源: Laya2.0_示例 发布时间: 20260303
... Classes | Index | Frames No Frames HTMLCanvasProperties | Methods | Constants Packagelaya.resourceClasspublic class HTMLCanvasInheritanceHTMLCanvas laya.resource.Bitmap HTMLCanvas 是 Html Canvas 的代理类,封装了 Canvas 的属性和方法。。请不要直接使用 new HTMLCanvas! ...
来源: laya_api 发布时间: 20170929
...!比如使用这个模式 /**寻址模式_不循环。*/ public static const FILTERMODE_TRILINEAR:int = 2; 或者对anisoLevel大小进行设置 filterMode 进行修改 具体效果需要你自己调试 2018-10-26 0 2 分享 微博 QZONE 微信 淡蓝 赞同来自: 感觉不像是贴图问题。...
来源: Laya_社区 发布时间: 20181026
...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。const Browser = Laya.Browser; let starCount = 2500, sx = 1.0 + (Math.random() / 20), sy = 1.0 + (Math.random() / 20), stars = [], w = Browser.width, h = Browser.height, slideX = w / 2, slideY = h / 2, speedInfo; class PIXI_Ex...
来源: Laya2.0_示例 发布时间: 20260303
...。let character, duration = 2000, tween; class Tween_EaseFunctionsDemo { constructor() { const WebGL = Laya.WebGL, Stage = Laya.Stage, Browser = Laya.Browser, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.AL...
来源: Laya2.0_示例 发布时间: 20260303
...number = 43; private CLOSE_BTN_PADDING: number = 5; private assets: Array; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgCo...
来源: Laya_示例 发布时间: 20260303
...帮助。 实现功能 1 增加loop类型: loop , pingpongpublic static const LoopType_None:String = "none"; public static const LoopType_Pingpong:String = "pingpong"; public static const LoopType_Loop:String = "loop"; 2 增加简单3d缓动: Position,Scale,Rotation,Color demo如下: 具...
来源: Laya_社区 发布时间: 20180905