Class RotaryLimitJoint
Definition
- Assembly:
- Tizen.NUI.Physics2D.dll
RotaryLimitJoint constrains the relative rotations of two bodies.
public class RotaryLimitJoint : Constraint
- Inheritance
Constructors
View SourceRotaryLimitJoint(Body, Body, double, double)
Constrains the relative rotations of two bodies.
Declaration
public RotaryLimitJoint(Body bodyA, Body bodyB, double mininum, double maximum)
Parameters
| Type | Name | Description |
|---|---|---|
| Body | bodyA | |
| Body | bodyB | |
| double | mininum | The minimum angular limit in radians. May be greater than 1 backwards revolution. |
| double | maximum | The maximum angular limit in radians. May be greater than 1 revolution. |
Properties
View SourceMaximum
The maximum distance the joint will maintain between the two anchors.
Declaration
public double Maximum { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Minimum
The minimum distance the joint will maintain between the two anchors.
Declaration
public double Minimum { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Methods
View SourceIsRotaryLimitJoint(Constraint)
Check if a constraint is a RotaryLimitJoint.
Declaration
public static bool IsRotaryLimitJoint(Constraint constraint)
Parameters
| Type | Name | Description |
|---|---|---|
| Constraint | constraint |
Returns
| Type | Description |
|---|---|
| bool |