Assets/EasyAR/Scripts/csapi.cs
///<summary>
///Creates a target from an etd file.
///</summary>
Creates a target from an etd file.
Creates a target from an etd file .
public static Optional<ImageTarget> createFromTargetFile(string path, StorageType storageType)
        {
            using (var ar = new Detail.AutoRelease())
            {
                var _return_value_ = default(Detail.OptionalOfImageTarget);
                Detail.easyar_ImageTarget_createFromTargetFile(Detail.String_to_c(ar, path), storageType, out _return_value_);
                return _return_value_.map(p => p.has_value ? Detail.Object_from_c<ImageTarget>(p.value, Detail.easyar_ImageTarget__typeName) : Optional<ImageTarget>.Empty);
            }
        }
public static Optional < ImageTarget > createFromTargetFile ( string path , StorageType storageType ) { using ( var ar = new Detail . AutoRelease ( ) ) { var _return_value_ = default ( Detail . OptionalOfImageTarget ) ; Detail . easyar_ImageTarget_createFromTargetFile ( Detail . String_to_c ( ar , path ) , storageType , out _return_value_ ) ; return _return_value_ . map ( p => p . has_value ? Detail . Object_from_c < ImageTarget > ( p . value , Detail . easyar_ImageTarget__typeName ) : Optional < ImageTarget > . Empty ) ; } }
Creates a target from an etd file.
Creates a target from an etd file .
path
string
storageType
StorageType