|
GetVector |
Accueil Précédent Suivant |
C/C++ declaration
long __stdcall GetVector(long Handle, void* Target, int Index, TData Style);
Pascal declaration
function GetVector(Handle: LongInt; Target: Pointer; Index: Integer; Style: TData): Integer; stdcall;
Reading a vector from the model.
IN → Handle : Model handle.
IN → Target : Destination buffer (cf. TData). It is a table of double or long, depending on the style.
IN → Index : Vector index (cf. TData)
IN → Style Vector to read
Return → If Target is Null, the vector length (Element number).
otherwise, 0 if OK oor error code.