playground:vrcamera
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| playground:vrcamera [2017/05/24 01:14] – falsam | playground:vrcamera [2023/03/15 15:49] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 25: | Ligne 25: | ||
| | | ||
| ;This creates and positions a device orientation camera | ;This creates and positions a device orientation camera | ||
| - | Camera = CreateCamera(" | + | Camera = CreateCamera(" |
| | | ||
| ;This targets the camera to scene origin | ;This targets the camera to scene origin | ||
| Ligne 34: | Ligne 34: | ||
| | | ||
| ;Red Box | ;Red Box | ||
| - | RedMat = CreateMaterial(" | + | RedMat = CreateMaterial(" |
| - | SetMaterialColor(RedMat, | + | SetMaterialColor(RedMat, |
| | | ||
| - | RedBox = CreateBox(" | + | RedBox = CreateBox(" |
| - | | + | |
| | | ||
| MoveMesh(RedBox, | MoveMesh(RedBox, | ||
| | | ||
| ;Create Blue Box | ;Create Blue Box | ||
| - | BlueMat = CreateMaterial(" | + | BlueMat = CreateMaterial(" |
| - | SetMaterialColor(BlueMat, | + | SetMaterialColor(BlueMat, |
| | | ||
| - | BlueBox = CreateBox(" | + | BlueBox = CreateBox(" |
| - | | + | |
| | | ||
| MoveMesh(BlueBox, | MoveMesh(BlueBox, | ||
playground/vrcamera.1495581259.txt.gz · Dernière modification : 2023/03/15 15:51 (modification externe)
