Search Results for

    Show / Hide Table of Contents

    Class SliderJoint3D

    This class represents a 3D physics joint and connects two entities together. All joints restrict some degrees of freedom, seeking a specific configuration.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    PrefabInstanceObject
    Component
    Joint3D<ISliderJoint3D, SliderJointDef3D>
    SliderJoint3D
    Implements
    IDependencyObject
    Inherited Members
    Joint3D<ISliderJoint3D, SliderJointDef3D>.breakpoint
    Joint3D<ISliderJoint3D, SliderJointDef3D>.joint
    Joint3D<ISliderJoint3D, SliderJointDef3D>.OnBroke
    Joint3D<ISliderJoint3D, SliderJointDef3D>.rigidBody
    Joint3D<ISliderJoint3D, SliderJointDef3D>.transform3D
    Joint3D<ISliderJoint3D, SliderJointDef3D>.connectedBody
    Joint3D<ISliderJoint3D, SliderJointDef3D>.isActive
    Joint3D<ISliderJoint3D, SliderJointDef3D>.BreakPoint
    Joint3D<ISliderJoint3D, SliderJointDef3D>.DebugDrawSize
    Joint3D<ISliderJoint3D, SliderJointDef3D>.ConnectedEntityPath
    Joint3D<ISliderJoint3D, SliderJointDef3D>.CollideConnected
    Joint3D<ISliderJoint3D, SliderJointDef3D>.AppliedImpulse
    Joint3D<ISliderJoint3D, SliderJointDef3D>.NeedsFeedback
    Joint3D<ISliderJoint3D, SliderJointDef3D>.JointFeedback
    Joint3D<ISliderJoint3D, SliderJointDef3D>.OverrideNumSolverIterations
    Joint3D<ISliderJoint3D, SliderJointDef3D>.OnActivated()
    Joint3D<ISliderJoint3D, SliderJointDef3D>.Start()
    Joint3D<ISliderJoint3D, SliderJointDef3D>.OnDeactivated()
    Joint3D<ISliderJoint3D, SliderJointDef3D>.OnDetach()
    Joint3D<ISliderJoint3D, SliderJointDef3D>.BodyAChanged()
    Joint3D<ISliderJoint3D, SliderJointDef3D>.BodyBChanged()
    Joint3D<ISliderJoint3D, SliderJointDef3D>.Dispose()
    Joint3D<ISliderJoint3D, SliderJointDef3D>.RefreshJointValue<V>(ref V, V)
    Joint3D<ISliderJoint3D, SliderJointDef3D>.CreateJoint(SliderJointDef3D)
    Joint3D<ISliderJoint3D, SliderJointDef3D>.RefreshJoint()
    Joint3D<ISliderJoint3D, SliderJointDef3D>.InitJoint()
    Joint3D<ISliderJoint3D, SliderJointDef3D>.RemoveConnectedEntity()
    Joint3D<ISliderJoint3D, SliderJointDef3D>.CreateConnectedEntity()
    Joint3D<ISliderJoint3D, SliderJointDef3D>.FillJointDef(SliderJointDef3D)
    Joint3D<ISliderJoint3D, SliderJointDef3D>.GetFrameZ(ref Vector3, ref Vector3, out Matrix4x4)
    Joint3D<ISliderJoint3D, SliderJointDef3D>.GetFrameX(ref Vector3, ref Vector3, out Matrix4x4)
    Component.Owner
    Component.Managers
    Component.ShouldBeActivated
    Component.Clone()
    Component.Attach(Entity)
    Component.OnLoaded()
    Component.OnAttached()
    Component.OnActivated()
    Component.Start()
    Component.OnDeactivated()
    Component.OnDetach()
    Component.OnDestroy()
    PrefabInstanceObject.PrefabSource
    PrefabInstanceObject.RefreshPrefab(Prefab)
    PrefabInstanceObject.PrefabElementId
    PrefabInstanceObject.IsPrefabInstance
    PrefabInstanceObject.IsMissingPrefabSource
    AttachableObject.AttachableStateChanged
    AttachableObject.IsEnabled
    AttachableObject.State
    AttachableObject.IsLoaded
    AttachableObject.IsAttached
    AttachableObject.IsActivated
    AttachableObject.IsStarted
    AttachableObject.IsDestroyed
    AttachableObject.Destroy()
    AttachableObject.DependencyBroken()
    DependencyObject.Dependencies
    DependencyObject.OnDependencyRemoved
    IdentifiableObject.Id
    IdentifiableObject.IdHasChanged(Guid)
    Namespace: Evergine.Framework.Physics3D
    Assembly: Evergine.Framework.dll
    Syntax
    public class SliderJoint3D : Joint3D<ISliderJoint3D, SliderJointDef3D>, IDependencyObject

    Constructors

    SliderJoint3D()

    Initializes a new instance of the SliderJoint3D class.

    Declaration
    public SliderJoint3D()

    Properties

    Anchor

    Gets or sets the local anchor point relative to the origin of bodyA.

    Declaration
    public Vector3 Anchor { get; set; }
    Property Value
    Type Description
    Vector3

    AutoConfigureConnected

    Gets or sets a value indicating whether the condition is met.

    Declaration
    [RenderProperty(Tag = 1)]
    public bool AutoConfigureConnected { get; set; }
    Property Value
    Type Description
    bool

    Axis

    Gets or sets the hinge axis.

    Declaration
    public Vector3 Axis { get; set; }
    Property Value
    Type Description
    Vector3

    ConnectedAnchor

    Gets or sets the local anchor point relative to body A's origin.

    Declaration
    [RenderProperty(AttachToTag = 1, AttachToValue = false)]
    public Vector3 ConnectedAnchor { get; set; }
    Property Value
    Type Description
    Vector3

    ConnectedAxis

    Gets or sets the local anchor point relative to the origin of bodyA.

    Declaration
    [RenderProperty(AttachToTag = 1, AttachToValue = false)]
    public Vector3 ConnectedAxis { get; set; }
    Property Value
    Type Description
    Vector3

    LowerAngularLimit

    Gets or sets the lower linear limit.

    Declaration
    [RenderProperty(AttachToTag = 3, AttachToValue = true, ConverterType = typeof(FloatRadianToDegreeConverter))]
    public float LowerAngularLimit { get; set; }
    Property Value
    Type Description
    float

    LowerLinearLimit

    Gets or sets the lower linear limit.

    Declaration
    [RenderProperty(AttachToTag = 2, AttachToValue = true)]
    public float LowerLinearLimit { get; set; }
    Property Value
    Type Description
    float

    MaxAngularMotorForce

    Gets or sets the lower angular limit.

    Declaration
    [RenderProperty(AttachToTag = 5, AttachToValue = true)]
    public float MaxAngularMotorForce { get; set; }
    Property Value
    Type Description
    float

    MaxLinearMotorForce

    Gets or sets the lower linear limit.

    Declaration
    [RenderProperty(AttachToTag = 4, AttachToValue = true)]
    public float MaxLinearMotorForce { get; set; }
    Property Value
    Type Description
    float

    TargetAngularMotorVelocity

    Gets or sets the upper angular limit.

    Declaration
    [RenderProperty(AttachToTag = 5, AttachToValue = true)]
    public float TargetAngularMotorVelocity { get; set; }
    Property Value
    Type Description
    float

    TargetLinearMotorVelocity

    Gets or sets the upper linear limit.

    Declaration
    [RenderProperty(AttachToTag = 4, AttachToValue = true)]
    public float TargetLinearMotorVelocity { get; set; }
    Property Value
    Type Description
    float

    UpperAngularLimit

    Gets or sets the upper linear limit.

    Declaration
    [RenderProperty(AttachToTag = 3, AttachToValue = true, ConverterType = typeof(FloatRadianToDegreeConverter))]
    public float UpperAngularLimit { get; set; }
    Property Value
    Type Description
    float

    UpperLinearLimit

    Gets or sets the upper linear limit.

    Declaration
    [RenderProperty(AttachToTag = 2, AttachToValue = true)]
    public float UpperLinearLimit { get; set; }
    Property Value
    Type Description
    float

    UseAngularLimit

    Gets or sets a value indicating whether to use the angular limit.

    Declaration
    [RenderProperty(Tag = 3)]
    public bool UseAngularLimit { get; set; }
    Property Value
    Type Description
    bool

    UseAngularMotor

    Gets or sets a value indicating whether to use the angular motor.

    Declaration
    [RenderProperty(Tag = 5)]
    public bool UseAngularMotor { get; set; }
    Property Value
    Type Description
    bool

    UseLinearLimit

    Gets or sets a value indicating whether to use the angular limit.

    Declaration
    [RenderProperty(Tag = 2)]
    public bool UseLinearLimit { get; set; }
    Property Value
    Type Description
    bool

    UseLinearMotor

    Gets or sets a value indicating whether to use the linear motor.

    Declaration
    [RenderProperty(Tag = 4)]
    public bool UseLinearMotor { get; set; }
    Property Value
    Type Description
    bool

    Methods

    BodyAChanged()

    Body A has been changed.

    Declaration
    protected override void BodyAChanged()
    Overrides
    Joint3D<ISliderJoint3D, SliderJointDef3D>.BodyAChanged()

    BodyBChanged()

    Body B has been changed.

    Declaration
    protected override void BodyBChanged()
    Overrides
    Joint3D<ISliderJoint3D, SliderJointDef3D>.BodyBChanged()

    FillJointDef(SliderJointDef3D)

    Fills joint definition values.

    Declaration
    protected override bool FillJointDef(SliderJointDef3D jointDef)
    Parameters
    Type Name Description
    SliderJointDef3D jointDef

    The generated joint values.

    Returns
    Type Description
    bool

    The result.

    Overrides
    Joint3D<ISliderJoint3D, SliderJointDef3D>.FillJointDef(SliderJointDef3D)

    InitJoint()

    Initializes the joint.

    Declaration
    protected override void InitJoint()
    Overrides
    Joint3D<ISliderJoint3D, SliderJointDef3D>.InitJoint()

    Implements

    IDependencyObject

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX