Vector4.Item[Int32] 屬性

定義

在指定的索引位置上取得或設定項目。

public float this[int index] { get; set; }

參數

index
Int32

要取得或設定的項目之索引。

屬性值

位於的專案 index

例外狀況

index 小於零或大於項目的數目。

適用於

產品 版本
.NET 7, 8, 9, 10