大约有 301 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0080 秒)
...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。 Returns number Inherited from Text.zOrder Defined in laya/display/Sprite.ts:1833 z排序,更改此值,则会按照值的大小对同一容器的所有对象重新排序。值越大,越靠上。默认...
来源: Laya3.0_api 发布时间: 20231115
...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties PropertyDefined By measureHeight : Number[override] [read-only] 显示对象的实际显示区域高度(以像素为单位)。 Label measureWidth : Number[override] [re...
来源: laya_api 发布时间: 20170929
... 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
...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
...旋转,缩放,位移等操作。Sprite同时也是容器类,可用来添加多个子节点。 注意: Sprite 默认没有宽高,可以通过getBounds函数获取;也可手动设置宽高;还可以设置autoSize=true,然后再获取宽高。Sprite的宽高一般用于进行碰撞检...
来源: laya_api 发布时间: 20170929
... 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
...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By _isReverse : Boolean = false是否是逆序播放AnimationPlayerBasePublic Methods Hid...
来源: laya_api 发布时间: 20170929
... 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
...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
...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。 Returns number Inherited from Text.zOrder Defined in laya/display/Sprite.ts:1833 z排序,更改此值,则会按照值的大小对同一容器的所有对象重新排序。值越大,越靠上。默认...
来源: Laya3.0_api 发布时间: 20231115