/// <inheritdoc />
        protected override void DefaultValues()
        {
            base.DefaultValues();

            this.trackPosition          = true;
            this.planeDetection         = PlaneDetectionType.Horizontal;
            this.pointCloudEnabled      = false;
            this.worldAlignment         = ARMobileWorldAlignment.Gravity;
            this.lightEstimationEnabled = true;
            this.AutoStart = true;
        }
Exemple #2
0
 /// <summary>
 /// Converts an <see cref="ARMobileWorldAlignment"/> into a <see cref="ARWorldAlignment"/>.
 /// </summary>
 /// <param name="worldAlignment">The world alignment value to be converted</param>
 /// <returns>Returns an <see cref="ARWorldAlignment"/></returns>
 internal static ARWorldAlignment ToARKit(this ARMobileWorldAlignment worldAlignment)
 {
     return((ARWorldAlignment)worldAlignment);
 }