C# Class BulletCSharp.btConeTwistConstraint

Inheritance: IDisposable
ファイルを表示 Open project: sanglin307/BulletUnity3D Class Usage Examples

Protected Properties

Property Type Description
swigCMemOwn bool

Public Methods

Method Description
Dispose ( ) : void
GetPointForAngle ( float fAngleInRadians, float fLength ) : SWIGTYPE_p_btVector3
GetSwigPtr ( ) : SWIGTYPE_p_btTypedConstraint
btConeTwistConstraint ( btRigidBody rbA, SWIGTYPE_p_btTransform rbAFrame ) : System
btConeTwistConstraint ( btRigidBody rbA, btRigidBody rbB, SWIGTYPE_p_btTransform rbAFrame, SWIGTYPE_p_btTransform rbBFrame ) : System
buildJacobian ( ) : void
calcAngleInfo ( ) : void
calcAngleInfo2 ( SWIGTYPE_p_btTransform transA, SWIGTYPE_p_btTransform transB, SWIGTYPE_p_btMatrix3x3 invInertiaWorldA, SWIGTYPE_p_btMatrix3x3 invInertiaWorldB ) : void
calculateSerializeBufferSize ( ) : int
enableMotor ( bool b ) : void
getAFrame ( ) : SWIGTYPE_p_btTransform
getBFrame ( ) : SWIGTYPE_p_btTransform
getFixThresh ( ) : 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_btMatrix3x3 invInertiaWorldA, SWIGTYPE_p_btMatrix3x3 invInertiaWorldB ) : void
getParam ( int num ) : float
getParam ( int num, int axis ) : float
getRigidBodyA ( ) : btRigidBody
getRigidBodyB ( ) : btRigidBody
getSolveSwingLimit ( ) : int
getSolveTwistLimit ( ) : int
getSwingSpan1 ( ) : float
getSwingSpan2 ( ) : float
getTwistAngle ( ) : float
getTwistLimitSign ( ) : float
getTwistSpan ( ) : float
isPastSwingLimit ( ) : bool
serialize ( SWIGTYPE_p_void dataBuffer, SWIGTYPE_p_btSerializer serializer ) : string
setAngularOnly ( bool angularOnly ) : void
setDamping ( float damping ) : void
setFixThresh ( float fixThresh ) : void
setFrames ( SWIGTYPE_p_btTransform frameA, SWIGTYPE_p_btTransform frameB ) : void
setLimit ( float _swingSpan1, float _swingSpan2, float _twistSpan ) : void
setLimit ( float _swingSpan1, float _swingSpan2, float _twistSpan, float _softness ) : void
setLimit ( float _swingSpan1, float _swingSpan2, float _twistSpan, float _softness, float _biasFactor ) : void
setLimit ( float _swingSpan1, float _swingSpan2, float _twistSpan, float _softness, float _biasFactor, float _relaxationFactor ) : void
setLimit ( int limitIndex, float limitValue ) : void
setMaxMotorImpulse ( float maxMotorImpulse ) : void
setMaxMotorImpulseNormalized ( float maxMotorImpulse ) : void
setMotorTarget ( SWIGTYPE_p_btQuaternion q ) : void
setMotorTargetInConstraintSpace ( SWIGTYPE_p_btQuaternion q ) : void
setParam ( int num, float value ) : void
setParam ( int num, float value, int axis ) : void
solveConstraintObsolete ( SWIGTYPE_p_btSolverBody bodyA, SWIGTYPE_p_btSolverBody bodyB, float timeStep ) : void
updateRHS ( float timeStep ) : void

Private Methods

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

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetPointForAngle() public method

public GetPointForAngle ( float fAngleInRadians, float fLength ) : SWIGTYPE_p_btVector3
fAngleInRadians float
fLength float
return SWIGTYPE_p_btVector3

GetSwigPtr() public method

public GetSwigPtr ( ) : SWIGTYPE_p_btTypedConstraint
return SWIGTYPE_p_btTypedConstraint

btConeTwistConstraint() public method

public btConeTwistConstraint ( btRigidBody rbA, SWIGTYPE_p_btTransform rbAFrame ) : System
rbA btRigidBody
rbAFrame SWIGTYPE_p_btTransform
return System

btConeTwistConstraint() public method

public btConeTwistConstraint ( btRigidBody rbA, btRigidBody rbB, SWIGTYPE_p_btTransform rbAFrame, SWIGTYPE_p_btTransform rbBFrame ) : System
rbA btRigidBody
rbB btRigidBody
rbAFrame SWIGTYPE_p_btTransform
rbBFrame SWIGTYPE_p_btTransform
return System

buildJacobian() public method

public buildJacobian ( ) : void
return void

calcAngleInfo() public method

public calcAngleInfo ( ) : void
return void

calcAngleInfo2() public method

