大约有 33 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0030 秒)
...缓动类的常用API介绍 #### 2.1 Tween缓动类的常用方法from()与to() 缓动类Tween提供了较多的方法,而我们常用的是两种,分别为`from()`与`to()`方法,这两个方法的参数设置完全一样,但效果有所不同,from是从缓动目标点向初始位置产...
来源: Laya2.0_文档 发布时间: 20210715
...缓动类的常用API介绍 #### 2.1 Tween缓动类的常用方法from()与to() 缓动类Tween提供了较多的方法,而我们常用的是两种,分别为`from()`与`to()`方法,这两个方法的参数设置完全一样,但效果有所不同,from是从缓动目标点向初始位置产...
来源: Laya2.0_文档 发布时间: 20210715
...缓动类的常用API介绍 #### 2.1 Tween缓动类的常用方法from()与to() 缓动类Tween提供了较多的方法,而我们常用的是两种,分别为`from()`与`to()`方法,这两个方法的参数设置完全一样,但效果有所不同,from是从缓动目标点向初始位置产...
来源: Laya2.0_文档 发布时间: 20210715
...入行 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
...入行 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
...入行 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
...名为“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
...``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
... this.scene.physicsSimulation.shapeCastAll(sphereCollider, this.from, this.to, this.hitResults); for (i = 0, n = this.hitResults.length; i 该示例中射线摆放的模型是使用代码创建的,只是为了方便观察和理解形状扫描检测。 > (图1)
来源: Laya2.0_文档 发布时间: 20210715
... this.scene.physicsSimulation.shapeCastAll(sphereCollider, this.from, this.to, this.hitResults); for (i = 0, n = this.hitResults.length; i 该示例中射线摆放的模型是使用代码创建的,只是为了方便观察和理解形状扫描检测。 > (图1)
来源: Laya2.0_文档 发布时间: 20210714