Releases: Uralstech/UXR.QuestCamera
Releases · Uralstech/UXR.QuestCamera
UXR.QuestCamera v2.3.0 Preview 1
What's Changed?
Breaking Changes
This update is a patch for HorizonOS v76 and contains some breaking changes:
CameraInfo.LensPoseTranslation
will now returnVector3.zero
instead of throwing anObjectDisposedException
when the native value is null.CameraInfo.LensPoseRotation
will now returnQuaternion.identity
instead of throwing anObjectDisposedException
when the native value is null.CameraInfo.Intrinsics
will now return the default value ofCameraIntrinsics
instead of throwing anObjectDisposedException
when the native values are null or invalid.
Added
- Added new constant permission string,
UCameraManager.AvatarCameraPermission
, for the new Avatar Camera.
Full Changelog: 2.2.4...2.3.0-preview.1
UXR.QuestCamera v2.2.4
UXR.QuestCamera v2.2.3
UXR.QuestCamera v2.2.2
What's Changed?
- Updated sample to include
HEADSET_CAMERA
permission requesting.
Full Changelog: 2.2.1...2.2.2
UXR.QuestCamera v2.2.1
What's Changed?
Added
- Added new sample that uses an MNIST trained model to recognize handwritten digits through the Passthrough Camera API.
Other
YUVToRGBAConverter.CameraFrameForwarder
andYUVToRGBAConverter.FrameRenderTexture
are now public get, protected set.YUVToRGBAConverter._isReleased
is now protected get, private set.
Full Changelog: 2.2.0...2.2.1
UXR.QuestCamera v2.2.0
What's Changed?
This is the first stable version of UXR.QuestCamera!
Breaking Changes
UCameraManager.CameraDevices
andUCameraManager.GetSupportedResolutions(string)
have been removed. UseUCameraManager.Cameras
orUCameraManager.GetCamera(CameraInfo.CameraEye)
to get theCameraInfo
and get the supported resolutions fromCameraInfo.SupportedResolutions
.- Minimum Android API level has been raised to API level 29, Android 10.
- Minimum Unity version has been raised to 2022.3 since that is the minimum for
Utils.Singleton
.
Added
- Added new
CameraInfo
class to store metadata about each camera device:- Camera ID
- Camera Source
- Nearest Eye
- Position of lens in relation to the headset
- Rotation of lens in relation to the headset
- Supported resolutions
- Hardware intrinsics:
- Sensor resolution
- Focal length
- Principal point
- Skew coefficient for axis misalignment
- Ability to request camera information based on the closest eye with
UCameraManager.GetCamera(CameraInfo.CameraEye)
.
Pull Requests
- UXR.QuestCamera v2.2.0 by @Uralstech in #2
Full Changelog: 2.1.0-preview.1...2.2.0
UXR.QuestCamera v2.1.0 Preview 1
What's Changed?
Breaking Changes
CameraDevice.CaptureTemplate
is now its own class.CameraDevice.CaptureSessionObject
is now its own class,CaptureSessionObject<T> where T : ContinuousCaptureSession
.CameraDevice.CreateCaptureSession
is nowCameraDevice.CreateContinuousCaptureSession
for continuous captures, andCameraDevice.CreateOnDemandCaptureSession
for non-repeating/on-demand captures.
Added
- Added on-demand capture sessions for replacing non-repeating capture sessions, which didn't work anyways.
CameraDevice
can now be released along with itsGameObject
being destroyed by callingCameraDevice.Destroy()
.
Fixed
- Fixed crash when closing capture sessions due to the capture session executor not being shut down correctly.
Pull Requests
- UXR.QuestCamera v2.1.0-preview.1 by @Uralstech in #1
Full Changelog: 2.0.0-preview.6...2.1.0-preview.1
UXR.QuestCamera v2.0.0 Preview 6
What's Changed?
- Made
YUVToRGBAConverter.SetupCameraFrameForwarder
public and virtual.
Full Changelog: 2.0.0-preview.5...2.0.0-preview.6
UXR.QuestCamera v2.0.0 Preview 5
What's Changed?
- Added new constant for Horizon OS's Headset Camera permission.
- Added complete documentation.
Full Changelog: 2.0.0-preview.4...2.0.0-preview.5