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

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

1. 缓动动画(JavaScript-LayaAir基础篇(JS)-动画基础) [ 100%]

...缓动类的常用API介绍 #### 2.1 Tween缓动类的常用方法from()与to() 缓动类Tween提供了较多的方法,而我们常用的是两种,分别为`from()`与`to()`方法,这两个方法的参数设置完全一样,但效果有所不同,from是从缓动目标点向初始位置产...

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

2. 缓动动画(TypeScript-LayaAir基础篇(TS)-动画基础) [ 99%]

...缓动类的常用API介绍 #### 2.1 Tween缓动类的常用方法from()与to() 缓动类Tween提供了较多的方法,而我们常用的是两种,分别为`from()`与`to()`方法,这两个方法的参数设置完全一样,但效果有所不同,from是从缓动目标点向初始位置产...

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

3. 缓动动画(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 99%]

...缓动类的常用API介绍 #### 2.1 Tween缓动类的常用方法from()与to() 缓动类Tween提供了较多的方法,而我们常用的是两种,分别为`from()`与`to()`方法,这两个方法的参数设置完全一样,但效果有所不同,from是从缓动目标点向初始位置产...

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

4. 代码模式的快捷键设置(JavaScript-IDE篇(JS)-代码模式基础) [ 89%]

...入行 Insert line above | | `Ctrl+Shift+\` | 跳到匹配的括号 Jump to matching bracket | | `Ctrl+] / [` | 缩进/缩进行 Indent/outdent line | | Home | 转到行首 Go to beginning of line | | End | 转到行尾 Go to end of line | | `Ctrl+Home` | 转到文件开头 Go to beginning of file |...

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

5. 代码模式的快捷键设置(TypeScript-IDE篇(TS)-代码模式基础) [ 89%]

...入行 Insert line above | | `Ctrl+Shift+\` | 跳到匹配的括号 Jump to matching bracket | | `Ctrl+] / [` | 缩进/缩进行 Indent/outdent line | | Home | 转到行首 Go to beginning of line | | End | 转到行尾 Go to end of line | | `Ctrl+Home` | 转到文件开头 Go to beginning of file |...

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

6. 代码模式的快捷键设置(ActionScript-IDE篇(AS3)-代码模式基础) [ 89%]

...入行 Insert line above | | `Ctrl+Shift+\` | 跳到匹配的括号 Jump to matching bracket | | `Ctrl+] / [` | 缩进/缩进行 Indent/outdent line | | Home | 转到行首 Go to beginning of line | | End | 转到行尾 Go to end of line | | `Ctrl+Home` | 转到文件开头 Go to beginning of file |...

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

7. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 65%]

...名为“player”的标签; var video:Object =Browser.document.querySelector('#player'); if (Hls.isSupported()) { var hls:Object = new Hls(); hls.loadSource('http://content.jwplatform.com/manifests/vM7nH0Kl.m3u8');//加载m3u8源 hls.attachMedia(video); hls.on(Hls.Events.MANIFEST_PARSED,function():...

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

8. runTime使用(JavaScript-IDE篇(JS)-组件化开发相关) [ 62%]

...``typescript export default class ImageRunTime extends Laya.Image{ constructor(){ super(); this.scaleTime = 100; //设置组件的中心点 this.anchorX = this.anchorY = 0.5; //添加鼠标按下事件侦听。按时时缩小按钮。 this.on(Laya.Event.MOUSE_DOWN,this,this.scaleSmall); //添加鼠...

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

9. 物理形状扫描检测(JavaScript-3D基础(JS)-LayaAir3D之物理系统) [ 61%]

... this.scene.physicsSimulation.shapeCastAll(sphereCollider, this.from, this.to, this.hitResults); for (i = 0, n = this.hitResults.length; i 该示例中射线摆放的模型是使用代码创建的,只是为了方便观察和理解形状扫描检测。 > ![](img/1.png)(图1)

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

10. 物理形状扫描检测(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 60%]

... this.scene.physicsSimulation.shapeCastAll(sphereCollider, this.from, this.to, this.hitResults); for (i = 0, n = this.hitResults.length; i 该示例中射线摆放的模型是使用代码创建的,只是为了方便观察和理解形状扫描检测。 > ![](img/1.png)(图1)

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