Fragment Class

Definition

Fragment class is a container for attachment points in the same WorldLocking Fragment. It manages their update and adjustment, including merging in the attachment points from another fragment.

public class Fragment
type Fragment = class
Public Class Fragment
Inheritance
Fragment

Constructors

Fragment(FragmentId)

Properties

FragmentId
State

Methods

AbsorbOtherFragment(Fragment)

Absorb the contents of another fragment, emptying it.

AbsorbOtherFragment(Fragment, Pose)

Absorb the contents of another fragment, emptying it, and applying an adjustment transform.

AddAttachmentPoint(AttachmentPoint)

Add an existing attachment point to this fragment.

AdjustAll(IPlugin)

Run through all attachment points, get their adjustments from the plugin and apply them.

ReleaseAll()

Release all resources for this fragment.

ReleaseAttachmentPoint(IAttachmentPoint)

Notify system attachment point is no longer needed. See ReleaseAttachmentPoint(IAttachmentPoint)

UpdateState(AttachmentPointStateType)

Set the state of the contents of this fragment.

Applies to