SoMFVec4fFind Method (SbVec4f, Boolean) |
Finds the given targetValue in the array and returns the index of that value.
Namespace: OIV.Inventor.FieldsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public int Find(
SbVec4f targetValue,
bool addIfNotFound
)
Public Function Find (
targetValue As SbVec4f,
addIfNotFound As Boolean
) As Integer
public:
int Find(
SbVec4f targetValue,
bool addIfNotFound
)
member Find :
targetValue : SbVec4f *
addIfNotFound : bool -> int
Parameters
- targetValue
- Type: OIV.InventorSbVec4f
- addIfNotFound
- Type: SystemBoolean
Return Value
Type:
Int32Remarks in the array. If the value is not found, -1 is returned. If addIfNotFound is set, then targetValue is added to the end of the array (but -1 is still returned).
See Also