Method LinkConstrainedManipulator
LinkConstrainedManipulator(IConstrainedXRBodyManipulator)
Links the given constrained manipulator to this body. This sets constrainedManipulator to
manipulator and calls OnLinkedToBody(XRMovableBody) on the
manipulator.
Declaration
public void LinkConstrainedManipulator(IConstrainedXRBodyManipulator manipulator)
Parameters
| Type | Name | Description |
|---|---|---|
| IConstrainedXRBodyManipulator | manipulator | The constrained manipulator to link. |
Remarks
If constrainedManipulator is already not null when this is called, this
first calls OnUnlinkedFromBody() on constrainedManipulator.
Also, if the given manipulator already has a linkedBody
set, this calls UnlinkConstrainedManipulator() on that body.