SharpMath.PointTypeConverter.ConvertFrom C# (CSharp) Méthode

ConvertFrom() public méthode

public ConvertFrom ( System _Context, System _Culture, object _Value ) : object
_Context System
_Culture System
_Value object
Résultat object
        public override object ConvertFrom( System.ComponentModel.ITypeDescriptorContext _Context, System.Globalization.CultureInfo _Culture, object _Value )
        {
            if ( _Value is string )
                return	float3.Parse( _Value as string );

            return	base.ConvertFrom( _Context, _Culture, _Value );
        }