語言

Matrix4x4.Item[] 屬性

定義

多載

名稱 Description
Item[Int32]

取得或設定該列在指定的索引。

Item[Int32, Int32]

取得或設定元素在指定的索引位置。

Item[Int32]

來源:
Matrix4x4.cs
來源:
Matrix4x4.cs

取得或設定該列在指定的索引。

public:
 property System::Numerics::Vector4 default[int] { System::Numerics::Vector4 get(int row); void set(int row, System::Numerics::Vector4 value); };
public System.Numerics.Vector4 this[int row] { get; set; }
member this.Item(int) : System.Numerics.Vector4 with get, set
Default Public Property Item(row As Integer) As Vector4

參數

row
Int32

要取得或設定的列索引。

屬性值

索引處的該行為 [row]。

例外狀況

row 小於零或大於等於行數(4)。

適用於

Item[Int32, Int32]

來源:
Matrix4x4.cs
來源:
Matrix4x4.cs
來源:
Matrix4x4.cs
來源:
Matrix4x4.cs
來源:
Matrix4x4.cs

取得或設定元素在指定的索引位置。

public:
 property float default[int, int] { float get(int row, int column); void set(int row, int column, float value); };
public float this[int row, int column] { get; set; }
member this.Item(int * int) : single with get, set
Default Public Property Item(row As Integer, column As Integer) As Single

參數

row
Int32

包含要取得或設定元素的列索引。

column
Int32

包含要取得或設定元素的欄位索引。

屬性值

位於 [row][column] 的元素。

例外狀況

row 小於零或大於列數。

-或-

column 小於零或大於欄數。

適用於