与早期版本(0.5.0)相比,最新的A-Frame稳定版本(0.9.0)无法对多维数据集进行动画处理

时间:2019-03-10 14:13:08

标签: animation build aframe

当我将src =“ https://aframe.io/releases/0.5.0/aframe.min.js”更新到最新版本0.9.0(src =“ https://aframe.io/releases /{0.9.0/aframe.min.js按照https://github.com/aframevr/aframe#builds),所有动画均无法正常工作。有人知道为什么吗?

import { Component } from '@angular/core';
import { of } from 'rxjs';
import { map } from 'rxjs/operators';

@Component({
  selector: 'app-root',
  template: '<p *ngFor="let test of map | async">Hier kommt: {{test}}</p>',
  styleUrls: ['./app.component.css']
})

export class AppComponent {
  public sourceOne = of([4, 5, 6]);
  public map = this.sourceOne.pipe(map(res => res.map(num => num * 10)));
}

1 个答案:

答案 0 :(得分:0)