Class RotaryLimitJoint

    Definition

    Namespace:
    Tizen.NUI.Physics2D.Chipmunk
    Assembly:
    Tizen.NUI.Physics2D.dll

    RotaryLimitJoint constrains the relative rotations of two bodies.

    public class RotaryLimitJoint : Constraint
    Inheritance
    object
    Constraint
    RotaryLimitJoint

    Constructors

    View Source

    RotaryLimitJoint(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 Source

    Maximum

    The maximum distance the joint will maintain between the two anchors.

    Declaration
    public double Maximum { get; set; }
    Property Value
    Type Description
    double
    View Source

    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 Source

    IsRotaryLimitJoint(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

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX