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
AnchorThe anchor bound to the collidable.
collidable
ICollidableThe collidable instance.
Properties
Anchor
Gets or sets the anchor associated with the collidable object.
public Anchor Anchor { get; set; }
Property Value
Collidable
Gets or sets the collidable instance.
public ICollidable Collidable { get; set; }
Property Value
Methods
GetAnchor()
Get key anchor. (i.e. root anchor)
public Anchor GetAnchor()
Returns
- Anchor
key anchor
GetCollidable()
Get ICollidable.
public ICollidable GetCollidable()
Returns
- ICollidable
The collidable object.
GetCollidableAnchor()
Gets the anchor associated with the collidable object.
public Anchor GetCollidableAnchor()