Table of Contents

Class AnchoredCollidableLeaf

Namespace
Hi.Collision
Assembly
HiMech.dll

Represents a leaf node in the anchored collidable hierarchy.

public class AnchoredCollidableLeaf : IAnchoredCollidableLeaf, IAnchoredCollidableNode, IAnchoredCollidableBased, ICollidable, IGetCollidable
Inheritance
AnchoredCollidableLeaf
Implements
Inherited Members
Extension Methods

Constructors

AnchoredCollidableLeaf()

Initializes a new instance of the AnchoredCollidableLeaf class.

public AnchoredCollidableLeaf()

AnchoredCollidableLeaf(string, Anchor, ICollidable)

Initializes a new instance of the AnchoredCollidableLeaf class with a name, anchor, and collidable object.

public AnchoredCollidableLeaf(string collidableName, Anchor anchor, ICollidable collidable)

Parameters

collidableName string

The name of the collidable object.

anchor Anchor

The anchor for the collidable object.

collidable ICollidable

The collidable object.

Properties

Anchor

Gets or sets the anchor for this collidable leaf.

public Anchor Anchor { get; set; }

Property Value

Anchor

Collidable

Gets or sets the collidable object.

public ICollidable Collidable { get; set; }

Property Value

ICollidable

CollidableName

Gets or sets the name of the collidable object.

public string CollidableName { get; set; }

Property Value

string

CollisionFlag

Gets or sets the collision flag indicating the collision status of this collidable object.

public CollisionFlag CollisionFlag { get; set; }

Property Value

CollisionFlag

Methods

GetAnchoredCollidableNode()

Gets the anchored collidable node associated with this object.

public IAnchoredCollidableNode GetAnchoredCollidableNode()

Returns

IAnchoredCollidableNode

The anchored collidable node.

GetCollidable()

public ICollidable GetCollidable()

Returns

ICollidable

The collidable object.

GetCollidableAnchor()

Gets the anchor associated with this collidable leaf.

public Anchor GetCollidableAnchor()

Returns

Anchor

The anchor for this collidable leaf.

GetCollidee()

Get ICollidee.

public ICollidee GetCollidee()

Returns

ICollidee

ICollidee

GetRootAnchor()

public Anchor GetRootAnchor()

Returns

Anchor