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

大约有 1,101 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0073 秒)

301. 帮忙看看Texture类getPixels内存泄漏的问题。 [ 84%]

...泄漏。 用的引擎版本是1.7.16beta。package { import laya.display.Sprite; import laya.events.Event; import laya.maths.Point; import laya.resource.HTMLCanvas; import laya.resource.Texture; import laya.utils.Handler; import laya.utils.Stat; import laya.webgl.WebGL; public class Main { private ...

来源: Laya_社区 发布时间: 20180302

302. laya.ui.TextArea [ 84%]

...iClasspublic class TextAreaInheritanceTextArea TextInput Label UIComponent Sprite Node EventDispatcher Object TextArea 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获...

来源: Laya2.0_api 发布时间: 20190513

303. laya.ui.ComboBox [ 84%]

...nts Packagelaya.uiClasspublic class ComboBoxInheritanceComboBox Component Sprite Node EventDispatcher Object ComboBox 组件包含一个下拉列表,用户可以从该列表中选择单个值。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined B...

来源: laya_api 发布时间: 20170929

304. 关于intersects碰撞的疑问 [ 84%]

...考下面代码示例,如果还有不明白的我们再沟通!var sp1:Sprite=new Sprite(); sp1.graphics.drawRect(0,0,200,400,"#FF0000"); Laya.stage.addChild(sp1); var sp2:Sprite=new Sprite(); sp2.graphics.drawRect(0,0,300,400,"#0000FF"); sp2.pos(100,100); if(sp1.getBounds().intersects(sp2.getBou...

来源: Laya_社区 发布时间: 20161202

305. laya.display.AnimationBase [ 84%]

...Packagelaya.displayClasspublic class AnimationBaseInheritanceAnimationBase Sprite Node EventDispatcher ObjectSubclasses Animation, FrameAnimation 动画基类,提供了基础的动画播放控制方法和帧标签事件相关功能。 可以继承此类,但不要直接实例化此类,因为有...

来源: Laya2.0_api 发布时间: 20190513

306. DOM元素-表单输入 [ 84%]

...e = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#fff"; this.form = new Laya.Sprite(); this.form.size(250,120); this.form.pos((Laya.stage.width - this.form.width) / 2, (Laya.stage.height - this.form.height) / 2); Laya.stage.addChild(this.form); this.rowHeight = 30; this.rowSpacing = 10; let rowHeightD...

来源: Laya2.0_示例 发布时间: 20251209

307. laya.ani.bone.Skeleton [ 84%]

... Events Packagelaya.ani.boneClasspublic class SkeletonInheritanceSkeleton Sprite Node EventDispatcher Object 骨骼动画由Templet,AnimationPlayer,Skeleton三部分组成。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number...

来源: laya_api 发布时间: 20170929

308. [LayaAir3]3.x中编辑器里spine层级错乱 [ 84%]

...果如下: 要不您发下您的demo。而且我觉Box(6)和Box(7)换成sprite更好些,在sprite上添加spine组件。 2024-07-23 0 2 分享 微博 QZONE 微信 fftidus 赞同来自: demo我一开始就传了但你说你打开没问题,我也不知道为什么了,你可以试试在box内...

来源: Laya_社区 发布时间: 20240722

309. 绘制矩形与圆角矩形(ActionScript-LayaAir基础篇(AS3)-矢量图) [ 84%]

...形,示例代码如下: ```java package {     import laya.display.Sprite;     import laya.display.Stage;            public class Sprite_DrawShapes     {         private var sp:Sprite;                    public function Sprite_DrawShapes() ...

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

310. laya.ui.TextInput_API3.0 [ 84%]

...fined in laya/display/Node.ts:56 _graphics _graphics: AutoBitmap Overrides Sprite._graphics Defined in laya/ui/TextInput.ts:118 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in ...

来源: Laya3.0_api 发布时间: 20231115