Assets/EasyAR/Scripts/csapi.cs
///<summary>
///Creates a target from an etd data buffer.
///</summary>
Creates a target from an etd data buffer.
Creates a target from an etd data buffer .
public static Optional<ImageTarget> createFromTargetData(Buffer buffer)
        {
            using (var ar = new Detail.AutoRelease())
            {
                var _return_value_ = default(Detail.OptionalOfImageTarget);
                Detail.easyar_ImageTarget_createFromTargetData(buffer.cdata, 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 > createFromTargetData ( Buffer buffer ) { using ( var ar = new Detail . AutoRelease ( ) ) { var _return_value_ = default ( Detail . OptionalOfImageTarget ) ; Detail . easyar_ImageTarget_createFromTargetData ( buffer . cdata , 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 data buffer.
Creates a target from an etd data buffer .
buffer
Buffer
<not_specific>