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

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

11. 缓动-时间线 [ 75%]

...d(this.target); this.target.loadImage("res/apes/monkey2.png"); this.target.pivot(55, 72); this.target.pos(100,100); } createTimerLine() { const TimeLine = Laya.TimeLine, Event = Laya.Event; this.timeLine = new TimeLine(); // addLabel(label:String, offset:Number) offset: 标签事件相对于上个...

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

12. 显示与切换图片(JavaScript-LayaAir基础篇(JS)-位图) [ 68%]

...ction onAssetsLoaded() { ape = new Sprite(); Laya.stage.addChild(ape); ape.pivot(55, 72); ape.pos(200, 200); // 显示默认纹理 switchTexture(); ape.on("click", this, switchTexture); } function switchTexture() { var textureUrl = (flag = !flag) ? texture1 : texture2; // 更换纹理 ape.graphics.c...

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

13. 显示与切换图片(TypeScript-LayaAir基础篇(TS)-位图) [ 66%]

...): void { this.ape = new Sprite(); Laya.stage.addChild(this.ape); this.ape.pivot(55, 72); this.ape.pos(100,50); // 显示默认纹理 this.switchTexture(); this.ape.on("click", this, this.switchTexture); } private switchTexture(): void { var textureUrl: string = (this.flag = !this.flag) ? this.textu...

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

14. 时间轴动画(JavaScript-LayaAir基础篇(JS)-动画基础) [ 40%]

...选中组件,修改属性面板的值:`x`值为235,`y`值为100,`pivotX`值为50,`pivotY`值为100,`rotation`值为270。点击播放即可。 **属性解释:** `x`与`y`是组件的位置坐标。 `pivotX`与`pivotY`是组件的轴心点坐标x与y。 `rotation`是组件的旋转角...

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

15. 时间轴动画(TypeScript-LayaAir基础篇(TS)-动画基础) [ 39%]

...选中组件,修改属性面板的值:`x`值为235,`y`值为100,`pivotX`值为50,`pivotY`值为100,`rotation`值为270。点击播放即可。 **属性解释:** `x`与`y`是组件的位置坐标。 `pivotX`与`pivotY`是组件的轴心点坐标x与y。 `rotation`是组件的旋转角...

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

16. 时间轴动画(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 39%]

...选中组件,修改属性面板的值:`x`值为235,`y`值为100,`pivotX`值为50,`pivotY`值为100,`rotation`值为270。点击播放即可。 **属性解释:** `x`与`y`是组件的位置坐标。 `pivotX`与`pivotY`是组件的轴心点坐标x与y。 `rotation`是组件的旋转角...

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

17. laya.ui.UIComponent_API3.0 [ 26%]

...Flags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChi...

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

18. laya.ui.ScaleBox_API3.0 [ 26%]

...Flags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChi...

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

19. laya.ui.Box_API3.0 [ 26%]

...Flags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChi...

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

20. laya.ui.OpenDataContextView_API3.0 [ 26%]

...Flags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _onActive _onInActive _processActive _set...

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