Created
March 30, 2025 15:36
-
-
Save tiye/18642d39c825cb0a6634e1bb2e86c927 to your computer and use it in GitHub Desktop.
spatial-events.swift
This file contains hidden or 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
``` | |
LampsRenderer received spatial event: SpatialEventCollection(events: [ | |
SwiftUI.SpatialEventCollection.Event.ID(value: 1): SwiftUI.SpatialEventCollection.Event( | |
id: SwiftUI.SpatialEventCollection.Event.ID(value: 1), | |
timestamp: 66374.834269625, | |
kind: SwiftUI.SpatialEventCollection.Event.Kind.indirectPinch, | |
location: (0.0, 0.0), | |
phase: SwiftUI.SpatialEventCollection.Event.Phase.active, | |
modifierKeys: SwiftUI.EventModifiers(rawValue: 0), | |
_inputDevicePose: Optional(SwiftUI.SpatialEventCollection.Event.InputDevicePose( | |
altitude: SwiftUI.Angle(radians: -0.4741591144230095), | |
azimuth: SwiftUI.Angle(radians: -2.837201316871352), | |
pose3D: ( | |
position: (x: 0.3085569739341736, y: 1.4013032913208008, z: -0.09915956854820251), | |
rotation: (quaternion: simd_quatd(real: 0.6348184064782064, imag: SIMD3<Double>(0.7360148258660846, 0.16013922224903615, -0.17205620830446544)))) | |
)), | |
location3D: (x: 0.0, y: 0.0, z: 0.0), | |
targetedEntity: nil, | |
selectionRay: Optional(( | |
origin: (x: 0.0935242772102356, y: 1.5464258193969727, z: 0.0037411153316497803), | |
direction: (x: 0.7086639404296875, y: -0.08642578125, z: -0.700225830078125) | |
)), | |
chirality: Optional(SwiftUI.Chirality.right) | |
) | |
]) | |
LampsRenderer received spatial event: SpatialEventCollection(events: [ | |
SwiftUI.SpatialEventCollection.Event.ID(value: 1): SwiftUI.SpatialEventCollection.Event( | |
id: SwiftUI.SpatialEventCollection.Event.ID(value: 1), | |
timestamp: 66374.86760179167, | |
kind: SwiftUI.SpatialEventCollection.Event.Kind.indirectPinch, | |
location: (0.0, 0.0), | |
phase: SwiftUI.SpatialEventCollection.Event.Phase.active, | |
modifierKeys: SwiftUI.EventModifiers(rawValue: 0), | |
_inputDevicePose: Optional(SwiftUI.SpatialEventCollection.Event.InputDevicePose( | |
altitude: SwiftUI.Angle(radians: -0.4581637045331233), | |
azimuth: SwiftUI.Angle(radians: -2.805868259872558), | |
pose3D: ( | |
position: (x: 0.3114091753959656, y: 1.4029033184051514, z: -0.09196105599403381), | |
rotation: (quaternion: simd_quatd(real: 0.6301499384368429, imag: SIMD3<Double>(0.7422699373108473, 0.1605204971406193, -0.16166489265772838)))) | |
)), | |
location3D: (x: 0.0, y: 0.0, z: 0.0), | |
targetedEntity: nil, | |
selectionRay: Optional(( | |
origin: (x: 0.0935242772102356, y: 1.5464258193969727, z: 0.0037411153316497803), | |
direction: (x: 0.7086639404296875, y: -0.08642578125, z: -0.700225830078125) | |
)), | |
chirality: Optional(SwiftUI.Chirality.right) | |
) | |
]) | |
LampsRenderer received spatial event: SpatialEventCollection(events: [ | |
SwiftUI.SpatialEventCollection.Event.ID(value: 1): SwiftUI.SpatialEventCollection.Event( | |
id: SwiftUI.SpatialEventCollection.Event.ID(value: 1), | |
timestamp: 66374.87871254167, | |
kind: SwiftUI.SpatialEventCollection.Event.Kind.indirectPinch, | |
location: (0.0, 0.0), | |
phase: SwiftUI.SpatialEventCollection.Event.Phase.active, | |
modifierKeys: SwiftUI.EventModifiers(rawValue: 0), | |
_inputDevicePose: Optional(SwiftUI.SpatialEventCollection.Event.InputDevicePose( | |
altitude: SwiftUI.Angle(radians: -0.4530876090107565), | |
azimuth: SwiftUI.Angle(radians: -2.8156728191366853), | |
pose3D: ( | |
position: (x: 0.3120327591896057, y: 1.4025225639343262, z: -0.09065091609954834), | |
rotation: (quaternion: simd_quatd(real: 0.6323886971020523, imag: SIMD3<Double>(0.7410695749136097, 0.16117770687259955, -0.15780553726863564)))) | |
)), | |
location3D: (x: 0.0, y: 0.0, z: 0.0), | |
targetedEntity: nil, | |
selectionRay: Optional(( | |
origin: (x: 0.0935242772102356, y: 1.5464258193969727, z: 0.0037411153316497803), | |
direction: (x: 0.7086639404296875, y: -0.08642578125, z: -0.700225830078125) | |
)), | |
chirality: Optional(SwiftUI.Chirality.right) | |
) | |
]) | |
LampsRenderer received spatial event: SpatialEventCollection(events: [ | |
SwiftUI.SpatialEventCollection.Event.ID(value: 1): SwiftUI.SpatialEventCollection.Event( | |
id: SwiftUI.SpatialEventCollection.Event.ID(value: 1), | |
timestamp: 66374.88982329167, | |
kind: SwiftUI.SpatialEventCollection.Event.Kind.indirectPinch, | |
location: (0.0, 0.0), | |
phase: SwiftUI.SpatialEventCollection.Event.Phase.active, | |
modifierKeys: SwiftUI.EventModifiers(rawValue: 0), | |
_inputDevicePose: Optional(SwiftUI.SpatialEventCollection.Event.InputDevicePose( | |
altitude: SwiftUI.Angle(radians: -0.44859578727929694), | |
azimuth: SwiftUI.Angle(radians: -2.8429715445135733), | |
pose3D: ( | |
position: (x: 0.31256407499313354, y: 1.4016183614730835, z: -0.08978381752967834), | |
rotation: (quaternion: simd_quatd(real: 0.6377304382931726, imag: SIMD3<Double>(0.7370857484846953, 0.1621234586319139, -0.15392955176557982)))) | |
)), | |
location3D: (x: 0.0, y: 0.0, z: 0.0), | |
targetedEntity: nil, | |
selectionRay: Optional(( | |
origin: (x: 0.0935242772102356, y: 1.5464258193969727, z: 0.0037411153316497803), | |
direction: (x: 0.7086639404296875, y: -0.08642578125, z: -0.700225830078125) | |
)), | |
chirality: Optional(SwiftUI.Chirality.right) | |
) | |
]) | |
LampsRenderer received spatial event: SpatialEventCollection(events: [ | |
SwiftUI.SpatialEventCollection.Event.ID(value: 1): SwiftUI.SpatialEventCollection.Event( | |
id: SwiftUI.SpatialEventCollection.Event.ID(value: 1), | |
timestamp: 66374.900934, | |
kind: SwiftUI.SpatialEventCollection.Event.Kind.indirectPinch, | |
location: (0.0, 0.0), | |
phase: SwiftUI.SpatialEventCollection.Event.Phase.active, | |
modifierKeys: SwiftUI.EventModifiers(rawValue: 0), | |
_inputDevicePose: Optional(SwiftUI.SpatialEventCollection.Event.InputDevicePose( | |
altitude: SwiftUI.Angle(radians: -0.44333309289109746), | |
azimuth: SwiftUI.Angle(radians: -2.8666836630722674), | |
pose3D: ( | |
position: (x: 0.31335142254829407, y: 1.4001047611236572, z: -0.08897656202316284), | |
rotation: (quaternion: simd_quatd(real: 0.6431180358297419, imag: SIMD3<Double>(0.7332086486788869, 0.16024634499452436, -0.15196089540840452)))) | |
)), | |
location3D: (x: 0.0, y: 0.0, z: 0.0), | |
targetedEntity: nil, | |
selectionRay: Optional(( | |
origin: (x: 0.0935242772102356, y: 1.5464258193969727, z: 0.0037411153316497803), | |
direction: (x: 0.7086639404296875, y: -0.08642578125, z: -0.700225830078125) | |
)), | |
chirality: Optional(SwiftUI.Chirality.right) | |
) | |
]) | |
LampsRenderer received spatial event: SpatialEventCollection(events: [ | |
SwiftUI.SpatialEventCollection.Event.ID(value: 1): SwiftUI.SpatialEventCollection.Event( | |
id: SwiftUI.SpatialEventCollection.Event.ID(value: 1), | |
timestamp: 66374.91204475, | |
kind: SwiftUI.SpatialEventCollection.Event.Kind.indirectPinch, | |
location: (0.0, 0.0), | |
phase: SwiftUI.SpatialEventCollection.Event.Phase.active, | |
modifierKeys: SwiftUI.EventModifiers(rawValue: 0), | |
_inputDevicePose: Optional(SwiftUI.SpatialEventCollection.Event.InputDevicePose( | |
altitude: SwiftUI.Angle(radians: -0.43674620583481927), | |
azimuth: SwiftUI.Angle(radians: -2.8946583902456955), | |
pose3D: ( | |
position: (x: 0.3142769932746887, y: 1.398082971572876, z: -0.08852845430374146), | |
rotation: (quaternion: simd_quatd(real: 0.6497858345729701, imag: SIMD3<Double>(0.7283873207947038, 0.15605030162113098, -0.1511522665186802)))) | |
)), | |
location3D: (x: 0.0, y: 0.0, z: 0.0), | |
targetedEntity: nil, | |
selectionRay: Optional(( | |
origin: (x: 0.0935242772102356, y: 1.5464258193969727, z: 0.0037411153316497803), | |
direction: (x: 0.7086639404296875, y: -0.08642578125, z: -0.700225830078125) | |
)), | |
chirality: Optional(SwiftUI.Chirality.right) | |
) | |
]) | |
LampsRenderer received spatial event: SpatialEventCollection(events: [ | |
SwiftUI.SpatialEventCollection.Event.ID(value: 1): SwiftUI.SpatialEventCollection.Event( | |
id: SwiftUI.SpatialEventCollection.Event.ID(value: 1), | |
timestamp: 66374.9231555, | |
kind: SwiftUI.SpatialEventCollection.Event.Kind.indirectPinch, | |
location: (0.0, 0.0), | |
phase: SwiftUI.SpatialEventCollection.Event.Phase.active, | |
modifierKeys: SwiftUI.EventModifiers(rawValue: 0), | |
_inputDevicePose: Optional(SwiftUI.SpatialEventCollection.Event.InputDevicePose( | |
altitude: SwiftUI.Angle(radians: -0.4291984033064642), | |
azimuth: SwiftUI.Angle(radians: -2.9274799636113715), | |
pose3D: ( | |
position: (x: 0.3153066039085388, y: 1.3955286741256714, z: -0.0885310173034668), | |
rotation: (quaternion: simd_quatd(real: 0.6575062243204159, imag: SIMD3<Double>(0.7226507505915165, 0.1498401697189952, -0.15159491356635005)))) | |
)), | |
location3D: (x: 0.0, y: 0.0, z: 0.0), | |
targetedEntity: nil, | |
selectionRay: Optional(( | |
origin: (x: 0.0935242772102356, y: 1.5464258193969727, z: 0.0037411153316497803), | |
direction: (x: 0.7086639404296875, y: -0.08642578125, z: -0.700225830078125) | |
)), | |
chirality: Optional(SwiftUI.Chirality.right) | |
) | |
]) | |
LampsRenderer received spatial event: SpatialEventCollection(events: [ | |
SwiftUI.SpatialEventCollection.Event.ID(value: 1): SwiftUI.SpatialEventCollection.Event( | |
id: SwiftUI.SpatialEventCollection.Event.ID(value: 1), | |
timestamp: 66374.93426625, | |
kind: SwiftUI.SpatialEventCollection.Event.Kind.indirectPinch, | |
location: (0.0, 0.0), | |
phase: SwiftUI.SpatialEventCollection.Event.Phase.ended, | |
modifierKeys: SwiftUI.EventModifiers(rawValue: 0), | |
_inputDevicePose: Optional(SwiftUI.SpatialEventCollection.Event.InputDevicePose( | |
altitude: SwiftUI.Angle(radians: -0.4291984033064642), | |
azimuth: SwiftUI.Angle(radians: -2.9274799636113715), | |
pose3D: ( | |
position: (x: 0.3153066039085388, y: 1.3955286741256714, z: -0.0885310173034668), | |
rotation: (quaternion: simd_quatd(real: 0.6575062243204159, imag: SIMD3<Double>(0.7226507505915165, 0.1498401697189952, -0.15159491356635005)))) | |
)), | |
location3D: (x: 0.0, y: 0.0, z: 0.0), | |
targetedEntity: nil, | |
selectionRay: Optional(( | |
origin: (x: 0.0935242772102356, y: 1.5464258193969727, z: 0.0037411153316497803), | |
direction: (x: 0.7086639404296875, y: -0.08642578125, z: -0.700225830078125) | |
)), | |
chirality: Optional(SwiftUI.Chirality.right) | |
) | |
]) | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment