大约有 3,124 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0072 秒)
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/trail/TrailFilter" TrailFilter Class TrailFilter TrailFilter 类用于创建拖尾过滤器。 Hierarchy TrailFilter Index Constructors constructor Properties _curtime _lastPosition _ownerR...
来源: Laya3.0_api 发布时间: 20231115
...2D精灵光的效果: const { regClass, property } = Laya; @regClass() export class SpriteLight extends Laya.Script { @property({type: Laya.Sprite}) private spriteLight: Laya.Sprite; @property({type: Laya.Sprite}) private directLight: Laya.Sprite; @property({type: Laya.Sprite}) private background:...
来源: Laya3.0_文档 发布时间: 20251010
... = Laya.Browser; import Handler = Laya.Handler; import Event = Laya.Event; export class InputDevice_Shake { private picW:number = 484; private picH:number = 484; private console:Text; private shakeCount:number = 0; constructor() { Laya.init(this.picW, Browser.height * this.picW / Browser.width); Lay...
来源: Laya2.0_示例 发布时间: 20260824
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 救命!canvas定位后 点击区域偏移,求大大们解答 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 问题状态 最新活动: 2017-08-30 18:14 浏览: 1049 关注: 2 人...
来源: Laya_社区 发布时间: 20170810
...ext = Laya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_Overflow { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(600, 300, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.S...
来源: Laya_示例 发布时间: 20260824
...aya.HttpRequest; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Network_POST { private hr: HttpRequest; private logger: Text; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN...
来源: Laya_示例 发布时间: 20260824
... = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Sprite_MagnifyingGlass { private maskSp:Sprite; private bg2:Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(1136, 640, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH...
来源: Laya2.0_示例 发布时间: 20260824
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/RenderObjs/NativeOBJ/NativeBounds" NativeBounds Class NativeBounds Hierarchy NativeBounds Implements IClone Index Constructors constructor Properties MemoryBlock_size Accessors max min Methods _...
来源: Laya3.0_api 发布时间: 20231115
...aya.HttpRequest; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Network_GET { private hr: HttpRequest; private logger: Text; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_...
来源: Laya_示例 发布时间: 20260824
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? iphoneX环境下新手引导的抠图透明区域为黑色,其它机型都是正常的。 通过laya嵌入iframe 后 原本laya禁止微信浏览器里面的上下滑动,又开始上下滑动了 问题状态 ...
来源: Laya_社区 发布时间: 20171021