BuildItArSample.UWP.MainPage.DisplayInformation_OrientationChanged C# (CSharp) Method

DisplayInformation_OrientationChanged() private method

private DisplayInformation_OrientationChanged ( DisplayInformation sender, object args ) : void
sender DisplayInformation
args object
return void
        private void DisplayInformation_OrientationChanged(DisplayInformation sender, object args)
        {
            if (world == null)
            {
                return;
            }

            world.UpdateRotation();
            cameraFeedUtility?.UpdatePreviewRotation(world.Rotation);
        }