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

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

281. 关于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

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

283. 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_示例 发布时间: 20251130

284. laya.display.AnimationBase [ 84%]

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

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

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

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

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

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

287. 绘制矩形与圆角矩形(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

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

289. laya.ui.Tree [ 83%]

...vents Packagelaya.uiClasspublic class TreeInheritanceTree Box UIComponent Sprite Node EventDispatcher ObjectImplements IRender Tree 控件使用户可以查看排列为可扩展树的层次结构数据。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyD...

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

290. 怎么绘制sprite的内容到texture上 [ 83%]

怎么绘制sprite的内容到texture上 2018-11-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 柒汐夜 赞同来自: new Laya.Texture(sprite.drawToCanvas(w,h,x,y)) 2018-11-28 0 0 分享 微博 QZONE 微信 ...

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