Interface ISliderJoint3D
Interface for a Slider 3D joint physics.
Inherited Members
Namespace: Evergine.Framework.Physics3D
Assembly: Evergine.Framework.dll
Syntax
public interface ISliderJoint3D : IJoint3D, IDisposable
Properties
AncorInA
Gets the ancor in A.
Declaration
Vector3 AncorInA { get; }
Property Value
Type | Description |
---|---|
Vector3 |
AncorInB
Gets the ancor in B.
Declaration
Vector3 AncorInB { get; }
Property Value
Type | Description |
---|---|
Vector3 |
AngularDepth
Gets the angular depth.
Declaration
float AngularDepth { get; }
Property Value
Type | Description |
---|---|
float |
AngularPosition
Gets the angular position.
Declaration
float AngularPosition { get; }
Property Value
Type | Description |
---|---|
float |
CalculatedTransformA
Gets the calculated transform in A.
Declaration
Matrix4x4 CalculatedTransformA { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
CalculatedTransformB
Gets the calculated transform in B.
Declaration
Matrix4x4 CalculatedTransformB { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
DampingDirAngular
Gets or sets the damping direction angular.
Declaration
float DampingDirAngular { get; set; }
Property Value
Type | Description |
---|---|
float |
DampingDirLinear
Gets or sets the linear damping dir.
Declaration
float DampingDirLinear { get; set; }
Property Value
Type | Description |
---|---|
float |
DampingLimAngular
Gets or sets the angular damping lim.
Declaration
float DampingLimAngular { get; set; }
Property Value
Type | Description |
---|---|
float |
DampingLimLinear
Gets or sets the linear damping lim.
Declaration
float DampingLimLinear { get; set; }
Property Value
Type | Description |
---|---|
float |
DampingOrthoAngular
Gets or sets the angular damping ortho.
Declaration
float DampingOrthoAngular { get; set; }
Property Value
Type | Description |
---|---|
float |
DampingOrthoLinear
Gets or sets the linear damping ortho.
Declaration
float DampingOrthoLinear { get; set; }
Property Value
Type | Description |
---|---|
float |
EnableAngularMotor
Gets or sets a value indicating whether the motor is enabled.
Declaration
bool EnableAngularMotor { get; set; }
Property Value
Type | Description |
---|---|
bool |
EnableFrameOffset
Gets or sets a value indicating whether this joint use frame offsets.
Declaration
bool EnableFrameOffset { get; set; }
Property Value
Type | Description |
---|---|
bool |
EnableLinearMotor
Gets or sets a value indicating whether the motor is enabled.
Declaration
bool EnableLinearMotor { get; set; }
Property Value
Type | Description |
---|---|
bool |
FrameOffsetA
Gets the frame offset in A.
Declaration
Matrix4x4 FrameOffsetA { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
FrameOffsetB
Gets the frame offset in B.
Declaration
Matrix4x4 FrameOffsetB { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
LinearDepth
Gets the linear depth.
Declaration
float LinearDepth { get; }
Property Value
Type | Description |
---|---|
float |
LinearPosition
Gets the linear position.
Declaration
float LinearPosition { get; }
Property Value
Type | Description |
---|---|
float |
LowerAngularLimit
Gets or sets the Lower angular limit.
Declaration
float LowerAngularLimit { get; set; }
Property Value
Type | Description |
---|---|
float |
LowerLinearLimit
Gets or sets the Lower linear limit.
Declaration
float LowerLinearLimit { get; set; }
Property Value
Type | Description |
---|---|
float |
MaxAngularMotorForce
Gets or sets and sets maximum motor impulse.
Declaration
float MaxAngularMotorForce { get; set; }
Property Value
Type | Description |
---|---|
float |
MaxLinearMotorForce
Gets or sets and sets maximum motor impulse.
Declaration
float MaxLinearMotorForce { get; set; }
Property Value
Type | Description |
---|---|
float |
RestitutionDirAngular
Gets or sets the Restitution direction angular.
Declaration
float RestitutionDirAngular { get; set; }
Property Value
Type | Description |
---|---|
float |
RestitutionDirLinear
Gets or sets the linear Restitution dir.
Declaration
float RestitutionDirLinear { get; set; }
Property Value
Type | Description |
---|---|
float |
RestitutionLimAngular
Gets or sets the angular Restitution lim.
Declaration
float RestitutionLimAngular { get; set; }
Property Value
Type | Description |
---|---|
float |
RestitutionLimLinear
Gets or sets the linear Restitution lim.
Declaration
float RestitutionLimLinear { get; set; }
Property Value
Type | Description |
---|---|
float |
RestitutionOrthoAngular
Gets or sets the angular Restitution ortho.
Declaration
float RestitutionOrthoAngular { get; set; }
Property Value
Type | Description |
---|---|
float |
RestitutionOrthoLinear
Gets or sets the linear Restitution ortho.
Declaration
float RestitutionOrthoLinear { get; set; }
Property Value
Type | Description |
---|---|
float |
SoftnessDirAngular
Gets or sets the Softness direction angular.
Declaration
float SoftnessDirAngular { get; set; }
Property Value
Type | Description |
---|---|
float |
SoftnessDirLinear
Gets or sets the linear Softness dir.
Declaration
float SoftnessDirLinear { get; set; }
Property Value
Type | Description |
---|---|
float |
SoftnessLimAngular
Gets or sets the angular Softness lim.
Declaration
float SoftnessLimAngular { get; set; }
Property Value
Type | Description |
---|---|
float |
SoftnessLimLinear
Gets or sets the linear Softness lim.
Declaration
float SoftnessLimLinear { get; set; }
Property Value
Type | Description |
---|---|
float |
SoftnessOrthoAngular
Gets or sets the angular Softness ortho.
Declaration
float SoftnessOrthoAngular { get; set; }
Property Value
Type | Description |
---|---|
float |
SoftnessOrthoLinear
Gets or sets the linear Softness ortho.
Declaration
float SoftnessOrthoLinear { get; set; }
Property Value
Type | Description |
---|---|
float |
TargetAngularMotorVelocity
Gets or sets the max motor target velocity.
Declaration
float TargetAngularMotorVelocity { get; set; }
Property Value
Type | Description |
---|---|
float |
TargetLinearMotorVelocity
Gets or sets the max motor target velocity.
Declaration
float TargetLinearMotorVelocity { get; set; }
Property Value
Type | Description |
---|---|
float |
UpperAngularLimit
Gets or sets the Upper angular limit.
Declaration
float UpperAngularLimit { get; set; }
Property Value
Type | Description |
---|---|
float |
UpperLinearLimit
Gets or sets the Upper linear limit.
Declaration
float UpperLinearLimit { get; set; }
Property Value
Type | Description |
---|---|
float |
UseAngularLimit
Gets a value indicating whether Use angular limit.
Declaration
bool UseAngularLimit { get; }
Property Value
Type | Description |
---|---|
bool |
UseLinearLimit
Gets a value indicating whether Use angular limit.
Declaration
bool UseLinearLimit { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
CalculateTransforms(Matrix4x4, Matrix4x4)
Calculate the trasnform.
Declaration
void CalculateTransforms(Matrix4x4 transA, Matrix4x4 transB)
Parameters
Type | Name | Description |
---|---|---|
Matrix4x4 | transA | Transform for A. |
Matrix4x4 | transB | Transform for B. |
SetFrames(Matrix4x4, Matrix4x4)
Set frames.
Declaration
void SetFrames(Matrix4x4 frameA, Matrix4x4 frameB)
Parameters
Type | Name | Description |
---|---|---|
Matrix4x4 | frameA | The frame A. |
Matrix4x4 | frameB | The frame B. |