Urho.Urho2D.ConstraintGear2D Class

2D gear constraint component.

See Also: ConstraintGear2D

Syntax

public class ConstraintGear2D : Constraint2D

Remarks

Used to create sophisticated mechanisms and saves from using compound shapes. 

This constraint can only connect ConstraintRevolute2D and/or ConstraintPrismatic2D.

Like the pulley ratio, you can specify a gear ratio. However, in this case the gear ratio can be negative.

Requirements

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

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

See Also: Constraint2D

Public Constructors

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

OtherConstraintConstraint2D. Return other constraint. Or Set other constraint.
OwnerConstraintConstraint2D. Return owner constraint. Or Set owner constraint.
RatioSingle. Return ratio. Or Set ratio.
[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.