Urho.Urho2D.ConstraintFriction2D Class

2D friction constraint component.

See Also: ConstraintFriction2D

Syntax

public class ConstraintFriction2D : Constraint2D

Remarks

This constraint is used for top-down friction. It provides 2D translational friction (ConstraintFriction2D.MaxForce) and angular friction (ConstraintFriction2D.MaxTorque).

Requirements

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

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

See Also: Constraint2D

Public Constructors

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

AnchorVector2. Return anchor. Or Set anchor.
MaxForceSingle. Set max force. Or Set max force.
MaxTorqueSingle. Set max torque. Or Set max torque.
[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.

Public Methods

static
RegisterObject(Context)
Register object factory.