Vector3D.Explicit 運算子
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Explicit(Vector3D to Point3D) | |
Explicit(Vector3D to Size3D) |
Explicit(Vector3D to Point3D)
public:
static explicit operator System::Windows::Media::Media3D::Point3D(System::Windows::Media::Media3D::Vector3D vector);
public static explicit operator System.Windows.Media.Media3D.Point3D (System.Windows.Media.Media3D.Vector3D vector);
static member op_Explicit : System.Windows.Media.Media3D.Vector3D -> System.Windows.Media.Media3D.Point3D
Public Shared Narrowing Operator CType (vector As Vector3D) As Point3D
參數
- vector
- Vector3D
要轉換的向量。
傳回
轉換 vector
的結果。
適用於
Explicit(Vector3D to Size3D)
public:
static explicit operator System::Windows::Media::Media3D::Size3D(System::Windows::Media::Media3D::Vector3D vector);
public static explicit operator System.Windows.Media.Media3D.Size3D (System.Windows.Media.Media3D.Vector3D vector);
static member op_Explicit : System.Windows.Media.Media3D.Vector3D -> System.Windows.Media.Media3D.Size3D
Public Shared Narrowing Operator CType (vector As Vector3D) As Size3D
參數
- vector
- Vector3D
要轉換的向量。
傳回
轉換 vector
的結果。
備註
Size3D因為結構不能是負數,所以會使用 結構的 絕對 Y 值 X 和 Z 屬性 Vector3D 。