C# Class BulletCSharp.btSliderConstraint

Inheritance: IDisposable
显示文件 Open project: sanglin307/BulletUnity3D Class Usage Examples

Protected Properties

Property Type Description
swigCMemOwn bool

Public Methods

Method Description
Dispose ( ) : void
GetSwigPtr ( ) : SWIGTYPE_p_btTypedConstraint
btSliderConstraint ( btRigidBody rbB, SWIGTYPE_p_btTransform frameInB, bool useLinearReferenceFrameA ) : System
btSliderConstraint ( btRigidBody rbA, btRigidBody rbB, SWIGTYPE_p_btTransform frameInA, SWIGTYPE_p_btTransform frameInB, bool useLinearReferenceFrameA ) : System
calculateSerializeBufferSize ( ) : int
calculateTransforms ( SWIGTYPE_p_btTransform transA, SWIGTYPE_p_btTransform transB ) : void
getAncorInA ( ) : SWIGTYPE_p_btVector3
getAncorInB ( ) : SWIGTYPE_p_btVector3
getAngDepth ( ) : float
getAngularPos ( ) : float
getCalculatedTransformA ( ) : SWIGTYPE_p_btTransform
getCalculatedTransformB ( ) : SWIGTYPE_p_btTransform
getDampingDirAng ( ) : float
getDampingDirLin ( ) : float
getDampingLimAng ( ) : float
getDampingLimLin ( ) : float
getDampingOrthoAng ( ) : float
getDampingOrthoLin ( ) : float
getFrameOffsetA ( ) : SWIGTYPE_p_btTransform
getFrameOffsetB ( ) : SWIGTYPE_p_btTransform
getInfo1 ( btConstraintInfo1 info ) : void
getInfo1NonVirtual ( btConstraintInfo1 info ) : void
getInfo2 ( btConstraintInfo2 info ) : void
getInfo2NonVirtual ( btConstraintInfo2 info, SWIGTYPE_p_btTransform transA, SWIGTYPE_p_btTransform transB, SWIGTYPE_p_btVector3 linVelA, SWIGTYPE_p_btVector3 linVelB, float rbAinvMass, float rbBinvMass ) : void
getLinDepth ( ) : float
getLinearPos ( ) : float
getLowerAngLimit ( ) : float
getLowerLinLimit ( ) : float
getMaxAngMotorForce ( ) : float
getMaxLinMotorForce ( ) : float
getParam ( int num ) : float
getParam ( int num, int axis ) : float
getPoweredAngMotor ( ) : bool
getPoweredLinMotor ( ) : bool
getRestitutionDirAng ( ) : float
getRestitutionDirLin ( ) : float
getRestitutionLimAng ( ) : float
getRestitutionLimLin ( ) : float
getRestitutionOrthoAng ( ) : float
getRestitutionOrthoLin ( ) : float
getRigidBodyA ( ) : btRigidBody
getRigidBodyB ( ) : btRigidBody
getSoftnessDirAng ( ) : float
getSoftnessDirLin ( ) : float
getSoftnessLimAng ( ) : float
getSoftnessLimLin ( ) : float
getSoftnessOrthoAng ( ) : float
getSoftnessOrthoLin ( ) : float
getSolveAngLimit ( ) : bool
getSolveLinLimit ( ) : bool
getTargetAngMotorVelocity ( ) : float
getTargetLinMotorVelocity ( ) : float
getUpperAngLimit ( ) : float
getUpperLinLimit ( ) : float
getUseFrameOffset ( ) : bool
getUseLinearReferenceFrameA ( ) : bool
serialize ( SWIGTYPE_p_void dataBuffer, SWIGTYPE_p_btSerializer serializer ) : string
setDampingDirAng ( float dampingDirAng ) : void
setDampingDirLin ( float dampingDirLin ) : void
setDampingLimAng ( float dampingLimAng ) : void
setDampingLimLin ( float dampingLimLin ) : void
setDampingOrthoAng ( float dampingOrthoAng ) : void
setDampingOrthoLin ( float dampingOrthoLin ) : void
setFrames ( SWIGTYPE_p_btTransform frameA, SWIGTYPE_p_btTransform frameB ) : void
setLowerAngLimit ( float lowerLimit ) : void
setLowerLinLimit ( float lowerLimit ) : void
setMaxAngMotorForce ( float maxAngMotorForce ) : void
setMaxLinMotorForce ( float maxLinMotorForce ) : void
setParam ( int num, float value ) : void
setParam ( int num, float value, int axis ) : void
setPoweredAngMotor ( bool onOff ) : void
setPoweredLinMotor ( bool onOff ) : void
setRestitutionDirAng ( float restitutionDirAng ) : void
setRestitutionDirLin ( float restitutionDirLin ) : void
setRestitutionLimAng ( float restitutionLimAng ) : void
setRestitutionLimLin ( float restitutionLimLin ) : void
setRestitutionOrthoAng ( float restitutionOrthoAng ) : void
setRestitutionOrthoLin ( float restitutionOrthoLin ) : void
setSoftnessDirAng ( float softnessDirAng ) : void
setSoftnessDirLin ( float softnessDirLin ) : void
setSoftnessLimAng ( float softnessLimAng ) : void
setSoftnessLimLin ( float softnessLimLin ) : void
setSoftnessOrthoAng ( float softnessOrthoAng ) : void
setSoftnessOrthoLin ( float softnessOrthoLin ) : void
setTargetAngMotorVelocity ( float targetAngMotorVelocity ) : void
setTargetLinMotorVelocity ( float targetLinMotorVelocity ) : void
setUpperAngLimit ( float upperLimit ) : void
setUpperLinLimit ( float upperLimit ) : void
setUseFrameOffset ( bool frameOffsetOnOff ) : void
testAngLimits ( ) : void
testLinLimits ( ) : void

Private Methods

Method Description
btSliderConstraint ( IntPtr cPtr, bool cMemoryOwn ) : System
getCPtr ( btSliderConstraint obj ) : HandleRef

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetSwigPtr() public method

public GetSwigPtr ( ) : SWIGTYPE_p_btTypedConstraint
return SWIGTYPE_p_btTypedConstraint

btSliderConstraint() public method

public btSliderConstraint ( btRigidBody rbB, SWIGTYPE_p_btTransform frameInB, bool useLinearReferenceFrameA ) : System
rbB btRigidBody
frameInB SWIGTYPE_p_btTransform
useLinearReferenceFrameA bool
return System

btSliderConstraint() public method

public btSliderConstraint ( btRigidBody rbA, btRigidBody rbB, SWIGTYPE_p_btTransform frameInA, SWIGTYPE_p_btTransform frameInB, bool useLinearReferenceFrameA ) : System
rbA btRigidBody
rbB btRigidBody
frameInA SWIGTYPE_p_btTransform
frameInB SWIGTYPE_p_btTransform
useLinearReferenceFrameA bool
return System

calculateSerializeBufferSize() public method

public calculateSerializeBufferSize ( ) : int
return int

calculateTransforms() public method

public calculateTransforms ( SWIGTYPE_p_btTransform transA, SWIGTYPE_p_btTransform transB ) : void
transA SWIGTYPE_p_btTransform
transB SWIGTYPE_p_btTransform
return void

getAncorInA() public method

public getAncorInA ( ) : SWIGTYPE_p_btVector3
return SWIGTYPE_p_btVector3

getAncorInB() public method

public getAncorInB ( ) : SWIGTYPE_p_btVector3
return SWIGTYPE_p_btVector3

getAngDepth() public method

public getAngDepth ( ) : float
return float

getAngularPos() public method

public getAngularPos ( ) : float
return float

getCalculatedTransformA() public method

public getCalculatedTransformA ( ) : SWIGTYPE_p_btTransform
return SWIGTYPE_p_btTransform

getCalculatedTransformB() public method

public getCalculatedTransformB ( ) : SWIGTYPE_p_btTransform
return SWIGTYPE_p_btTransform

getDampingDirAng() public method

public getDampingDirAng ( ) : float
return float

getDampingDirLin() public method

public getDampingDirLin ( ) : float
return float

getDampingLimAng() public method

public getDampingLimAng ( ) : float
return float

getDampingLimLin() public method

public getDampingLimLin ( ) : float
return float

getDampingOrthoAng() public method

public getDampingOrthoAng ( ) : float
return float

getDampingOrthoLin() public method

public getDampingOrthoLin ( ) : float
return float

getFrameOffsetA() public method

public getFrameOffsetA ( ) : SWIGTYPE_p_btTransform
return SWIGTYPE_p_btTransform

getFrameOffsetB() public method

public getFrameOffsetB ( ) : SWIGTYPE_p_btTransform
return SWIGTYPE_p_btTransform

getInfo1() public method

public getInfo1 ( btConstraintInfo1 info ) : void
info btConstraintInfo1
return void

getInfo1NonVirtual() public method

public getInfo1NonVirtual ( btConstraintInfo1 info ) : void
info btConstraintInfo1
return void

getInfo2() public method

public getInfo2 ( btConstraintInfo2 info ) : void
info btConstraintInfo2
return void

getInfo2NonVirtual() public method

public getInfo2NonVirtual ( btConstraintInfo2 info, SWIGTYPE_p_btTransform transA, SWIGTYPE_p_btTransform transB, SWIGTYPE_p_btVector3 linVelA, SWIGTYPE_p_btVector3 linVelB, float rbAinvMass, float rbBinvMass ) : void
info btConstraintInfo2
transA SWIGTYPE_p_btTransform
transB SWIGTYPE_p_btTransform
linVelA SWIGTYPE_p_btVector3
linVelB SWIGTYPE_p_btVector3
rbAinvMass float
rbBinvMass float
return void

getLinDepth() public method

public getLinDepth ( ) : float
return float

getLinearPos() public method

public getLinearPos ( ) : float
return float

getLowerAngLimit() public method

public getLowerAngLimit ( ) : float
return float

getLowerLinLimit() public method

public getLowerLinLimit ( ) : float
return float

getMaxAngMotorForce() public method

public getMaxAngMotorForce ( ) : float
return float

getMaxLinMotorForce() public method

public getMaxLinMotorForce ( ) : float
return float

getParam() public method

public getParam ( int num ) : float
num int
return float

getParam() public method

public getParam ( int num, int axis ) : float
num int
axis int
return float

getPoweredAngMotor() public method

public getPoweredAngMotor ( ) : bool
return bool

getPoweredLinMotor() public method

public getPoweredLinMotor ( ) : bool
return bool

getRestitutionDirAng() public method

public getRestitutionDirAng ( ) : float
return float

getRestitutionDirLin() public method

public getRestitutionDirLin ( ) : float
return float

getRestitutionLimAng() public method

public getRestitutionLimAng ( ) : float
return float

getRestitutionLimLin() public method

public getRestitutionLimLin ( ) : float
return float

getRestitutionOrthoAng() public method

public getRestitutionOrthoAng ( ) : float
return float

getRestitutionOrthoLin() public method

public getRestitutionOrthoLin ( ) : float
return float

getRigidBodyA() public method

public getRigidBodyA ( ) : btRigidBody
return btRigidBody

getRigidBodyB() public method

public getRigidBodyB ( ) : btRigidBody
return btRigidBody

getSoftnessDirAng() public method

public getSoftnessDirAng ( ) : float
return float

getSoftnessDirLin() public method

public getSoftnessDirLin ( ) : float
return float

getSoftnessLimAng() public method

public getSoftnessLimAng ( ) : float
return float

getSoftnessLimLin() public method

public getSoftnessLimLin ( ) : float
return float

getSoftnessOrthoAng() public method

public getSoftnessOrthoAng ( ) : float
return float

getSoftnessOrthoLin() public method

public getSoftnessOrthoLin ( ) : float
return float

getSolveAngLimit() public method

public getSolveAngLimit ( ) : bool
return bool

getSolveLinLimit() public method

public getSolveLinLimit ( ) : bool
return bool

getTargetAngMotorVelocity() public method

public getTargetAngMotorVelocity ( ) : float
return float

getTargetLinMotorVelocity() public method

public getTargetLinMotorVelocity ( ) : float
return float

getUpperAngLimit() public method

public getUpperAngLimit ( ) : float
return float

getUpperLinLimit() public method

public getUpperLinLimit ( ) : float
return float

getUseFrameOffset() public method

public getUseFrameOffset ( ) : bool
return bool

getUseLinearReferenceFrameA() public method

public getUseLinearReferenceFrameA ( ) : bool
return bool

serialize() public method

public serialize ( SWIGTYPE_p_void dataBuffer, SWIGTYPE_p_btSerializer serializer ) : string
dataBuffer SWIGTYPE_p_void
serializer SWIGTYPE_p_btSerializer
return string

setDampingDirAng() public method

public setDampingDirAng ( float dampingDirAng ) : void
dampingDirAng float
return void

setDampingDirLin() public method

public setDampingDirLin ( float dampingDirLin ) : void
dampingDirLin float
return void

setDampingLimAng() public method

public setDampingLimAng ( float dampingLimAng ) : void
dampingLimAng float
return void

setDampingLimLin() public method

public setDampingLimLin ( float dampingLimLin ) : void
dampingLimLin float
return void

setDampingOrthoAng() public method

public setDampingOrthoAng ( float dampingOrthoAng ) : void
dampingOrthoAng float
return void

setDampingOrthoLin() public method

public setDampingOrthoLin ( float dampingOrthoLin ) : void
dampingOrthoLin float
return void

setFrames() public method

public setFrames ( SWIGTYPE_p_btTransform frameA, SWIGTYPE_p_btTransform frameB ) : void
frameA SWIGTYPE_p_btTransform
frameB SWIGTYPE_p_btTransform
return void

setLowerAngLimit() public method

public setLowerAngLimit ( float lowerLimit ) : void
lowerLimit float
return void

setLowerLinLimit() public method

public setLowerLinLimit ( float lowerLimit ) : void
lowerLimit float
return void

setMaxAngMotorForce() public method

public setMaxAngMotorForce ( float maxAngMotorForce ) : void
maxAngMotorForce float
return void

setMaxLinMotorForce() public method

public setMaxLinMotorForce ( float maxLinMotorForce ) : void
maxLinMotorForce float
return void

setParam() public method

public setParam ( int num, float value ) : void
num int
value float
return void

setParam() public method

public setParam ( int num, float value, int axis ) : void
num int
value float
axis int
return void

setPoweredAngMotor() public method

public setPoweredAngMotor ( bool onOff ) : void
onOff bool
return void

setPoweredLinMotor() public method

public setPoweredLinMotor ( bool onOff ) : void
onOff bool
return void

setRestitutionDirAng() public method

public setRestitutionDirAng ( float restitutionDirAng ) : void
restitutionDirAng float
return void

setRestitutionDirLin() public method

public setRestitutionDirLin ( float restitutionDirLin ) : void
restitutionDirLin float
return void

setRestitutionLimAng() public method

public setRestitutionLimAng ( float restitutionLimAng ) : void
restitutionLimAng float
return void

setRestitutionLimLin() public method

public setRestitutionLimLin ( float restitutionLimLin ) : void
restitutionLimLin float
return void

setRestitutionOrthoAng() public method

public setRestitutionOrthoAng ( float restitutionOrthoAng ) : void
restitutionOrthoAng float
return void

setRestitutionOrthoLin() public method

public setRestitutionOrthoLin ( float restitutionOrthoLin ) : void
restitutionOrthoLin float
return void

setSoftnessDirAng() public method

public setSoftnessDirAng ( float softnessDirAng ) : void
softnessDirAng float
return void

setSoftnessDirLin() public method

public setSoftnessDirLin ( float softnessDirLin ) : void
softnessDirLin float
return void

setSoftnessLimAng() public method

public setSoftnessLimAng ( float softnessLimAng ) : void
softnessLimAng float
return void

setSoftnessLimLin() public method

public setSoftnessLimLin ( float softnessLimLin ) : void
softnessLimLin float
return void

setSoftnessOrthoAng() public method

public setSoftnessOrthoAng ( float softnessOrthoAng ) : void
softnessOrthoAng float
return void

setSoftnessOrthoLin() public method

public setSoftnessOrthoLin ( float softnessOrthoLin ) : void
softnessOrthoLin float
return void

setTargetAngMotorVelocity() public method

public setTargetAngMotorVelocity ( float targetAngMotorVelocity ) : void
targetAngMotorVelocity float
return void

setTargetLinMotorVelocity() public method

public setTargetLinMotorVelocity ( float targetLinMotorVelocity ) : void
targetLinMotorVelocity float
return void

setUpperAngLimit() public method

public setUpperAngLimit ( float upperLimit ) : void
upperLimit float
return void

setUpperLinLimit() public method

public setUpperLinLimit ( float upperLimit ) : void
upperLimit float
return void

setUseFrameOffset() public method

public setUseFrameOffset ( bool frameOffsetOnOff ) : void
frameOffsetOnOff bool
return void

testAngLimits() public method

public testAngLimits ( ) : void
return void

testLinLimits() public method

public testLinLimits ( ) : void
return void

Property Details

swigCMemOwn protected_oe property

protected bool swigCMemOwn
return bool