Assets/EasyAR/Scripts/csapi.cs
///<summary>
///Tries to get the corresponding `Buffer`_ for a specified path.
///</summary>
Tries to get the corresponding `Buffer`_ for a specified path.
Tries to get the corresponding ` Buffer ` _ for a specified path .
public virtual Optional<Buffer> tryGet(string path)
        {
            using (var ar = new Detail.AutoRelease())
            {
                var _return_value_ = default(Detail.OptionalOfBuffer);
                Detail.easyar_BufferDictionary_tryGet(cdata, Detail.String_to_c(ar, path), out _return_value_);
                return _return_value_.map(p => p.has_value ? Detail.Object_from_c<Buffer>(p.value, Detail.easyar_Buffer__typeName) : Optional<Buffer>.Empty);
            }
        }
public virtual Optional < Buffer > tryGet ( string path ) { using ( var ar = new Detail . AutoRelease ( ) ) { var _return_value_ = default ( Detail . OptionalOfBuffer ) ; Detail . easyar_BufferDictionary_tryGet ( cdata , Detail . String_to_c ( ar , path ) , out _return_value_ ) ; return _return_value_ . map ( p => p . has_value ? Detail . Object_from_c < Buffer > ( p . value , Detail . easyar_Buffer__typeName ) : Optional < Buffer > . Empty ) ; } }
Tries to get the corresponding `Buffer`_ for a specified path.
Tries to get the corresponding ` Buffer ` _ for a specified path .
path
string