QuaternionConverter.ConvertFrom 方法

定义

将指定对象转换为 Quaternion

public:
 override System::Object ^ ConvertFrom(System::ComponentModel::ITypeDescriptorContext ^ context, System::Globalization::CultureInfo ^ culture, System::Object ^ value);
public override object ConvertFrom (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value);
override this.ConvertFrom : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj -> obj
Public Overrides Function ConvertFrom (context As ITypeDescriptorContext, culture As CultureInfo, value As Object) As Object

参数

context
ITypeDescriptorContext

此调用的 ITypeDescriptorContext。

culture
CultureInfo

转换时要遵守的 CultureInfo。

value
Object

要转换成四元数实例的对象。

返回

已构造的四元数。

适用于