Gets or sets the vector component at the specified index.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax public float this[
int index
] { get; set; }
Public Default Property Item (
index As Integer
) As Single
Get
Set
public:
property float default[int index] {
float get (int index);
void set (int index, float value);
}
member Item : float32 with get, set
Parameters
- index
- Type: SystemInt32
The zero-based index of the vector's component to get or set.
Return Value
Type:
SingleThe vector component at the specified index.
Exceptions Exception | Condition |
---|
IndexOutOfRangeException | If index if out of range. |
See Also