# IRsUnknownIkLock Interface Reference

Inherits IUnknown.

List of all members.

## Public Member Functions
HRESULT | GetSolverError ([out] RtMatrixf *pError)
HRESULT | SetSolverError ([in] RtMatrixf *pError)
HRESULT | SetInvalidationBlocking (RtBool bBlock)

## Detailed Description

IRsUnknownIkLock is an interface to Skeleton bone

## Member Function Documentation

HRESULT IRsUnknownIkLock::GetSolverError | ( | [out] RtMatrixf * | pError | ) |

Get previously stored displacement between original lock position and solved one.

Parameters:

  | pError | [out] .

Returns:
  standard HRESULT processing can be applied to returned value.

HRESULT IRsUnknownIkLock::SetSolverError | ( | [in] RtMatrixf * | pError | ) |

Called by IK solver to set solver error to reduce error accumulation.
Error transform is defined in Bone space and defines transform between achieved and desired lock transformation.

Parameters:

  | pError | [in] .

Returns:
  standard HRESULT processing can be applied to returned value

HRESULT IRsUnknownIkLock::SetInvalidationBlocking | ( | RtBool | bBlock | ) |

Enable or disable invalidation blocking for performing updates.

Parameters:

  | bBlock | [in] Set to true to disable IK calculation as a consequence of transform matrixes change.

Returns:
  return S_OK if invalidation was blocked, S_FALSe otherwise.