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

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

181. laya.display.FrameAnimation_API3.0 [ 68%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。 Returns number Inherited from Text.zOrder Defined in laya/display/Sprite.ts:1833 z排序,更改此值,则会按照值大小对同一容器所有对象重新排序。值越大,越靠上。默认...

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

182. laya.ui.Label [ 68%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties PropertyDefined By  measureHeight : Number[override] [read-only] 显示对象实际显示区域高度(以像素为单位)。 Label  measureWidth : Number[override] [re...

来源: laya_api 发布时间: 20170929

183. laya.physics.CircleCollider_API3.0 [ 68%]

... in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型脚本一次 fixture fixture: any Inherited from ColliderBase.fixture Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Inherited from ColliderBase.label Defined in laya/...

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

184. laya.ui.ProgressBar_API3.0 [ 68%]

...ar 实例,设置了它皮肤、位置、宽高、网格等信息,并添加舞台上。 package { import laya.ui.ProgressBar; import laya.utils.Handler; public class ProgressBar_Example { private var progressBar:ProgressBar; public function ProgressBar_Example() { Laya.init(640, 800);//设...

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

185. laya.display.Sprite [ 68%]

...旋转,缩放,位移等操作。Sprite同时也是容器类,可用来添加多个子节点。 注意: Sprite 默认没有宽高,可以通过getBounds函数获取;也可手动设置宽高;还可以设置autoSize=true,然再获取宽高。Sprite宽高一般用于进行碰撞检...

来源: laya_api 发布时间: 20170929

186. laya.physics.joint.WheelJoint_API3.0 [ 68%]

... in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型脚本一次 anchor anchor: any[] = [0, 0] Defined in laya/physics/joint/WheelJoint.ts:18 [首次设置有效]关节链接点,是相对于自身刚体左上角位置偏移 axis axis: any[] = [1, 0] D...

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

187. laya.display.FrameAnimation [ 68%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By _isReverse : Boolean = false是否是逆序播放AnimationPlayerBasePublic Methods Hid...

来源: laya_api 发布时间: 20170929

188. laya.physics.EdgeCollider_API3.0 [ 68%]

... in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型脚本一次 fixture fixture: any Inherited from ColliderBase.fixture Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Inherited from ColliderBase.label Defined in laya/...

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

189. 为什么会出现报错 ani not found:ufo1_down [ 68%]

...2); // 创建循环滚动悲剧 this.bg = new BackGround(); // 把背景添加舞台 Laya.stage.addChild(this.bg); // 加载图集资源 Laya.loader.load("res/atlas/war.json",Laya.Handler.create(this,onLoaded),null,Laya.Loader.ATLAS); })(); function onLoaded(){ // 创建一个主角 this.hero ...

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

190. laya.ui.DialogManager_API3.0 [ 68%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。 Returns number Inherited from Text.zOrder Defined in laya/display/Sprite.ts:1833 z排序,更改此值,则会按照值大小对同一容器所有对象重新排序。值越大,越靠上。默认...

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