logo
  • 教程列表
  • SO官方文檔
  • 相機
    • 預設相機
    • 更換有源相機
    • 將實體固定到相機
    • a-camera 原語
    • 手動定位相機
  1. StackOverflow 文件
  2. aframe 教程
  3. 相機
  4. 更換有源相機

更換有源相機

Created: November-22, 2018

當活動屬性被切換時,元件將通知攝像機系統更改渲染器使用的當前攝像機:

var secondCameraEl = document.querySelector('#second-camera');
secondCameraEl.setAttribute('camera', 'active', true);
  • 將實體固定到相機
  • 預設相機

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 關於本站
  • 免責聲明