Table of Contents

Class FuncAnchoredCollidable

Namespace
Hi.Collision
Assembly
HiMech.dll

Represents a function-based implementation of an anchored collidable object.

public class FuncAnchoredCollidable : IAnchoredCollidableBased
Inheritance
FuncAnchoredCollidable
Implements
Inherited Members
Extension Methods

Constructors

FuncAnchoredCollidable(string, Func<IAnchoredCollidableNode>)

Initializes a new instance of the FuncAnchoredCollidable class with a name and a function to get the anchored collidable node.

public FuncAnchoredCollidable(string collidableName, Func<IAnchoredCollidableNode> getAnchoredCollidableNodeFunc)

Parameters

collidableName string

The name of the collidable object.

getAnchoredCollidableNodeFunc Func<IAnchoredCollidableNode>

The function to get the anchored collidable node.

Properties

CollidableName

Gets 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

GetAnchoredCollidableNodeFunc

Gets or sets the function to get the anchored collidable node.

public Func<IAnchoredCollidableNode> GetAnchoredCollidableNodeFunc { get; set; }

Property Value

Func<IAnchoredCollidableNode>

Methods

GetAnchoredCollidableNode()

Gets the anchored collidable node associated with this object.

public IAnchoredCollidableNode GetAnchoredCollidableNode()

Returns

IAnchoredCollidableNode

The anchored collidable node.