DioDocs for PDF
Item プロパティ (Vector4)

GrapeCity.Documents.DX.Windows アセンブリ > GrapeCity.Documents.DX 名前空間 > Vector4 構造体 : Item プロパティ
The index of the component to access. Use 0 for the X component, 1 for the Y component, 2 for the Z component, and 3 for the W component.
Gets or sets the component at the specified index.
シンタックス
'宣言
 
Public Default Property Item( _
   ByVal index As System.Integer _
) As System.Single
public System.float this[ 
   System.int index
]; {get; set;}

パラメータ

index
The index of the component to access. Use 0 for the X component, 1 for the Y component, 2 for the Z component, and 3 for the W component.

プロパティ値

The value of the X, Y, Z, or W component, depending on the index.The value of the component at the specified index.
例外
例外解説
Thrown when the index is out of the range [0, 3].
参照

Vector4 構造体
Vector4 メンバ