C# Class BulletCSharp.btIDebugDraw

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_btIDebugDraw
btIDebugDraw ( ) : System
draw3dText ( btVector3 location, string textString ) : void
drawAabb ( btVector3 from, btVector3 to, btVector3 color ) : void
drawArc ( btVector3 center, btVector3 normal, btVector3 axis, float radiusA, float radiusB, float minAngle, float maxAngle, btVector3 color, bool drawSect ) : void
drawArc ( btVector3 center, btVector3 normal, btVector3 axis, float radiusA, float radiusB, float minAngle, float maxAngle, btVector3 color, bool drawSect, float stepDegrees ) : void
drawBox ( btVector3 bbMin, btVector3 bbMax, btTransform trans, btVector3 color ) : void
drawBox ( btVector3 bbMin, btVector3 bbMax, btVector3 color ) : void
drawCapsule ( float radius, float halfHeight, int upAxis, btTransform transform, btVector3 color ) : void
drawCone ( float radius, float height, int upAxis, btTransform transform, btVector3 color ) : void
drawContactPoint ( btVector3 PointOnB, btVector3 normalOnB, float distance, int lifeTime, btVector3 color ) : void
drawCylinder ( float radius, float halfHeight, int upAxis, btTransform transform, btVector3 color ) : void
drawLine ( btVector3 from, btVector3 to, btVector3 color ) : void
drawLine ( btVector3 from, btVector3 to, btVector3 fromColor, btVector3 toColor ) : void
drawPlane ( btVector3 planeNormal, float planeConst, btTransform transform, btVector3 color ) : void
drawSphere ( btVector3 p, float radius, btVector3 color ) : void
drawSphere ( float radius, btTransform transform, btVector3 color ) : void
drawSpherePatch ( btVector3 center, btVector3 up, btVector3 axis, float radius, float minTh, float maxTh, float minPs, float maxPs, btVector3 color ) : void
drawSpherePatch ( btVector3 center, btVector3 up, btVector3 axis, float radius, float minTh, float maxTh, float minPs, float maxPs, btVector3 color, float stepDegrees ) : void
drawTransform ( btTransform transform, float orthoLen ) : void
drawTriangle ( btVector3 v0, btVector3 v1, btVector3 v2, btVector3 arg3, btVector3 arg4, btVector3 arg5, btVector3 color, float alpha ) : void
drawTriangle ( btVector3 v0, btVector3 v1, btVector3 v2, btVector3 color, float arg4 ) : void
getDebugMode ( ) : int
reportErrorWarning ( string warningString ) : void
setDebugMode ( int debugMode ) : void

Private Methods

Method Description
SwigDerivedClassHasMethod ( string methodName, Type methodTypes ) : bool
SwigDirectorConnect ( ) : void
SwigDirectordraw3dText ( IntPtr location, string textString ) : void
SwigDirectordrawAabb ( IntPtr from, IntPtr to, IntPtr color ) : void
SwigDirectordrawArc__SWIG_0 ( IntPtr center, IntPtr normal, IntPtr axis, float radiusA, float radiusB, float minAngle, float maxAngle, IntPtr color, bool drawSect, float stepDegrees ) : void
SwigDirectordrawArc__SWIG_1 ( IntPtr center, IntPtr normal, IntPtr axis, float radiusA, float radiusB, float minAngle, float maxAngle, IntPtr color, bool drawSect ) : void
SwigDirectordrawBox__SWIG_0 ( IntPtr bbMin, IntPtr bbMax, IntPtr color ) : void
SwigDirectordrawBox__SWIG_1 ( IntPtr bbMin, IntPtr bbMax, IntPtr trans, IntPtr color ) : void
SwigDirectordrawCapsule ( float radius, float halfHeight, int upAxis, IntPtr transform, IntPtr color ) : void
SwigDirectordrawCone ( float radius, float height, int upAxis, IntPtr transform, IntPtr color ) : void
SwigDirectordrawContactPoint ( IntPtr PointOnB, IntPtr normalOnB, float distance, int lifeTime, IntPtr color ) : void
SwigDirectordrawCylinder ( float radius, float halfHeight, int upAxis, IntPtr transform, IntPtr color ) : void
SwigDirectordrawLine__SWIG_0 ( IntPtr from, IntPtr to, IntPtr color ) : void
SwigDirectordrawLine__SWIG_1 ( IntPtr from, IntPtr to, IntPtr fromColor, IntPtr toColor ) : void
SwigDirectordrawPlane ( IntPtr planeNormal, float planeConst, IntPtr transform, IntPtr color ) : void
SwigDirectordrawSpherePatch__SWIG_0 ( IntPtr center, IntPtr up, IntPtr axis, float radius, float minTh, float maxTh, float minPs, float maxPs, IntPtr color, float stepDegrees ) : void
SwigDirectordrawSpherePatch__SWIG_1 ( IntPtr center, IntPtr up, IntPtr axis, float radius, float minTh, float maxTh, float minPs, float maxPs, IntPtr color ) : void
SwigDirectordrawSphere__SWIG_0 ( float radius, IntPtr transform, IntPtr color ) : void
SwigDirectordrawSphere__SWIG_1 ( IntPtr p, float radius, IntPtr color ) : void
SwigDirectordrawTransform ( IntPtr transform, float orthoLen ) : void
SwigDirectordrawTriangle__SWIG_0 ( IntPtr v0, IntPtr v1, IntPtr v2, IntPtr arg3, IntPtr arg4, IntPtr arg5, IntPtr color, float alpha ) : void
SwigDirectordrawTriangle__SWIG_1 ( IntPtr v0, IntPtr v1, IntPtr v2, IntPtr color, float arg4 ) : void
SwigDirectorgetDebugMode ( ) : int
SwigDirectorreportErrorWarning ( string warningString ) : void
SwigDirectorsetDebugMode ( int debugMode ) : void
btIDebugDraw ( IntPtr cPtr, bool cMemoryOwn ) : System
getCPtr ( btIDebugDraw obj ) : HandleRef

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetSwigPtr() public method

public GetSwigPtr ( ) : SWIGTYPE_p_btIDebugDraw
return SWIGTYPE_p_btIDebugDraw

btIDebugDraw() public method

public btIDebugDraw ( ) : System
return System

draw3dText() public method

public draw3dText ( btVector3 location, string textString ) : void
location btVector3
textString string
return void

drawAabb() public method

public drawAabb ( btVector3 from, btVector3 to, btVector3 color ) : void
from btVector3
to btVector3
color btVector3
return void

drawArc() public method

public drawArc ( btVector3 center, btVector3 normal, btVector3 axis, float radiusA, float radiusB, float minAngle, float maxAngle, btVector3 color, bool drawSect ) : void
center btVector3
normal btVector3
axis btVector3
radiusA float
radiusB float
minAngle float
maxAngle float
color btVector3
drawSect bool
return void

drawArc() public method

public drawArc ( btVector3 center, btVector3 normal, btVector3 axis, float radiusA, float radiusB, float minAngle, float maxAngle, btVector3 color, bool drawSect, float stepDegrees ) : void
center btVector3
normal btVector3
axis btVector3
radiusA float
radiusB float
minAngle float
maxAngle float
color btVector3
drawSect bool
stepDegrees float
return void

drawBox() public method

public drawBox ( btVector3 bbMin, btVector3 bbMax, btTransform trans, btVector3 color ) : void
bbMin btVector3
bbMax btVector3
trans btTransform
color btVector3
return void

drawBox() public method

public drawBox ( btVector3 bbMin, btVector3 bbMax, btVector3 color ) : void
bbMin btVector3
bbMax btVector3
color btVector3
return void

drawCapsule() public method

public drawCapsule ( float radius, float halfHeight, int upAxis, btTransform transform, btVector3 color ) : void
radius float
halfHeight float
upAxis int
transform btTransform
color btVector3
return void

drawCone() public method

public drawCone ( float radius, float height, int upAxis, btTransform transform, btVector3 color ) : void
radius float
height float
upAxis int
transform btTransform
color btVector3
return void

drawContactPoint() public method

public drawContactPoint ( btVector3 PointOnB, btVector3 normalOnB, float distance, int lifeTime, btVector3 color ) : void
PointOnB btVector3
normalOnB btVector3
distance float
lifeTime int
color btVector3
return void

drawCylinder() public method

public drawCylinder ( float radius, float halfHeight, int upAxis, btTransform transform, btVector3 color ) : void
radius float
halfHeight float
upAxis int
transform btTransform
color btVector3
return void

drawLine() public method

public drawLine ( btVector3 from, btVector3 to, btVector3 color ) : void
from btVector3
to btVector3
color btVector3
return void

drawLine() public method

public drawLine ( btVector3 from, btVector3 to, btVector3 fromColor, btVector3 toColor ) : void
from btVector3
to btVector3
fromColor btVector3
toColor btVector3
return void

drawPlane() public method

public drawPlane ( btVector3 planeNormal, float planeConst, btTransform transform, btVector3 color ) : void
planeNormal btVector3
planeConst float
transform btTransform
color btVector3
return void

drawSphere() public method

public drawSphere ( btVector3 p, float radius, btVector3 color ) : void
p btVector3
radius float
color btVector3
return void

drawSphere() public method

public drawSphere ( float radius, btTransform transform, btVector3 color ) : void
radius float
transform btTransform
color btVector3
return void

drawSpherePatch() public method

public drawSpherePatch ( btVector3 center, btVector3 up, btVector3 axis, float radius, float minTh, float maxTh, float minPs, float maxPs, btVector3 color ) : void
center btVector3
up btVector3
axis btVector3
radius float
minTh float
maxTh float
minPs float
maxPs float
color btVector3
return void

drawSpherePatch() public method

public drawSpherePatch ( btVector3 center, btVector3 up, btVector3 axis, float radius, float minTh, float maxTh, float minPs, float maxPs, btVector3 color, float stepDegrees ) : void
center btVector3
up btVector3
axis btVector3
radius float
minTh float
maxTh float
minPs float
maxPs float
color btVector3
stepDegrees float
return void

drawTransform() public method

public drawTransform ( btTransform transform, float orthoLen ) : void
transform btTransform
orthoLen float
return void

drawTriangle() public method

public drawTriangle ( btVector3 v0, btVector3 v1, btVector3 v2, btVector3 arg3, btVector3 arg4, btVector3 arg5, btVector3 color, float alpha ) : void
v0 btVector3
v1 btVector3
v2 btVector3
arg3 btVector3
arg4 btVector3
arg5 btVector3
color btVector3
alpha float
return void

drawTriangle() public method

public drawTriangle ( btVector3 v0, btVector3 v1, btVector3 v2, btVector3 color, float arg4 ) : void
v0 btVector3
v1 btVector3
v2 btVector3
color btVector3
arg4 float
return void

getDebugMode() public method

public getDebugMode ( ) : int
return int

reportErrorWarning() public method

public reportErrorWarning ( string warningString ) : void
warningString string
return void

setDebugMode() public method

public setDebugMode ( int debugMode ) : void
debugMode int
return void

Property Details

swigCMemOwn protected_oe property

protected bool swigCMemOwn
return bool