Urho.Urho2D.ConstraintRope2D Class

2D rope constraint component.

See Also: ConstraintRope2D


public class ConstraintRope2D : Constraint2D


This constraint restricts the maximum distance ConstraintRope2D.MaxLength between two points ConstraintRope2D.OwnerBodyAnchor and ConstraintRope2D.OtherBodyAnchor. This can be useful to prevent chains of bodies from stretching, even under high load.


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

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

See Also: Constraint2D

Public Constructors

Constructs a new instance of Urho.Urho2D.ConstraintRope2D which is tied to the Application.CurrentContext.
Constructs a new instance of Urho.Urho2D.ConstraintRope2D, given a raw pointer to an unmanaged object
Constructs a new instance of Urho.Urho2D.ConstraintRope2D 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

MaxLengthSingle. Return max length. Or Set max length.
OtherBodyAnchorVector2. Return other body anchor. Or Set other body anchor.
OwnerBodyAnchorVector2. Return owner body anchor. Or Set owner body anchor.
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.

Public Methods

Register object factory.