• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,995 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0075 秒)

801. laya.d3.core.pixelline.PixelLineFilter_API3.0 [ 73%]

...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

802. 视频节点 · LayaAir3.3 · 引擎文档 · LAYABOX [ 73%]

...下面给出一个示例代码,实现脚本控制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

803. laya.particle.emitter.EmitterBase [ 72%]

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

804. laya.device.Shake [ 72%]

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

805. typescript类文件只能放同一目录下吗? [ 72%]

... 分完之后代码上要写什么?我按模块 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

806. Sprite-轴心点 [ 72%]

...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

807. 用JS原生态window.location.href跳转 [ 72%]

...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

808. 屏幕适配的缩放模式详解(ActionScript-2D基础篇(AS3)-屏幕适配) [ 72%]

....display.Text;     import laya.ui.Image;            public class SmartScale_T {                    //全局文本信息         private var txt:Text;                    public function SmartScale_T()          {        ...

来源: Laya2.0_文档 发布时间: 20200307

809. 骨骼动画-多纹理 [ 72%]

...。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

810. laya.d3.graphics.VertexPositionNormalColorSkin [ 72%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalColorSkinProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalColorSkinInheritanceVertexPositionNormalColorSkin ObjectImplements IVertex VertexPositionNormalColorSkin 类...

来源: laya_api 发布时间: 20170929