IAttachmentPoint Interface

Definition

Opaque handle to an attachment point. Create one of these to enable WorldLocking to adjust an attached object as corrections to the world locked space optimization are made.

public interface IAttachmentPoint
type IAttachmentPoint = interface
Public Interface IAttachmentPoint
Derived

Remarks

The attachment point gives an interface for notifying the system that you have moved the attached object, and the system indicates that it has computed an adjustment for the object through the callbacks passed into the creation routine. Alternatively, polling is also supported through the State and ObjectAdjustment accessors.

Properties

AnchorId

Associated anchor id

CachedPosition

Internal history cache.

FragmentId

Associated fragment id

LocationFromAnchor

Position of attachment point in anchor point's space.

Name

Name is auto-populated on create with something unique, but can be renamed to anything useful and convenient. It is only used as a label, so can be anything (including empty or null).

ObjectAdjustment

Cumulative transform adjustment for object(s) bound to this attachment point.

ObjectPosition

The position of object(s) bound to this attachment point.

State

Current state of this attachment point.

Methods

MoveTo(IAttachmentPointManager, Vector3)

Notify attachment point that it has moved incrementally to a new position.

TeleportTo(IAttachmentPointManager, Vector3, IAttachmentPoint)

Notify attachment point that it has teleported to a new position.

Applies to