Urho.Urho2D.ConstraintWheel2D Class
2D wheel constraint component.
See Also: ConstraintWheel2D
Syntax
public class ConstraintWheel2D : Constraint2D
Remarks
This constraint restricts a point on bodyB Anchoe to a line on bodyA ConstraintWheel2D.Axis.
It also provides a suspension spring.
Requirements
Namespace: Urho.Urho2D
Assembly: Urho (in Urho.dll)
Assembly Versions: 1.0.0.0
Assembly: Urho (in Urho.dll)
Assembly Versions: 1.0.0.0
The members of Urho.Urho2D.ConstraintWheel2D are listed below.
See Also: Constraint2D
Public Constructors
Constructs a new instance of Urho.Urho2D.ConstraintWheel2D which is tied to the Application.CurrentContext. | ||
Constructs a new instance of Urho.Urho2D.ConstraintWheel2D, given a raw pointer to an unmanaged object | ||
Constructs a new instance of Urho.Urho2D.ConstraintWheel2D 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
Anchor | Vector2. Return anchor. Or Set anchor. | |
Axis | Vector2. Return axis. Or Set axis. | |
DampingRatio | Single. Return damping ratio. Or Set damping ratio. | |
EnableMotor | Boolean. Return enable motor. Or Set enable motor. | |
FrequencyHz | Single. Return frequency Hz. Or Set frequency Hz. | |
MaxMotorTorque | Single. Return maxMotor torque. Or Set max motor torque. | |
MotorSpeed | Single. Return motor speed. Or Set motor speed. | |
[read-only] override | Type | StringHash. Urho's type system type. |
[read-only] override | TypeName | String. Urho's low-level type name. |
[read-only] static | TypeNameStatic | String. Urho's low-level type name, accessible as a static method. |
[read-only] static | TypeStatic | StringHash. Urho's low-level type, accessible as a static method. |
Public Methods
static | RegisterObject(Context)Register object factory. |