C# Class BulletCSharp.btGeneric6DofSpringConstraint

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

Public Methods

Method Description
Dispose ( ) : void
btGeneric6DofSpringConstraint ( btRigidBody rbB, SWIGTYPE_p_btTransform frameInB, bool useLinearReferenceFrameB ) : System
btGeneric6DofSpringConstraint ( btRigidBody rbA, btRigidBody rbB, SWIGTYPE_p_btTransform frameInA, SWIGTYPE_p_btTransform frameInB, bool useLinearReferenceFrameA ) : System
calculateSerializeBufferSize ( ) : int
enableSpring ( int index, bool onOff ) : void
getInfo2 ( btConstraintInfo2 info ) : void
serialize ( SWIGTYPE_p_void dataBuffer, SWIGTYPE_p_btSerializer serializer ) : string
setAxis ( SWIGTYPE_p_btVector3 axis1, SWIGTYPE_p_btVector3 axis2 ) : void
setDamping ( int index, float damping ) : void
setEquilibriumPoint ( ) : void
setEquilibriumPoint ( int index ) : void
setEquilibriumPoint ( int index, float val ) : void
setStiffness ( int index, float stiffness ) : void

Private Methods

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

Method Details

Dispose() public method

public Dispose ( ) : void
return void

btGeneric6DofSpringConstraint() public method

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

btGeneric6DofSpringConstraint() public method

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

enableSpring() public method

public enableSpring ( int index, bool onOff ) : void
index int
onOff bool
return void

getInfo2() public method

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

serialize() public method

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

setAxis() public method

public setAxis ( SWIGTYPE_p_btVector3 axis1, SWIGTYPE_p_btVector3 axis2 ) : void
axis1 SWIGTYPE_p_btVector3
axis2 SWIGTYPE_p_btVector3
return void

setDamping() public method

public setDamping ( int index, float damping ) : void
index int
damping float
return void

setEquilibriumPoint() public method

public setEquilibriumPoint ( ) : void
return void

setEquilibriumPoint() public method

public setEquilibriumPoint ( int index ) : void
index int
return void

setEquilibriumPoint() public method

public setEquilibriumPoint ( int index, float val ) : void
index int
val float
return void

setStiffness() public method

public setStiffness ( int index, float stiffness ) : void
index int
stiffness float
return void