DHookReturn.SetVector Method

Set return vector value. Use only for: vector or vectorptr return types.

The value is only applied when MRES_Override or MRES_Supercede is returned in the callback.

void SetVector(const float vec[3])

Parameters

const float[3] vec

Value to set return vector to.

Errors

Invalid Handle or invalid type.