ParentConstraint.SetTranslationOffset

Declaration

public void SetTranslationOffset(int index, Vector3 value);

Parameters

index The index of the constraint source.
value The new translation offset.

Description

Sets the translation offset associated with a source by index.

Throws InvalidOperationException, if the list of sources is empty. Throws ArgumentOutOfRangeException, if the index is invalid.


Did you find this page useful? Please give it a rating: