大约有 2,995 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0075 秒)
Laya_社区(1062) Laya3.0_api(668) Laya2.0_api(366) laya_api(298) Laya2.0_文档(230) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(107)
...rted Menu Globals "laya/d3/core/pixelLine/PixelLineFilter" PixelLineFilter Class PixelLineFilter PixelLineFilter 类用于线过滤器。 Hierarchy GeometryElement PixelLineFilter Index Constructors constructor Properties _geometryElementOBj Accessors bufferState destroyed drawType indexFormat insta...
来源: Laya3.0_api 发布时间: 20231115
...下面给出一个示例代码,实现脚本控制VideoNode: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.VideoNode }) public video: Laya.VideoNode; constructor() { super(); } // 组件被激活后执行,此时所有节点...
来源: Laya3.0_文档 发布时间: 20251010
API DocumentationAll Packages | All Classes | Index | Frames No Frames EmitterBaseProperties | Methods Packagelaya.particle.emitterClasspublic class EmitterBaseInheritanceEmitterBase Object EmitterBase 类是粒子发射器类 Public Properties PropertyDefined By emissionRate : Number ...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames ShakeProperties | Methods Packagelaya.deviceClasspublic class ShakeInheritanceShake EventDispatcher Object Shake只能在支持此操作的设备上有效。 Public Properties PropertyDefined By instance : Shake[stat...
来源: Laya2.0_api 发布时间: 20190513
... 分完之后代码上要写什么?我按模块 src/core 下 module core class datahelper{}然后 var co = new core.datahelper(); 认不到啊 fishkuro • 2017-03-25 11:26 怎么弄啊,我src/core 下 module core class datahelper{}然后 var co = new core.datahelper(); 认不到啊
来源: Laya_社区 发布时间: 20170324
...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Sprite_Pivot { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alig...
来源: Laya2.0_示例 发布时间: 20251219
...isplay.Sprite; import laya.events.Event; import laya.utils.Browser; public class LayaAirTest { public function LayaAirTest() { Laya.init(550,400); var sp:Sprite=new Sprite(); sp.graphics.drawRect(0,0,100,100,"#FFFF00"); Laya.stage.addChild(sp); sp.size(1000,100); sp.on(Event.CLICK,this,onClick); } p...
来源: Laya_社区 发布时间: 20161215
....display.Text; import laya.ui.Image; public class SmartScale_T { //全局文本信息 private var txt:Text; public function SmartScale_T() { ...
来源: Laya2.0_文档 发布时间: 20200307
...。let mFactory, mArmature, mStartX = 400, mStartY = 500, mCurrIndex = 0; class Skeleton_MultiTexture { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeigh...
来源: Laya2.0_示例 发布时间: 20251219
API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalColorSkinProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalColorSkinInheritanceVertexPositionNormalColorSkin ObjectImplements IVertex VertexPositionNormalColorSkin 类...
来源: laya_api 发布时间: 20170929