Urho.Urho2D.CollisionChain2D Class

2D chain collision component.

See Also: CollisionChain2D

Syntax

public class CollisionChain2D : CollisionShape2D

Remarks

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.

Requirements

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

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.
[read-only]
override
TypeStringHash. Urho's type system type.
[read-only]
override
TypeNameString. Urho's low-level type name.
[read-only]
static
TypeNameStaticString. Urho's low-level type name, accessible as a static method.
[read-only]
static
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.
static
RegisterObject(Context)
Register object factory.
SetVertex(UInt32, Vector2)
Set vertex.