diff --git a/realityKit/realityKit.xcodeproj/project.pbxproj b/realityKit/realityKit.xcodeproj/project.pbxproj new file mode 100644 index 0000000..c0a2f47 --- /dev/null +++ b/realityKit/realityKit.xcodeproj/project.pbxproj @@ -0,0 +1,365 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 55; + objects = { + +/* Begin PBXBuildFile section */ + 77DF6C76286791E300F69949 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 77DF6C75286791E300F69949 /* AppDelegate.swift */; }; + 77DF6C78286791E300F69949 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 77DF6C77286791E300F69949 /* ViewController.swift */; }; + 77DF6C7A286791E300F69949 /* Experience.rcproject in Sources */ = {isa = PBXBuildFile; fileRef = 77DF6C79286791E300F69949 /* Experience.rcproject */; }; + 77DF6C7D286791E300F69949 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 77DF6C7B286791E300F69949 /* Main.storyboard */; }; + 77DF6C7F286791E400F69949 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 77DF6C7E286791E400F69949 /* Assets.xcassets */; }; + 77DF6C82286791E400F69949 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 77DF6C80286791E400F69949 /* LaunchScreen.storyboard */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 77DF6C72286791E300F69949 /* realityKit.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = realityKit.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 77DF6C75286791E300F69949 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 77DF6C77286791E300F69949 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + 77DF6C79286791E300F69949 /* Experience.rcproject */ = {isa = PBXFileReference; lastKnownFileType = file.rcproject; path = Experience.rcproject; sourceTree = ""; }; + 77DF6C7C286791E300F69949 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 77DF6C7E286791E400F69949 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 77DF6C81286791E400F69949 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 77DF6C6F286791E300F69949 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 77DF6C69286791E300F69949 = { + isa = PBXGroup; + children = ( + 77DF6C74286791E300F69949 /* realityKit */, + 77DF6C73286791E300F69949 /* Products */, + ); + sourceTree = ""; + }; + 77DF6C73286791E300F69949 /* Products */ = { + isa = PBXGroup; + children = ( + 77DF6C72286791E300F69949 /* realityKit.app */, + ); + name = Products; + sourceTree = ""; + }; + 77DF6C74286791E300F69949 /* realityKit */ = { + isa = PBXGroup; + children = ( + 77DF6C75286791E300F69949 /* AppDelegate.swift */, + 77DF6C77286791E300F69949 /* ViewController.swift */, + 77DF6C79286791E300F69949 /* Experience.rcproject */, + 77DF6C7B286791E300F69949 /* Main.storyboard */, + 77DF6C7E286791E400F69949 /* Assets.xcassets */, + 77DF6C80286791E400F69949 /* LaunchScreen.storyboard */, + ); + path = realityKit; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 77DF6C71286791E300F69949 /* realityKit */ = { + isa = PBXNativeTarget; + buildConfigurationList = 77DF6C85286791E400F69949 /* Build configuration list for PBXNativeTarget "realityKit" */; + buildPhases = ( + 77DF6C6E286791E300F69949 /* Sources */, + 77DF6C6F286791E300F69949 /* Frameworks */, + 77DF6C70286791E300F69949 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = realityKit; + productName = realityKit; + productReference = 77DF6C72286791E300F69949 /* realityKit.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 77DF6C6A286791E300F69949 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1340; + LastUpgradeCheck = 1340; + TargetAttributes = { + 77DF6C71286791E300F69949 = { + CreatedOnToolsVersion = 13.4.1; + }; + }; + }; + buildConfigurationList = 77DF6C6D286791E300F69949 /* Build configuration list for PBXProject "realityKit" */; + compatibilityVersion = "Xcode 13.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 77DF6C69286791E300F69949; + productRefGroup = 77DF6C73286791E300F69949 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 77DF6C71286791E300F69949 /* realityKit */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 77DF6C70286791E300F69949 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 77DF6C82286791E400F69949 /* LaunchScreen.storyboard in Resources */, + 77DF6C7F286791E400F69949 /* Assets.xcassets in Resources */, + 77DF6C7D286791E300F69949 /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 77DF6C6E286791E300F69949 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 77DF6C78286791E300F69949 /* ViewController.swift in Sources */, + 77DF6C76286791E300F69949 /* AppDelegate.swift in Sources */, + 77DF6C7A286791E300F69949 /* Experience.rcproject in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 77DF6C7B286791E300F69949 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 77DF6C7C286791E300F69949 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + 77DF6C80286791E400F69949 /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 77DF6C81286791E400F69949 /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 77DF6C83286791E400F69949 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++17"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 15.5; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 77DF6C84286791E400F69949 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++17"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 15.5; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 77DF6C86286791E400F69949 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 3X7LEN654Y; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_NSCameraUsageDescription = ""; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; + INFOPLIST_KEY_UIMainStoryboardFile = Main; + INFOPLIST_KEY_UIRequiredDeviceCapabilities = arkit; + INFOPLIST_KEY_UIStatusBarHidden = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.kyoya.realityKit; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 77DF6C87286791E400F69949 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 3X7LEN654Y; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_NSCameraUsageDescription = ""; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; + INFOPLIST_KEY_UIMainStoryboardFile = Main; + INFOPLIST_KEY_UIRequiredDeviceCapabilities = arkit; + INFOPLIST_KEY_UIStatusBarHidden = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.kyoya.realityKit; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 77DF6C6D286791E300F69949 /* Build configuration list for PBXProject "realityKit" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 77DF6C83286791E400F69949 /* Debug */, + 77DF6C84286791E400F69949 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 77DF6C85286791E400F69949 /* Build configuration list for PBXNativeTarget "realityKit" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 77DF6C86286791E400F69949 /* Debug */, + 77DF6C87286791E400F69949 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 77DF6C6A286791E300F69949 /* Project object */; +} diff --git a/realityKit/realityKit.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/realityKit/realityKit.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/realityKit/realityKit.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/realityKit/realityKit.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/realityKit/realityKit.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/realityKit/realityKit.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/realityKit/realityKit.xcodeproj/project.xcworkspace/xcuserdata/yamaguchikyoya.xcuserdatad/UserInterfaceState.xcuserstate b/realityKit/realityKit.xcodeproj/project.xcworkspace/xcuserdata/yamaguchikyoya.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..c336889 Binary files /dev/null and b/realityKit/realityKit.xcodeproj/project.xcworkspace/xcuserdata/yamaguchikyoya.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/realityKit/realityKit.xcodeproj/xcuserdata/yamaguchikyoya.xcuserdatad/xcschemes/xcschememanagement.plist b/realityKit/realityKit.xcodeproj/xcuserdata/yamaguchikyoya.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..f63a69d --- /dev/null +++ b/realityKit/realityKit.xcodeproj/xcuserdata/yamaguchikyoya.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + realityKit.xcscheme_^#shared#^_ + + orderHint + 0 + + + + diff --git a/realityKit/realityKit/AppDelegate.swift b/realityKit/realityKit/AppDelegate.swift new file mode 100644 index 0000000..fcd4e68 --- /dev/null +++ b/realityKit/realityKit/AppDelegate.swift @@ -0,0 +1,40 @@ +// +// AppDelegate.swift +// realityKit +// +// Created by Yamaguchi Kyoya on 2022/06/26. +// + +import UIKit + +@main +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { + // Override point for customization after application launch. + return true + } + + func applicationWillResignActive(_ application: UIApplication) { + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game. + } + + func applicationDidEnterBackground(_ application: UIApplication) { + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + } + + func applicationWillEnterForeground(_ application: UIApplication) { + // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. + } + + func applicationDidBecomeActive(_ application: UIApplication) { + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. + } + + +} + diff --git a/realityKit/realityKit/Assets.xcassets/AccentColor.colorset/Contents.json b/realityKit/realityKit/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/realityKit/realityKit/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/realityKit/realityKit/Assets.xcassets/AppIcon.appiconset/Contents.json b/realityKit/realityKit/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..5a3257a --- /dev/null +++ b/realityKit/realityKit/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,93 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "20x20" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "20x20" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "29x29" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "29x29" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "40x40" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "40x40" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "60x60" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "60x60" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "20x20" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "20x20" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "29x29" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "29x29" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "40x40" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "40x40" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "76x76" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "83.5x83.5" + }, + { + "idiom" : "ios-marketing", + "scale" : "1x", + "size" : "1024x1024" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/realityKit/realityKit/Assets.xcassets/Contents.json b/realityKit/realityKit/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/realityKit/realityKit/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/realityKit/realityKit/Base.lproj/LaunchScreen.storyboard b/realityKit/realityKit/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..865e932 --- /dev/null +++ b/realityKit/realityKit/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/realityKit/realityKit/Base.lproj/Main.storyboard b/realityKit/realityKit/Base.lproj/Main.storyboard new file mode 100644 index 0000000..757167d --- /dev/null +++ b/realityKit/realityKit/Base.lproj/Main.storyboard @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/realityKit/realityKit/Experience.rcproject/Library/ProjectLibrary/Contents.json b/realityKit/realityKit/Experience.rcproject/Library/ProjectLibrary/Contents.json new file mode 100644 index 0000000..c44dc44 --- /dev/null +++ b/realityKit/realityKit/Experience.rcproject/Library/ProjectLibrary/Contents.json @@ -0,0 +1,3 @@ +[ + +] \ No newline at end of file diff --git a/realityKit/realityKit/Experience.rcproject/Library/ProjectLibrary/Version.json b/realityKit/realityKit/Experience.rcproject/Library/ProjectLibrary/Version.json new file mode 100644 index 0000000..ea86f98 --- /dev/null +++ b/realityKit/realityKit/Experience.rcproject/Library/ProjectLibrary/Version.json @@ -0,0 +1,4 @@ +{ + "LibraryID" : "BBB5EDD2-CBE1-49E5-931D-2C81F724D19D", + "Version" : "1.0" +} \ No newline at end of file diff --git a/realityKit/realityKit/Experience.rcproject/SceneThumbnails/F9610871-0955-494F-A5C3-51D1A281BAB3 b/realityKit/realityKit/Experience.rcproject/SceneThumbnails/F9610871-0955-494F-A5C3-51D1A281BAB3 new file mode 100644 index 0000000..69378c2 Binary files /dev/null and b/realityKit/realityKit/Experience.rcproject/SceneThumbnails/F9610871-0955-494F-A5C3-51D1A281BAB3 differ diff --git a/realityKit/realityKit/Experience.rcproject/SceneThumbnails/F9610871-0955-494F-A5C3-51D1A281BAB3.thumbnails/square b/realityKit/realityKit/Experience.rcproject/SceneThumbnails/F9610871-0955-494F-A5C3-51D1A281BAB3.thumbnails/square new file mode 100644 index 0000000..a69f880 Binary files /dev/null and b/realityKit/realityKit/Experience.rcproject/SceneThumbnails/F9610871-0955-494F-A5C3-51D1A281BAB3.thumbnails/square differ diff --git a/realityKit/realityKit/Experience.rcproject/SceneThumbnails/F9610871-0955-494F-A5C3-51D1A281BAB3.thumbnails/wide b/realityKit/realityKit/Experience.rcproject/SceneThumbnails/F9610871-0955-494F-A5C3-51D1A281BAB3.thumbnails/wide new file mode 100644 index 0000000..51516d2 Binary files /dev/null and b/realityKit/realityKit/Experience.rcproject/SceneThumbnails/F9610871-0955-494F-A5C3-51D1A281BAB3.thumbnails/wide differ diff --git a/realityKit/realityKit/Experience.rcproject/com.apple.RCFoundation.Project b/realityKit/realityKit/Experience.rcproject/com.apple.RCFoundation.Project new file mode 100644 index 0000000..b47d290 --- /dev/null +++ b/realityKit/realityKit/Experience.rcproject/com.apple.RCFoundation.Project @@ -0,0 +1,155 @@ +{ + "__version" : 1, + "__content" : [ + { + "tags" : { + "__version" : 1, + "__content" : [ + { + "tagsStore" : { + + } + } + ] + }, + "scenes" : [ + { + "__version" : 2, + "__content" : [ + { + "hasGroundPlane" : true, + "gravity" : [ + 0, + -9.8000001907348633, + 0 + ], + "arAnchorSpecification" : { + "name" : "surface", + "classification" : 0, + "alignment" : 1 + }, + "title" : "Box", + "material" : "concrete", + "layoutData" : { + "version" : 1, + "constraints" : [ + + ] + }, + "identifier" : "F9610871-0955-494F-A5C3-51D1A281BAB3", + "behaviors" : [ + + ], + "overrides" : { + "factory" : null, + "children" : { + "4A213441-135C-450E-8EF8-1A4EAB267C1D" : { + "overrides" : { + "factory" : { + "version" : "1.0", + "identifier" : "com.apple.rc.af.CoreAssetFactories.PrimitiveShapeAssetFactory" + }, + "arguments" : [ + [ + "material", + { + "value" : "steel", + "typeName" : "String" + } + ], + [ + "type", + { + "value" : "box", + "typeName" : "String" + } + ] + ], + "runtimeAttributes" : [ + [ + "RuntimeIdentifier", + { + "value" : "3788A5B5-0388-488A-8304-7B90FEBA6FAC", + "typeName" : "UUID" + } + ], + [ + "entityName", + { + "value" : "Steel Box", + "typeName" : "String" + } + ] + ] + }, + "transform" : { + "matrix" : [ + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0.05000000074505806, + 0, + 1 + ] + } + }, + "B91C7CA3-4AB1-4253-9A84-07383168A8A8" : null, + "7F5F1ADC-E5E4-4EF5-A5B5-FC43B071FFA5" : null, + "632E476F-1E55-4E30-9723-1C51DD2E8B89" : null + } + }, + "viewTransform" : { + "sceneTransform" : [ + 1, + 0, + 0, + 0, + 0, + 0.99999994039535522, + 0, + 0, + 0, + 0, + 0.99999994039535522, + 0, + 0, + 0, + 0, + 1 + ], + "cameraTransform" : [ + 0.99999994039535522, + 0, + 0, + 0, + 0, + 0.80754852294921875, + -0.58980101346969604, + 0, + 0, + 0.58980101346969604, + 0.80754852294921875, + 0, + 0, + 1.135667085647583, + 1.5549418926239014, + 1 + ] + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/realityKit/realityKit/ViewController.swift b/realityKit/realityKit/ViewController.swift new file mode 100644 index 0000000..31ca722 --- /dev/null +++ b/realityKit/realityKit/ViewController.swift @@ -0,0 +1,24 @@ +// +// ViewController.swift +// realityKit +// +// Created by Yamaguchi Kyoya on 2022/06/26. +// + +import UIKit +import RealityKit + +class ViewController: UIViewController { + + @IBOutlet var arView: ARView! + + override func viewDidLoad() { + super.viewDidLoad() + + // Load the "Box" scene from the "Experience" Reality File + let boxAnchor = try! Experience.loadBox() + + // Add the box anchor to the scene + arView.scene.anchors.append(boxAnchor) + } +}