大约有 213 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0078 秒)
...心,旋转中心。Sprite player : AnimationPlayer[read-only] 得到播放器的引用 Skeleton rotation : Number旋转角度,默认值为0。以角度为单位。Sprite scaleX : NumberX轴缩放值,默认值为1。设置为负数,可以实现水平反转效果,比如scaleX=-1。Sprit...
来源: Laya2.0_api 发布时间: 20190513
...个玩家类 有什么要做的 1、跑 2、跳(二连跳) 3、飞 4、播放动作 嗯 暂时好像就这几个功能 先这么做着 因为本次是教程 所以 不要求很严谨的去思考一个类的作用和开放接口 其实每次做的时候 我们都要想想这个模块有什么...
来源: Laya_社区 发布时间: 20160801
...ya/effect/EffectBase.ts:17 缓动类型,如果为空,则默认为匀速播放 eventName eventName: string Defined in laya/effect/EffectBase.ts:19 触发事件,如果为空,则创建时触发 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所...
来源: Laya3.0_api 发布时间: 20231115
... Animation 是Graphics动画类。实现了基于Graphics的动画创建、播放、控制接口。 本类使用了动画模版缓存池,它以一定的内存开销来节省CPU开销,当相同的动画模版被多次使用时,相比于每次都创建新的动画模版,使用动画模版缓...
来源: Laya3.0_api 发布时间: 20231115
...ya/effect/EffectBase.ts:17 缓动类型,如果为空,则默认为匀速播放 eventName eventName: string Inherited from EffectBase.eventName Defined in laya/effect/EffectBase.ts:19 触发事件,如果为空,则创建时触发 owner owner: Node Inherited from Component.owner Defined in laya/...
来源: Laya3.0_api 发布时间: 20231115
...ya/effect/EffectBase.ts:17 缓动类型,如果为空,则默认为匀速播放 eventName eventName: string Inherited from EffectBase.eventName Defined in laya/effect/EffectBase.ts:19 触发事件,如果为空,则创建时触发 owner owner: Node Inherited from Component.owner Defined in laya/...
来源: Laya3.0_api 发布时间: 20231115
...alue: number): void Defined in laya/spine/SpineSkeleton.ts:164 设置当前播放位置 Parameters value: number 当前时间 Returns void customRenderEnable set customRenderEnable(b: boolean): void Inherited from Text.customRenderEnable Defined in laya/display/Sprite.ts:327 设置是否开启自定...
来源: Laya3.0_api 发布时间: 20231115
...变节点轴心点。UIComponent autoPlay : Boolean 表示是否自动播放动画,若自动播放值为true,否则值为false; 可控制切片动画的播放、停止。 Clip autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并...
来源: Laya2.0_api 发布时间: 20190513
...tion AnimationPlayerBase Sprite Node EventDispatcher Object 关键帧动画播放类 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Spri...
来源: laya_api 发布时间: 20170422
...prite Node EventDispatcher ObjectSubclasses EffectAnimation 关键帧动画播放类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。S...
来源: laya_api 发布时间: 20170929