-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: SphereをSceneObjectにリネーム * chore: サムネイル画像を追加 * feat: オブジェクトをグリッド形式で表示
- Loading branch information
Showing
23 changed files
with
214 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"info" : { | ||
"version" : 1, | ||
"author" : "xcode" | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
LaboVisionOS/Assets.xcassets/Thumbnail/Sphere/BlueSphere.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "SphereBlue.png", | ||
"idiom" : "universal", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"filename" : "[email protected]", | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"filename" : "[email protected]", | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
Binary file added
BIN
+4.86 KB
LaboVisionOS/Assets.xcassets/Thumbnail/Sphere/BlueSphere.imageset/SphereBlue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.8 KB
...VisionOS/Assets.xcassets/Thumbnail/Sphere/BlueSphere.imageset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+18.7 KB
...VisionOS/Assets.xcassets/Thumbnail/Sphere/BlueSphere.imageset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
LaboVisionOS/Assets.xcassets/Thumbnail/Sphere/RedSphere.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "SphereRed.png", | ||
"idiom" : "universal", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"filename" : "[email protected]", | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"filename" : "[email protected]", | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
Binary file added
BIN
+4.55 KB
LaboVisionOS/Assets.xcassets/Thumbnail/Sphere/RedSphere.imageset/SphereRed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.3 KB
LaboVisionOS/Assets.xcassets/Thumbnail/Sphere/RedSphere.imageset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+17.9 KB
LaboVisionOS/Assets.xcassets/Thumbnail/Sphere/RedSphere.imageset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions
23
LaboVisionOS/Assets.xcassets/Thumbnail/Sphere/YellowSphere.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "SphereYellow.png", | ||
"idiom" : "universal", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"filename" : "[email protected]", | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"filename" : "[email protected]", | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
Binary file added
BIN
+4.73 KB
...isionOS/Assets.xcassets/Thumbnail/Sphere/YellowSphere.imageset/SphereYellow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.5 KB
...onOS/Assets.xcassets/Thumbnail/Sphere/YellowSphere.imageset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+18.3 KB
...onOS/Assets.xcassets/Thumbnail/Sphere/YellowSphere.imageset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// | ||
// MenuItem.swift | ||
// LaboVisionOS | ||
// | ||
// Created by Ken Tsutsumi on 2023/07/28. | ||
// | ||
|
||
import Foundation | ||
|
||
enum MenuItem: Identifiable, CaseIterable { | ||
case local, online | ||
var id: Self { self } | ||
|
||
var title: String { | ||
switch self { | ||
case .local: | ||
return "Local" | ||
case .online: | ||
return "Online" | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
// | ||
// SceneObject.swift | ||
// LaboVisionOS | ||
// | ||
// Created by Ken Tsutsumi on 2023/07/18. | ||
// | ||
|
||
import Foundation | ||
import RealityKitContent | ||
|
||
enum SceneObject: String, Identifiable, CaseIterable { | ||
case redSphere, blueSphere, yellowSphere | ||
var id: Self { self } | ||
|
||
var title: String { | ||
switch self { | ||
case .redSphere: | ||
return "Red" | ||
case .blueSphere: | ||
return "Blue" | ||
case .yellowSphere: | ||
return "Yellow" | ||
} | ||
} | ||
|
||
var description: String { | ||
switch self { | ||
case .redSphere: | ||
return "This is red sphere" | ||
case .blueSphere: | ||
return "This is blue sphere" | ||
case .yellowSphere: | ||
return "This is yellow sphere" | ||
} | ||
} | ||
|
||
var modelName: String { | ||
switch self { | ||
case .redSphere: | ||
return "Sphere_Red" | ||
case .blueSphere: | ||
return "Sphere_Blue" | ||
case .yellowSphere: | ||
return "Sphere_Yellow" | ||
} | ||
} | ||
|
||
var thumbnailPath: String { | ||
switch self { | ||
case .redSphere: | ||
return "RedSphere" | ||
case .blueSphere: | ||
return "BlueSphere" | ||
case .yellowSphere: | ||
return "YellowSphere" | ||
} | ||
} | ||
|
||
var bundle: Bundle? { | ||
return realityKitContentBundle | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.