RealityKit: Difference between revisions
Appearance
Xinreality (talk | contribs) No edit summary |
RealEditor (talk | contribs) No edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Software Infobox | {{Software Infobox | ||
|image= | |image=[[File:RealityKit1.jpg|300px]] | ||
|Type=3D Framework | |Type=[[3D Framework]], [[SDK]] | ||
|Industry=Augmented Reality | |Industry=[[Augmented Reality]] | ||
|Developer=Apple | |Developer=[[Apple]] | ||
|Written In=Swift (API); core in Objective-C and Metal | |Written In=Swift (API); core in Objective-C and Metal | ||
|Operating System=iOS 13.0+, iPadOS 13.0+, macOS 10.15+, visionOS 1.0+, tvOS 18.0+ | |Operating System=iOS 13.0+, iPadOS 13.0+, macOS 10.15+, visionOS 1.0+, tvOS 18.0+ | ||
|License=Proprietary (Apple Developer Program) | |License=Proprietary (Apple Developer Program) | ||
|Supported Devices=iPhone, iPad, Mac, Apple Vision Pro, Apple TV 4K | |Supported Devices=iPhone, iPad, Mac, Apple Vision Pro, Apple TV 4K | ||
|Release Date=June 3, 2019 (announced) | |Release Date=June 3, 2019 (announced), September 19, 2019 (public release) | ||
|Website=https://developer.apple.com/realitykit/ | |Website=https://developer.apple.com/realitykit/ | ||
}} | }} | ||
{{see also|Software}} | |||
'''RealityKit''' is a | '''RealityKit''' is a 3D [[framework]] developed by [[Apple Inc.]] for creating [[augmented reality]] (AR) and [[spatial computing]] experiences across Apple platforms. The RealityKit framework was built specifically for augmented reality with camera effects, animations, physics, and more. RealityKit was first introduced at the [[Worldwide Developers Conference]] (WWDC) 2019 on June 3 alongside [[iOS 13]], [[iPadOS 13]], and [[macOS 10.15]] (Catalina), with public release on September 19, 2019<ref name="wwdc2019">Apple reveals ARKit 3 with RealityKit and Reality Composer by Jeremy Horwitz, VentureBeat. 2019-06-03.</ref>. The framework provides developers with native [[Swift (programming language)|Swift]] [[API]]s for realistic [[rendering]], [[animation]], [[physics simulation]], and [[spatial audio]], making AR development more accessible and efficient. | ||
==Overview== | ==Overview== | ||
Line 20: | Line 20: | ||
===Relationship with ARKit=== | ===Relationship with ARKit=== | ||
RealityKit and [[ARKit]] are designed to work together but serve different purposes. ARKit is responsible for understanding the real world by processing data from the device's camera and motion sensors, performing tasks such as [[plane detection]], [[image tracking]], and [[world tracking]]<ref name="arkitrelation">RealityKit Documentation - Apple Developer. https://developer.apple.com/documentation/realitykit</ref>. RealityKit takes the information from ARKit and uses it to place and interact with virtual content in the real world. In essence, ARKit "sees" the world, and RealityKit "draws" the virtual objects in it. | RealityKit and [[ARKit]] are designed to work together but serve different technical purposes. ARKit is responsible for understanding the real world by processing data from the device's camera and motion sensors, performing tasks such as [[plane detection]], [[image tracking]], and [[world tracking]]<ref name="arkitrelation">RealityKit Documentation - Apple Developer. https://developer.apple.com/documentation/realitykit</ref>. RealityKit takes the information from ARKit and uses it to place and interact with virtual content in the real world. In essence, ARKit "sees" the world, and RealityKit "draws" the virtual objects in it. | ||
==History== | ==History== | ||
Line 59: | Line 59: | ||
! Element !! Description !! Purpose | ! Element !! Description !! Purpose | ||
|- | |- | ||
| '''Entity''' || An entity is a container object that represents nodes in a scene graph || Represents objects in the scene ( | | '''Entity''' || An entity is a container object that represents nodes in a scene graph || Represents objects in the scene (like virtual chair, character) | ||
|- | |- | ||
| '''Component''' || Each component enables some specific behavior for an entity || Defines properties and behaviors (position, appearance, physics) | | '''Component''' || Each component enables some specific behavior for an entity || Defines properties and behaviors (position, appearance, physics) | ||
Line 93: | Line 93: | ||
===Physics Simulation=== | ===Physics Simulation=== | ||
RealityKit has a basic physics engine. You can adjust real-world physics properties like mass, drag and restitution, allowing you to fine-tune collisions. Features include: | |||
* Rigid body dynamics | * Rigid body dynamics |