C# Class BUtility, BulletUnity3D

Datei anzeigen Open project: sanglin307/BulletUnity3D Class Usage Examples

Public Methods

Method Description
DebugDrawArc ( Vector3 center, Vector3 normal, Vector3 axis, float radiusA, float radiusB, float minAngle, float maxAngle, Color color, bool drawSect, float stepDegrees ) : void
DebugDrawBox ( Vector3 position, Quaternion rotation, Vector3 scale, Vector3 maxVec, Color color ) : void
DebugDrawCapsule ( Vector3 position, Quaternion rotation, Vector3 scale, float radius, float halfHeight, int upAxis, Color color ) : void
DebugDrawCone ( Vector3 position, Quaternion rotation, Vector3 scale, float radius, float height, int upAxis, Color color ) : void
DebugDrawCylinder ( Vector3 position, Quaternion rotation, Vector3 scale, float radius, float halfHeight, int upAxis, Color color ) : void
DebugDrawPatch ( Vector3 position, Quaternion rotation, Vector3 scale, Vector3 c00, Vector3 c01, Vector3 c10, Vector3 c11, int resX, int resY, Color color ) : void
DebugDrawPlane ( Vector3 position, Quaternion rotation, Vector3 scale, Vector3 planeNormal, float planeConst, Color color ) : void
DebugDrawPolyhedron ( Vector3 position, Quaternion rotation, Vector3 scale, btPolyhedralConvexShape shape, Color color ) : void
DebugDrawRope ( Vector3 position, Quaternion rotation, Vector3 scale, Vector3 begin, Vector3 end, int res, Color color ) : void
DebugDrawSphere ( Vector3 position, Quaternion rotation, Vector3 scale, Vector3 radius, Color color ) : void
GetPlaneSpaceVector ( Vector3 planeNormal, Vector3 &vec1, Vector3 &vec2 ) : void

Method Details

DebugDrawArc() public static method

public static DebugDrawArc ( Vector3 center, Vector3 normal, Vector3 axis, float radiusA, float radiusB, float minAngle, float maxAngle, Color color, bool drawSect, float stepDegrees ) : void
center Vector3
normal Vector3
axis Vector3
radiusA float
radiusB float
minAngle float
maxAngle float
color Color
drawSect bool
stepDegrees float
return void

DebugDrawBox() public static method

public static DebugDrawBox ( Vector3 position, Quaternion rotation, Vector3 scale, Vector3 maxVec, Color color ) : void
position Vector3
rotation Quaternion
scale Vector3
maxVec Vector3
color Color
return void

DebugDrawCapsule() public static method

public static DebugDrawCapsule ( Vector3 position, Quaternion rotation, Vector3 scale, float radius, float halfHeight, int upAxis, Color color ) : void
position Vector3
rotation Quaternion
scale Vector3
radius float
halfHeight float
upAxis int
color Color
return void

DebugDrawCone() public static method

public static DebugDrawCone ( Vector3 position, Quaternion rotation, Vector3 scale, float radius, float height, int upAxis, Color color ) : void
position Vector3
rotation Quaternion
scale Vector3
radius float
height float
upAxis int
color Color
return void

DebugDrawCylinder() public static method

public static DebugDrawCylinder ( Vector3 position, Quaternion rotation, Vector3 scale, float radius, float halfHeight, int upAxis, Color color ) : void
position Vector3
rotation Quaternion
scale Vector3
radius float
halfHeight float
upAxis int
color Color
return void

DebugDrawPatch() public static method

public static DebugDrawPatch ( Vector3 position, Quaternion rotation, Vector3 scale, Vector3 c00, Vector3 c01, Vector3 c10, Vector3 c11, int resX, int resY, Color color ) : void
position Vector3
rotation Quaternion
scale Vector3
c00 Vector3
c01 Vector3
c10 Vector3
c11 Vector3
resX int
resY int
color Color
return void

DebugDrawPlane() public static method

public static DebugDrawPlane ( Vector3 position, Quaternion rotation, Vector3 scale, Vector3 planeNormal, float planeConst, Color color ) : void
position Vector3
rotation Quaternion
scale Vector3
planeNormal Vector3
planeConst float
color Color
return void

DebugDrawPolyhedron() public static method

public static DebugDrawPolyhedron ( Vector3 position, Quaternion rotation, Vector3 scale, btPolyhedralConvexShape shape, Color color ) : void
position Vector3
rotation Quaternion
scale Vector3
shape BulletCSharp.btPolyhedralConvexShape
color Color
return void

DebugDrawRope() public static method

public static DebugDrawRope ( Vector3 position, Quaternion rotation, Vector3 scale, Vector3 begin, Vector3 end, int res, Color color ) : void
position Vector3
rotation Quaternion
scale Vector3
begin Vector3
end Vector3
res int
color Color
return void

DebugDrawSphere() public static method

public static DebugDrawSphere ( Vector3 position, Quaternion rotation, Vector3 scale, Vector3 radius, Color color ) : void
position Vector3
rotation Quaternion
scale Vector3
radius Vector3
color Color
return void

GetPlaneSpaceVector() public static method

public static GetPlaneSpaceVector ( Vector3 planeNormal, Vector3 &vec1, Vector3 &vec2 ) : void
planeNormal Vector3
vec1 Vector3
vec2 Vector3
return void