大约有 726 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0076 秒)
Laya_社区(514) Laya3.0_api(63) Laya2.0_api(59) laya_api(55) Laya2.0_文档(16) Laya3.0_文档(15) Laya2.0_示例(2) Laya_示例(2)
...,在GameControl onEnable中执行如下代码:private _sp = new Laya.Sprite(); private _testMask() { this._sp.graphics.clear(); this._sp.graphics.drawCircle(100, 100, 50, '#ffffff'); Laya.timer.once(3000, this, () => { this.img.mask = this._sp; }) }之后编译项目 2. 使用iphone手机的s...
来源: Laya_社区 发布时间: 20191216
...lip MovieClip 用于播放经过工具处理后的 swf 动画。 Hierarchy Sprite MovieClip Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize basePath hitTestPrior interval loop mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet activ...
来源: Laya3.0_api 发布时间: 20231115
...答(最新版本:1.7.16) TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 微信小游戏:HTMLDivElement的使用 微信小游戏如何使用ttf字体? 使用3D时候,Property 'getCompo...
来源: Laya_社区 发布时间: 20170416
... Air.__super.call(this); this.init(); } Laya.class(Air,"Air", laya.display.Sprite); var _proto = Air.prototype; _proto.init = function() { if(this.body == null) { this.body = new laya.display.Animation(); this.addChild(this.body) this.body.loadAnimation("GameRole.ani") } } _proto.playAction = functi...
来源: Laya_社区 发布时间: 20180911
...kagelaya.uiClasspublic class TextInputInheritanceTextInput Label Component Sprite Node EventDispatcher ObjectSubclasses TextArea TextInput 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By a...
来源: laya_api 发布时间: 20170929
...接实例化此类,因为有些方法需要由子类实现。 Hierarchy Sprite AnimationBase FrameAnimation Animation Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior loop mouseThrough name tag wrapMode WRAP_PINGPONG WRAP_POSITIVE WRAP_RE...
来源: Laya3.0_api 发布时间: 20231115
...(例如:地表层,植被层,建筑层) 每层又以分块(GridSprite)来处理显示对象,只显示在视口区域的区 每块又包括N*N个格子(tile) 格子类型又分为动画格子跟图片格子两种 author ... Hierarchy TiledMap Index Constructors constructor Properties a...
来源: Laya3.0_api 发布时间: 20231115
...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...
来源: Laya3.0_api 发布时间: 20231115
...eTemplet,SpineSkeletonRender,SpineSkeleton三部分组成。 Hierarchy Sprite SpineSkeleton Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag PAUSED PLAYING STOPPED drawtocanvCtx Accessors _isHeightSet _isWidthSet a...
来源: Laya3.0_api 发布时间: 20231115
... https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video Hierarchy Sprite Video Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name videoElement CAMERA MP4 OGG SUPPORT_MAYBY SUPPORT_NO SUPPORT_PROBABLY WEBM drawtocanv...
来源: Laya3.0_api 发布时间: 20231102