Urho.Urho2D.ConstraintPrismatic2D Class

2D prismatic constraint component.

See Also: ConstraintPrismatic2D


public class ConstraintPrismatic2D : Constraint2D


This constraint allows for relative translation of two bodies along a specified axis ConstraintPrismatic2D.Axis. There's no rotation applied. This constraint definition is similar to ConstraintRevolute2D description; just substitute translation for angle and force for torque.


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

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

See Also: Constraint2D

Public Constructors

Constructs a new instance of Urho.Urho2D.ConstraintPrismatic2D which is tied to the Application.CurrentContext.
Constructs a new instance of Urho.Urho2D.ConstraintPrismatic2D, given a raw pointer to an unmanaged object
Constructs a new instance of Urho.Urho2D.ConstraintPrismatic2D 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.
AxisVector2. Return axis. Or Set axis.
EnableLimitBoolean. Return enable limit. Or Set enable limit.
EnableMotorBoolean. Return enable motor. Or Set enable motor.
LowerTranslationSingle. Return lower translation. Or Set lower translation.
MaxMotorForceSingle. Return maxmotor force. Or Set maxmotor force.
MotorSpeedSingle. Return motor speed. Or Set motor speed.
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.
UpperTranslationSingle. Return upper translation. Or Set upper translation.

Public Methods

Register object factory.