Camera Index Switch (RealityKit)
Render different results for each eye in a stereoscopic render.
Parameter Types
Parameter descriptions
MonoThe value to return if using a single renderer.
LeftThe value to return if seeing the texture through the left eye of a stereoscopic render.
RightThe value to return if seeing the texture through the right eye of a stereoscopic render.
Discussion
Use the Camera Index Switch node to render stereoscopic images. On most devices, this node returns its Mono input parameter. On Apple Vision Pro, this node outputs either Left or Right, depending on which eye the texture renders through.
See Also
Nodes
Unlit Surface (RealityKit)PBR Surface (RealityKit)Occlusion Surface (RealityKit)Shadow Receiving Occlusion Surface (RealityKit)View Direction (RealityKit)Camera Position (RealityKit)Geometry Modifier Model To World (RealityKit)Geometry Modifier World To Model (RealityKit)Geometry Modifier Normal To World (RealityKit)Geometry Modifier Model To View (RealityKit)Geometry Modifier View To Projection (RealityKit)Geometry Modifier Projection To View (RealityKit)Geometry Modifier Vertex ID (RealityKit)Surface Model To World (RealityKit)Surface Model To View (RealityKit)