Class SimpleMotor

    Definition

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

    SimpleMotor keeps the relative angular velocity constant.

    public class SimpleMotor : Constraint
    Inheritance
    object
    Constraint
    SimpleMotor

    Constructors

    View Source

    SimpleMotor(Body, Body, double)

    Rotate with a constant relative angular velocity constant between two bodies.

    Declaration
    public SimpleMotor(Body bodyA, Body bodyB, double rate)
    Parameters
    Type Name Description
    Body bodyA

    One of the two bodies.

    Body bodyB

    One of the two bodies.

    double rate

    The rate of rotation.

    Properties

    View Source

    Rate

    The rate of the motor.

    Declaration
    public double Rate { get; set; }
    Property Value
    Type Description
    double

    Methods

    View Source

    IsSimpleMotor(Constraint)

    Check if constraint is a SimpleMotor.

    Declaration
    public static bool IsSimpleMotor(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