Urho.Urho2D.ConstraintPrismatic2D Class

2D prismatic constraint component.

See Also: ConstraintPrismatic2D

Syntax

public class ConstraintPrismatic2D : Constraint2D

Remarks

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.

Requirements

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

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.
[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.
UpperTranslationSingle. Return upper translation. Or Set upper translation.

Public Methods

static
RegisterObject(Context)
Register object factory.