This repository was archived by the owner on Jul 3, 2021. It is now read-only.
Releases: ejeinc/MetalScope
Releases · ejeinc/MetalScope
0.16.0
0.15.2
0.15.1
0.15.0
0.14.0
- Extract default implementations for
Loadableprotocols (#19)
Now you can reuse the default implementation of load methods when you override them.
class MyViewController: SceneLoadable, ImageLoadable {
var scene: SCNScene?
func load(_ image: UIImage, format: MediaFormat) {
ImageSceneLoader(target: self).load(image, format: format)
// your custom logic...
}
}Additions
- New struct
ImageSceneLoader - New struct
VideoSceneLoader
0.13.0
- Add
StereoViewController.introductionView(#18)
StereoViewController.introductionView is displayed while the phone is not inserted into a Cardboard viewer.
let introView = UILabel()
introView.text = "Place your phone into your Cardboard viewer."
introView.textColor = .white
introView.textAlignment = .center
introView.backgroundColor = .black
let stereoViewController = StereoViewController(device: device)
stereoViewController.introductionView = introViewAdditions
- New property
StereoViewController.introductionView
0.12.0
0.11.0
0.10.0
Additions
- New protocol
SceneLoadable - New protocol
ImageLoadable - New protocol
VideoLoadable - New method
PanoramaView.setNeedsResetRotation - New method
StereoView.setNeedsResetRotation
Changes
OrientationNode.resetCentermethod has been renamed to.resetRotation.
Deprecations + Removals
MediaSceneLoaderprotocol has been removed.PanoramaView.resetCentermethod has beed deprecated. Use.setNeedsResetRotationmethod instead.StereoView.resetCentermethod has been deprecated. Use.setNeedsResetRotationmethod instead.