Gets or sets the vector component at the specified index.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2025.1.0.Release.bbf67b7ce81225a791aa69eb415ebddead35829d
Syntaxpublic 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.
ExceptionsException | Condition |
---|
IndexOutOfRangeException | If index if out of range. |
See Also