Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    SliderConstraint Class

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

    public class SliderConstraint : Constraint, IDisposable, IRelative
    Name Description
    Properties
    AngularDepth

    Gets the angular depth.

    AngularPosition

    Gets the angular position.

    DampingDirAngular

    Gets or sets the damping dir angular.

    DampingDirLinear

    Gets or sets the damping dir linear.

    DampingLimAngular

    Gets or sets the damping lim angular.

    DampingLimLinear

    Gets or sets the damping lim linear.

    DampingOrthoAngular

    Gets or sets the damping ortho angular.

    DampingOrthoLinear

    Gets or sets the damping ortho linear.

    LinearDepth

    Gets the linear depth.

    LinearPosition

    Gets the linear position.

    LowerAngularLimit

    Gets or sets the lower angular limit.

    LowerLinearLimit

    Gets or sets the lower linear limit.

    MaxAngMotorForce

    Gets or sets the maximum ang motor force.

    MaxLinearMotorForce

    Gets or sets the maximum linear motor force.

    PoweredAngularMotor

    Gets or sets a value indicating whether [powered angular motor].

    PoweredLinearMotor

    Gets or sets a value indicating whether [powered linear motor].

    RestitutionDirAngular

    Gets or sets the restitution dir angular.

    RestitutionDirLinear

    Gets or sets the restitution dir linear.

    RestitutionLimAngular

    Gets or sets the restitution lim angular.

    RestitutionLimLinear

    Gets or sets the restitution lim linear.

    RestitutionOrthoAngular

    Gets or sets the restitution ortho angular.

    RestitutionOrthoLinear

    Gets or sets the restitution ortho linear.

    SoftnessDirAngular

    Gets or sets the softness dir angular.

    SoftnessDirLinear

    Gets or sets the softness dir linear.

    SoftnessLimAngular

    Gets or sets the softness lim angular.

    SoftnessLimLinear

    Gets or sets the softness lim linear.

    SoftnessOrthoAngular

    Gets or sets the softness ortho angular.

    SoftnessOrthoLinear

    Gets or sets the softness ortho linear.

    SolveAngularLimit

    Gets a value indicating whether [solve angular limit].

    SolveLinearLimit

    Gets a value indicating whether [solve linear limit].

    TargetAngularMotorVelocity

    Gets or sets the target angular motor velocity.

    TargetLinearMotorVelocity

    Gets or sets the target linear motor velocity.

    UpperAngularLimit

    Gets or sets the upper angular limit.

    UpperLinearLimit

    Gets or sets the upper linear limit.

    Methods
    SetFrames(Matrix, Matrix)

    Sets the frames.

    | Improve this Doc View Source

    Properties


    AngularDepth

    Gets the angular depth.

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

    The angular depth.


    AngularPosition

    Gets the angular position.

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

    The angular position.


    DampingDirAngular

    Gets or sets the damping dir angular.

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

    The damping dir angular.


    DampingDirLinear

    Gets or sets the damping dir linear.

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

    The damping dir linear.


    DampingLimAngular

    Gets or sets the damping lim angular.

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

    The damping lim angular.


    DampingLimLinear

    Gets or sets the damping lim linear.

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

    The damping lim linear.


    DampingOrthoAngular

    Gets or sets the damping ortho angular.

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

    The damping ortho angular.


    DampingOrthoLinear

    Gets or sets the damping ortho linear.

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

    The damping ortho linear.


    LinearDepth

    Gets the linear depth.

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

    The linear depth.


    LinearPosition

    Gets the linear position.

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

    The linear position.


    LowerAngularLimit

    Gets or sets the lower angular limit.

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

    The lower angular limit.


    LowerLinearLimit

    Gets or sets the lower linear limit.

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

    The lower linear limit.


    MaxAngMotorForce

    Gets or sets the maximum ang motor force.

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

    The maximum ang motor force.


    MaxLinearMotorForce

    Gets or sets the maximum linear motor force.

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

    The maximum linear motor force.


    PoweredAngularMotor

    Gets or sets a value indicating whether [powered angular motor].

    public bool PoweredAngularMotor { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if [powered angular motor]; otherwise, false.


    PoweredLinearMotor

    Gets or sets a value indicating whether [powered linear motor].

    public bool PoweredLinearMotor { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if [powered linear motor]; otherwise, false.


    RestitutionDirAngular

    Gets or sets the restitution dir angular.

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

    The restitution dir angular.


    RestitutionDirLinear

    Gets or sets the restitution dir linear.

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

    The restitution dir linear.


    RestitutionLimAngular

    Gets or sets the restitution lim angular.

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

    The restitution lim angular.


    RestitutionLimLinear

    Gets or sets the restitution lim linear.

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

    The restitution lim linear.


    RestitutionOrthoAngular

    Gets or sets the restitution ortho angular.

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

    The restitution ortho angular.


    RestitutionOrthoLinear

    Gets or sets the restitution ortho linear.

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

    The restitution ortho linear.


    SoftnessDirAngular

    Gets or sets the softness dir angular.

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

    The softness dir angular.


    SoftnessDirLinear

    Gets or sets the softness dir linear.

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

    The softness dir linear.


    SoftnessLimAngular

    Gets or sets the softness lim angular.

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

    The softness lim angular.


    SoftnessLimLinear

    Gets or sets the softness lim linear.

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

    The softness lim linear.


    SoftnessOrthoAngular

    Gets or sets the softness ortho angular.

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

    The softness ortho angular.


    SoftnessOrthoLinear

    Gets or sets the softness ortho linear.

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

    The softness ortho linear.


    SolveAngularLimit

    Gets a value indicating whether [solve angular limit].

    public bool SolveAngularLimit { get; }
    Property Value
    Type Description
    System.Boolean

    true if [solve angular limit]; otherwise, false.


    SolveLinearLimit

    Gets a value indicating whether [solve linear limit].

    public bool SolveLinearLimit { get; }
    Property Value
    Type Description
    System.Boolean

    true if [solve linear limit]; otherwise, false.


    TargetAngularMotorVelocity

    Gets or sets the target angular motor velocity.

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

    The target angular motor velocity.


    TargetLinearMotorVelocity

    Gets or sets the target linear motor velocity.

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

    The target linear motor velocity.


    UpperAngularLimit

    Gets or sets the upper angular limit.

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

    The upper angular limit.


    UpperLinearLimit

    Gets or sets the upper linear limit.

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

    The upper linear limit.

    | Improve this Doc View Source

    Methods


    SetFrames(Matrix, Matrix)

    Sets the frames.

    public void SetFrames(Matrix frameA, Matrix frameB)
    Parameters
    Type Name Description
    Matrix frameA

    The frame a.

    Matrix frameB

    The frame b.


    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