Matrix4x4.Item[Int32, Int32] 属性

定义

获取或设置指定索引处的元素。

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 小于零或大于列数。

适用于