Table of Contents

Class AnchoredCollidabled

Namespace
Hi.Collisions
Assembly
HiMech.dll

Represents a collidable object that is associated with an Anchor.

public class AnchoredCollidabled : IAnchoredCollidabled, IGetCollidable, IGetAnchor, IGetTopoIndex
Inheritance
AnchoredCollidabled
Implements
Inherited Members
Extension Methods

Constructors

AnchoredCollidabled()

Initializes a new instance of the AnchoredCollidabled class.

public AnchoredCollidabled()

AnchoredCollidabled(Anchor, ICollidable)

Initializes a new instance of the AnchoredCollidabled class with the specified anchor and collidable.

public AnchoredCollidabled(Anchor anchor, ICollidable collidable)

Parameters

anchor Anchor

The anchor bound to the collidable.

collidable ICollidable

The collidable instance.

Properties

Anchor

Gets or sets the anchor associated with the collidable object.

public Anchor Anchor { get; set; }

Property Value

Anchor

Collidable

Gets or sets the collidable instance.

public ICollidable Collidable { get; set; }

Property Value

ICollidable

Methods

GetAnchor()

Get key anchor. (i.e. root anchor)

public Anchor GetAnchor()

Returns

Anchor

key anchor

GetCollidable()

public ICollidable GetCollidable()

Returns

ICollidable

The collidable object.

GetCollidableAnchor()

Gets the anchor associated with the collidable object.

public Anchor GetCollidableAnchor()

Returns

Anchor

The Anchor instance.