Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    GearConstraint Class

    Namespace: Stride.Physics
    Assembly: Stride.Physics.dll
    System.Object → Constraint → GearConstraint
    Derived from GearConstraint:

    public class GearConstraint : Constraint, IDisposable, IRelative
    Name Description
    Properties
    AxisA

    Gets or sets the axis a.

    AxisB

    Gets or sets the axis b.

    Ratio

    Gets or sets the ratio.

    | Improve this Doc View Source

    Properties


    AxisA

    Gets or sets the axis a.

    public Vector3 AxisA { get; set; }
    Property Value
    Type Description
    Vector3

    The axis a.


    AxisB

    Gets or sets the axis b.

    public Vector3 AxisB { get; set; }
    Property Value
    Type Description
    Vector3

    The axis b.


    Ratio

    Gets or sets the ratio.

    public float Ratio { get; set; }
    Property Value
    Type Description
    System.Single

    The ratio.


    Inherited Members

    Constraint.Dispose()
    Constraint.RigidBodyA
    Constraint.RigidBodyB
    Constraint.Enabled
    Constraint.BreakingImpulseThreshold
    Constraint.AppliedImpulse
    Constraint.Simulation

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation