C# Class BulletCSharp.btGeneric6DofConstraint

Inheritance: IDisposable
Mostrar archivo Open project: sanglin307/BulletUnity3D Class Usage Examples

Protected Properties

Property Type Description
swigCMemOwn bool

Public Methods

Method Description
Dispose ( ) : void
GetSwigPtr ( ) : SWIGTYPE_p_btTypedConstraint
btGeneric6DofConstraint ( btRigidBody rbB, SWIGTYPE_p_btTransform frameInB, bool useLinearReferenceFrameB ) : System
btGeneric6DofConstraint ( btRigidBody rbA, btRigidBody rbB, SWIGTYPE_p_btTransform frameInA, SWIGTYPE_p_btTransform frameInB, bool useLinearReferenceFrameA ) : System
buildJacobian ( ) : void
calcAnchorPos ( ) : void
calculateSerializeBufferSize ( ) : int
calculateTransforms ( ) : void
calculateTransforms ( SWIGTYPE_p_btTransform transA, SWIGTYPE_p_btTransform transB ) : void
getAngle ( int axis_index ) : float
getAngularLowerLimit ( SWIGTYPE_p_btVector3 angularLower ) : void
getAngularUpperLimit ( SWIGTYPE_p_btVector3 angularUpper ) : void
getAxis ( int axis_index ) : SWIGTYPE_p_btVector3
getCalculatedTransformA ( ) : SWIGTYPE_p_btTransform
getCalculatedTransformB ( ) : SWIGTYPE_p_btTransform
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, SWIGTYPE_p_btVector3 angVelA, SWIGTYPE_p_btVector3 angVelB ) : void
getLinearLowerLimit ( SWIGTYPE_p_btVector3 linearLower ) : void
getLinearUpperLimit ( SWIGTYPE_p_btVector3 linearUpper ) : void
getParam ( int num ) : float
getParam ( int num, int axis ) : float
getRelativePivotPosition ( int axis_index ) : float
getRotationalLimitMotor ( int index ) : btRotationalLimitMotor
getTranslationalLimitMotor ( ) : btTranslationalLimitMotor
getUseFrameOffset ( ) : bool
get_limit_motor_info2 ( btRotationalLimitMotor limot, SWIGTYPE_p_btTransform transA, SWIGTYPE_p_btTransform transB, SWIGTYPE_p_btVector3 linVelA, SWIGTYPE_p_btVector3 linVelB, SWIGTYPE_p_btVector3 angVelA, SWIGTYPE_p_btVector3 angVelB, btConstraintInfo2 info, int row, SWIGTYPE_p_btVector3 ax1, int rotational ) : int
get_limit_motor_info2 ( btRotationalLimitMotor limot, SWIGTYPE_p_btTransform transA, SWIGTYPE_p_btTransform transB, SWIGTYPE_p_btVector3 linVelA, SWIGTYPE_p_btVector3 linVelB, SWIGTYPE_p_btVector3 angVelA, SWIGTYPE_p_btVector3 angVelB, btConstraintInfo2 info, int row, SWIGTYPE_p_btVector3 ax1, int rotational, int rotAllowed ) : int
isLimited ( int limitIndex ) : bool
serialize ( SWIGTYPE_p_void dataBuffer, SWIGTYPE_p_btSerializer serializer ) : string
setAngularLowerLimit ( SWIGTYPE_p_btVector3 angularLower ) : void
setAngularUpperLimit ( SWIGTYPE_p_btVector3 angularUpper ) : void
setAxis ( SWIGTYPE_p_btVector3 axis1, SWIGTYPE_p_btVector3 axis2 ) : void
setFrames ( SWIGTYPE_p_btTransform frameA, SWIGTYPE_p_btTransform frameB ) : void
setLimit ( int axis, float lo, float hi ) : void
setLinearLowerLimit ( SWIGTYPE_p_btVector3 linearLower ) : void
setLinearUpperLimit ( SWIGTYPE_p_btVector3 linearUpper ) : void
setParam ( int num, float value ) : void
setParam ( int num, float value, int axis ) : void
setUseFrameOffset ( bool frameOffsetOnOff ) : void
testAngularLimitMotor ( int axis_index ) : bool
updateRHS ( float timeStep ) : void

Private Methods

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

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetSwigPtr() public method

public GetSwigPtr ( ) : SWIGTYPE_p_btTypedConstraint
return SWIGTYPE_p_btTypedConstraint

btGeneric6DofConstraint() public method

public btGeneric6DofConstraint ( btRigidBody rbB, SWIGTYPE_p_btTransform frameInB, bool useLinearReferenceFrameB ) : System
rbB btRigidBody
frameInB SWIGTYPE_p_btTransform
useLinearReferenceFrameB bool
return System

btGeneric6DofConstraint() public method

public btGeneric6DofConstraint ( 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

buildJacobian() public method

public buildJacobian ( ) : void
return void

calcAnchorPos() public method

public calcAnchorPos ( ) : void
return void

calculateSerializeBufferSize() public method

public calculateSerializeBufferSize ( ) : int
return int

calculateTransforms() public method

public calculateTransforms ( ) : void
return void

calculateTransforms() public method

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

getAngle() public method

public getAngle ( int axis_index ) : float
axis_index int
return float

getAngularLowerLimit() public method

public getAngularLowerLimit ( SWIGTYPE_p_btVector3 angularLower ) : void
angularLower SWIGTYPE_p_btVector3
return void

getAngularUpperLimit() public method

public getAngularUpperLimit ( SWIGTYPE_p_btVector3 angularUpper ) : void
angularUpper SWIGTYPE_p_btVector3
return void

getAxis() public method

public getAxis ( int axis_index ) : SWIGTYPE_p_btVector3
axis_index int
return SWIGTYPE_p_btVector3

getCalculatedTransformA() public method

public getCalculatedTransformA ( ) : SWIGTYPE_p_btTransform
return SWIGTYPE_p_btTransform

getCalculatedTransformB() public method

public getCalculatedTransformB ( ) : SWIGTYPE_p_btTransform
return SWIGTYPE_p_btTransform

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, SWIGTYPE_p_btVector3 angVelA, SWIGTYPE_p_btVector3 angVelB ) : void
info btConstraintInfo2
transA SWIGTYPE_p_btTransform
transB SWIGTYPE_p_btTransform
linVelA SWIGTYPE_p_btVector3
linVelB SWIGTYPE_p_btVector3
angVelA SWIGTYPE_p_btVector3
angVelB SWIGTYPE_p_btVector3
return void

getLinearLowerLimit() public method

public getLinearLowerLimit ( SWIGTYPE_p_btVector3 linearLower ) : void
linearLower SWIGTYPE_p_btVector3
return void

getLinearUpperLimit() public method

public getLinearUpperLimit ( SWIGTYPE_p_btVector3 linearUpper ) : void
linearUpper SWIGTYPE_p_btVector3
return void

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

getRelativePivotPosition() public method

public getRelativePivotPosition ( int axis_index ) : float
axis_index int
return float

getRotationalLimitMotor() public method

public getRotationalLimitMotor ( int index ) : btRotationalLimitMotor
index int
return btRotationalLimitMotor

getTranslationalLimitMotor() public method

public getTranslationalLimitMotor ( ) : btTranslationalLimitMotor
return btTranslationalLimitMotor

getUseFrameOffset() public method

public getUseFrameOffset ( ) : bool
return bool

get_limit_motor_info2() public method

public get_limit_motor_info2 ( btRotationalLimitMotor limot, SWIGTYPE_p_btTransform transA, SWIGTYPE_p_btTransform transB, SWIGTYPE_p_btVector3 linVelA, SWIGTYPE_p_btVector3 linVelB, SWIGTYPE_p_btVector3 angVelA, SWIGTYPE_p_btVector3 angVelB, btConstraintInfo2 info, int row, SWIGTYPE_p_btVector3 ax1, int rotational ) : int
limot btRotationalLimitMotor
transA SWIGTYPE_p_btTransform
transB SWIGTYPE_p_btTransform
linVelA SWIGTYPE_p_btVector3
linVelB SWIGTYPE_p_btVector3
angVelA SWIGTYPE_p_btVector3
angVelB SWIGTYPE_p_btVector3
info btConstraintInfo2
row int
ax1 SWIGTYPE_p_btVector3
rotational int
return int

get_limit_motor_info2() public method

public get_limit_motor_info2 ( btRotationalLimitMotor limot, SWIGTYPE_p_btTransform transA, SWIGTYPE_p_btTransform transB, SWIGTYPE_p_btVector3 linVelA, SWIGTYPE_p_btVector3 linVelB, SWIGTYPE_p_btVector3 angVelA, SWIGTYPE_p_btVector3 angVelB, btConstraintInfo2 info, int row, SWIGTYPE_p_btVector3 ax1, int rotational, int rotAllowed ) : int
limot btRotationalLimitMotor
transA SWIGTYPE_p_btTransform
transB SWIGTYPE_p_btTransform
linVelA SWIGTYPE_p_btVector3
linVelB SWIGTYPE_p_btVector3
angVelA SWIGTYPE_p_btVector3
angVelB SWIGTYPE_p_btVector3
info btConstraintInfo2
row int
ax1 SWIGTYPE_p_btVector3
rotational int
rotAllowed int
return int

isLimited() public method

public isLimited ( int limitIndex ) : bool
limitIndex int
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

setAngularLowerLimit() public method

public setAngularLowerLimit ( SWIGTYPE_p_btVector3 angularLower ) : void
angularLower SWIGTYPE_p_btVector3
return void

setAngularUpperLimit() public method

public setAngularUpperLimit ( SWIGTYPE_p_btVector3 angularUpper ) : void
angularUpper SWIGTYPE_p_btVector3
return void

setAxis() public method

public setAxis ( SWIGTYPE_p_btVector3 axis1, SWIGTYPE_p_btVector3 axis2 ) : void
axis1 SWIGTYPE_p_btVector3
axis2 SWIGTYPE_p_btVector3
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

setLimit() public method

public setLimit ( int axis, float lo, float hi ) : void
axis int
lo float
hi float
return void

setLinearLowerLimit() public method

public setLinearLowerLimit ( SWIGTYPE_p_btVector3 linearLower ) : void
linearLower SWIGTYPE_p_btVector3
return void

setLinearUpperLimit() public method

public setLinearUpperLimit ( SWIGTYPE_p_btVector3 linearUpper ) : void
linearUpper SWIGTYPE_p_btVector3
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

setUseFrameOffset() public method

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

testAngularLimitMotor() public method

public testAngularLimitMotor ( int axis_index ) : bool
axis_index int
return bool

updateRHS() public method

public updateRHS ( float timeStep ) : void
timeStep float
return void

Property Details

swigCMemOwn protected_oe property

protected bool swigCMemOwn
return bool