public calcAngleInfo2 ( SWIGTYPE_p_btTransform transA, SWIGTYPE_p_btTransform transB, SWIGTYPE_p_btMatrix3x3 invInertiaWorldA, SWIGTYPE_p_btMatrix3x3 invInertiaWorldB ) : void
transA SWIGTYPE_p_btTransform
transB SWIGTYPE_p_btTransform
invInertiaWorldA SWIGTYPE_p_btMatrix3x3
invInertiaWorldB SWIGTYPE_p_btMatrix3x3
return void

calculateSerializeBufferSize() public method

public calculateSerializeBufferSize ( ) : int
return int

enableMotor() public method

public enableMotor ( bool b ) : void
b bool
return void

getAFrame() public method

public getAFrame ( ) : SWIGTYPE_p_btTransform
return SWIGTYPE_p_btTransform

getBFrame() public method

public getBFrame ( ) : SWIGTYPE_p_btTransform
return SWIGTYPE_p_btTransform

getFixThresh() public method

public getFixThresh ( ) : 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_btMatrix3x3 invInertiaWorldA, SWIGTYPE_p_btMatrix3x3 invInertiaWorldB ) : void
info btConstraintInfo2
transA SWIGTYPE_p_btTransform
transB SWIGTYPE_p_btTransform
invInertiaWorldA SWIGTYPE_p_btMatrix3x3
invInertiaWorldB SWIGTYPE_p_btMatrix3x3
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

getRigidBodyA() public method

public getRigidBodyA ( ) : btRigidBody
return btRigidBody

getRigidBodyB() public method

public getRigidBodyB ( ) : btRigidBody
return btRigidBody

getSolveSwingLimit() public method

public getSolveSwingLimit ( ) : int
return int

getSolveTwistLimit() public method

public getSolveTwistLimit ( ) : int
return int

getSwingSpan1() public method

public getSwingSpan1 ( ) : float
return float

getSwingSpan2() public method

public getSwingSpan2 ( ) : float
return float

getTwistAngle() public method

public getTwistAngle ( ) : float
return float

getTwistLimitSign() public method

public getTwistLimitSign ( ) : float
return float

getTwistSpan() public method

public getTwistSpan ( ) : float
return float

isPastSwingLimit() public method

public isPastSwingLimit ( ) : 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

setAngularOnly() public method

public setAngularOnly ( bool angularOnly ) : void
angularOnly bool
return void

setDamping() public method

public setDamping ( float damping ) : void
damping float
return void

setFixThresh() public method

public setFixThresh ( float fixThresh ) : void
fixThresh 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

setLimit() public method

public setLimit ( float _swingSpan1, float _swingSpan2, float _twistSpan ) : void
_swingSpan1 float
_swingSpan2 float
_twistSpan float
return void

setLimit() public method

public setLimit ( float _swingSpan1, float _swingSpan2, float _twistSpan, float _softness ) : void
_swingSpan1 float
_swingSpan2 float
_twistSpan float
_softness float
return void

setLimit() public method

public setLimit ( float _swingSpan1, float _swingSpan2, float _twistSpan, float _softness, float _biasFactor ) : void
_swingSpan1 float
_swingSpan2 float
_twistSpan float
_softness float
_biasFactor float
return void

setLimit() public method

public setLimit ( float _swingSpan1, float _swingSpan2, float _twistSpan, float _softness, float _biasFactor, float _relaxationFactor ) : void
_swingSpan1 float
_swingSpan2 float
_twistSpan float
_softness float
_biasFactor float
_relaxationFactor float
return void

setLimit() public method

public setLimit ( int limitIndex, float limitValue ) : void
limitIndex int
limitValue float
return void

setMaxMotorImpulse() public method

public setMaxMotorImpulse ( float maxMotorImpulse ) : void
maxMotorImpulse float
return void

setMaxMotorImpulseNormalized() public method

public setMaxMotorImpulseNormalized ( float maxMotorImpulse ) : void
maxMotorImpulse float
return void

setMotorTarget() public method

public setMotorTarget ( SWIGTYPE_p_btQuaternion q ) : void
q SWIGTYPE_p_btQuaternion
return void

setMotorTargetInConstraintSpace() public method

public setMotorTargetInConstraintSpace ( SWIGTYPE_p_btQuaternion q ) : void
q SWIGTYPE_p_btQuaternion
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

solveConstraintObsolete() public method

public solveConstraintObsolete ( SWIGTYPE_p_btSolverBody bodyA, SWIGTYPE_p_btSolverBody bodyB, float timeStep ) : void
bodyA SWIGTYPE_p_btSolverBody
bodyB SWIGTYPE_p_btSolverBody
timeStep float
return void

updateRHS() public method

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

Property Details

swigCMemOwn protected_oe property

protected bool swigCMemOwn
return bool