Assets/EasyAR/Scripts/csapi.cs
///<summary>
///Creats a target from obj, mtl and jpg/png files.
///</summary>
Creats a target from obj, mtl and jpg/png files.
Creats a target from obj mtl and jpg / png files .
public static Optional<ObjectTarget> createFromObjectFile(string path, StorageType storageType, string name, string uid, string meta, float scale)
        {
            using (var ar = new Detail.AutoRelease())
            {
                var _return_value_ = default(Detail.OptionalOfObjectTarget);
                Detail.easyar_ObjectTarget_createFromObjectFile(Detail.String_to_c(ar, path), storageType, Detail.String_to_c(ar, name), Detail.String_to_c(ar, uid), Detail.String_to_c(ar, meta), scale, out _return_value_);
                return _return_value_.map(p => p.has_value ? Detail.Object_from_c<ObjectTarget>(p.value, Detail.easyar_ObjectTarget__typeName) : Optional<ObjectTarget>.Empty);
            }
        }
public static Optional < ObjectTarget > createFromObjectFile ( string path , StorageType storageType , string name , string uid , string meta , float scale ) { using ( var ar = new Detail . AutoRelease ( ) ) { var _return_value_ = default ( Detail . OptionalOfObjectTarget ) ; Detail . easyar_ObjectTarget_createFromObjectFile ( Detail . String_to_c ( ar , path ) , storageType , Detail . String_to_c ( ar , name ) , Detail . String_to_c ( ar , uid ) , Detail . String_to_c ( ar , meta ) , scale , out _return_value_ ) ; return _return_value_ . map ( p => p . has_value ? Detail . Object_from_c < ObjectTarget > ( p . value , Detail . easyar_ObjectTarget__typeName ) : Optional < ObjectTarget > . Empty ) ; } }
Creats a target from obj, mtl and jpg/png files.
Creats a target from obj mtl and jpg / png files .
path
string
storageType
StorageType
name
string
uid
string
meta
string
scale
float