Urho.Urho2D.CollisionChain2D Class

2D chain collision component.

See Also: CollisionChain2D


public class CollisionChain2D : CollisionShape2D


The chain shape provides an efficient way to connect many edges together to construct your static game worlds. You can connect chains together using ghost vertices. Self-intersection of chain shapes is not supported.


Namespace: Urho.Urho2D
Assembly: Urho (in Urho.dll)
Assembly Versions:

The members of Urho.Urho2D.CollisionChain2D are listed below.

See Also: CollisionShape2D

Public Constructors

Constructs a new instance of Urho.Urho2D.CollisionChain2D which is tied to the Application.CurrentContext.
Constructs a new instance of Urho.Urho2D.CollisionChain2D, given a raw pointer to an unmanaged object
Constructs a new instance of Urho.Urho2D.CollisionChain2D linked to a specific Context.

Protected Constructors

Empty constructor, chain to this constructor when you provide your own constructor that sets the handle field.

Public Properties

LoopBoolean. Return loop. Or Set loop.
TypeStringHash. Urho's type system type.
TypeNameString. Urho's low-level type name.
TypeNameStaticString. Urho's low-level type name, accessible as a static method.
TypeStaticStringHash. Urho's low-level type, accessible as a static method.
VertexCountUInt32. Return vertex count. Or Set vertex count.

Public Methods

GetVertex(UInt32) : Vector2
Return vertex.
Register object factory.
SetVertex(UInt32, Vector2)
Set vertex.