A câmara fixa: fica numa posição a olhar para um alvo sem controlos de navegação próprios, para vistas que um script coloca por si.
Cria uma câmara em position a olhar para target sem controlos de navegação próprios, e adiciona-a à cena sem a ativar.
position
target
A posição e o alvo
A câmara de alvo
const camera = bitbybit.babylon.camera.target.create({ position: [20, 20, 20], target: [0, 0, 0] });bitbybit.babylon.scene.activateCamera({ camera }); Copy
const camera = bitbybit.babylon.camera.target.create({ position: [20, 20, 20], target: [0, 0, 0] });bitbybit.babylon.scene.activateCamera({ camera });
Namespace: Bit
Other top-level symbols:
API reference home · Full symbol index · Tutorials and guides · Platform
A câmara fixa: fica numa posição a olhar para um alvo sem controlos de navegação próprios, para vistas que um script coloca por si.