public class btSoftBodyHelpers extends BulletBase
className| Constructor and Description |
|---|
btSoftBodyHelpers() |
btSoftBodyHelpers(long cPtr,
boolean cMemoryOwn)
Construct a new btSoftBodyHelpers, normally you should not need this constructor it's intended for low-level usage.
|
| Modifier and Type | Method and Description |
|---|---|
static float |
CalculateUV(int resx,
int resy,
int ix,
int iy,
int id) |
static btSoftBody |
CreateEllipsoid(btSoftBodyWorldInfo worldInfo,
Vector3 center,
Vector3 radius,
int res) |
static btSoftBody |
CreateFromConvexHull(btSoftBodyWorldInfo worldInfo,
btVector3 vertices,
int nvertices) |
static btSoftBody |
CreateFromConvexHull(btSoftBodyWorldInfo worldInfo,
btVector3 vertices,
int nvertices,
boolean randomizeConstraints) |
static btSoftBody |
CreateFromTetGenData(btSoftBodyWorldInfo worldInfo,
String ele,
String face,
String node,
boolean bfacelinks,
boolean btetralinks,
boolean bfacesfromtetras) |
static btSoftBody |
CreateFromTriMesh(btSoftBodyWorldInfo worldInfo,
FloatBuffer vertices,
IntBuffer triangles,
int ntriangles) |
static btSoftBody |
CreateFromTriMesh(btSoftBodyWorldInfo worldInfo,
FloatBuffer vertices,
IntBuffer triangles,
int ntriangles,
boolean randomizeConstraints) |
static btSoftBody |
CreatePatch(btSoftBodyWorldInfo worldInfo,
Vector3 corner00,
Vector3 corner10,
Vector3 corner01,
Vector3 corner11,
int resx,
int resy,
int fixeds,
boolean gendiags) |
static btSoftBody |
CreatePatchUV(btSoftBodyWorldInfo worldInfo,
Vector3 corner00,
Vector3 corner10,
Vector3 corner01,
Vector3 corner11,
int resx,
int resy,
int fixeds,
boolean gendiags) |
static btSoftBody |
CreatePatchUV(btSoftBodyWorldInfo worldInfo,
Vector3 corner00,
Vector3 corner10,
Vector3 corner01,
Vector3 corner11,
int resx,
int resy,
int fixeds,
boolean gendiags,
FloatBuffer tex_coords) |
static btSoftBody |
CreateRope(btSoftBodyWorldInfo worldInfo,
Vector3 from,
Vector3 to,
int res,
int fixeds) |
static void |
Draw(btSoftBody psb,
btIDebugDraw idraw) |
static void |
Draw(btSoftBody psb,
btIDebugDraw idraw,
int drawflags) |
static void |
DrawClusterTree(btSoftBody psb,
btIDebugDraw idraw) |
static void |
DrawClusterTree(btSoftBody psb,
btIDebugDraw idraw,
int mindepth) |
static void |
DrawClusterTree(btSoftBody psb,
btIDebugDraw idraw,
int mindepth,
int maxdepth) |
static void |
DrawFaceTree(btSoftBody psb,
btIDebugDraw idraw) |
static void |
DrawFaceTree(btSoftBody psb,
btIDebugDraw idraw,
int mindepth) |
static void |
DrawFaceTree(btSoftBody psb,
btIDebugDraw idraw,
int mindepth,
int maxdepth) |
static void |
DrawFrame(btSoftBody psb,
btIDebugDraw idraw) |
static void |
DrawInfos(btSoftBody psb,
btIDebugDraw idraw,
boolean masses,
boolean areas,
boolean stress) |
static void |
DrawNodeTree(btSoftBody psb,
btIDebugDraw idraw) |
static void |
DrawNodeTree(btSoftBody psb,
btIDebugDraw idraw,
int mindepth) |
static void |
DrawNodeTree(btSoftBody psb,
btIDebugDraw idraw,
int mindepth,
int maxdepth) |
static long |
getCPtr(btSoftBodyHelpers obj) |
static void |
ReoptimizeLinkOrder(btSoftBody psb) |
dispose, equals, getCPointer, hashCode, hasOwnership, isDisposed, isObtained, obtain, release, releaseOwnership, takeOwnership, toStringpublic btSoftBodyHelpers(long cPtr,
boolean cMemoryOwn)
public btSoftBodyHelpers()
public static long getCPtr(btSoftBodyHelpers obj)
public static void Draw(btSoftBody psb, btIDebugDraw idraw, int drawflags)
public static void Draw(btSoftBody psb, btIDebugDraw idraw)
public static void DrawInfos(btSoftBody psb, btIDebugDraw idraw, boolean masses, boolean areas, boolean stress)
public static void DrawNodeTree(btSoftBody psb, btIDebugDraw idraw, int mindepth, int maxdepth)
public static void DrawNodeTree(btSoftBody psb, btIDebugDraw idraw, int mindepth)
public static void DrawNodeTree(btSoftBody psb, btIDebugDraw idraw)
public static void DrawFaceTree(btSoftBody psb, btIDebugDraw idraw, int mindepth, int maxdepth)
public static void DrawFaceTree(btSoftBody psb, btIDebugDraw idraw, int mindepth)
public static void DrawFaceTree(btSoftBody psb, btIDebugDraw idraw)
public static void DrawClusterTree(btSoftBody psb, btIDebugDraw idraw, int mindepth, int maxdepth)
public static void DrawClusterTree(btSoftBody psb, btIDebugDraw idraw, int mindepth)
public static void DrawClusterTree(btSoftBody psb, btIDebugDraw idraw)
public static void DrawFrame(btSoftBody psb, btIDebugDraw idraw)
public static btSoftBody CreateRope(btSoftBodyWorldInfo worldInfo, Vector3 from, Vector3 to, int res, int fixeds)
public static btSoftBody CreatePatch(btSoftBodyWorldInfo worldInfo, Vector3 corner00, Vector3 corner10, Vector3 corner01, Vector3 corner11, int resx, int resy, int fixeds, boolean gendiags)
public static btSoftBody CreatePatchUV(btSoftBodyWorldInfo worldInfo, Vector3 corner00, Vector3 corner10, Vector3 corner01, Vector3 corner11, int resx, int resy, int fixeds, boolean gendiags, FloatBuffer tex_coords)
public static btSoftBody CreatePatchUV(btSoftBodyWorldInfo worldInfo, Vector3 corner00, Vector3 corner10, Vector3 corner01, Vector3 corner11, int resx, int resy, int fixeds, boolean gendiags)
public static float CalculateUV(int resx,
int resy,
int ix,
int iy,
int id)
public static btSoftBody CreateEllipsoid(btSoftBodyWorldInfo worldInfo, Vector3 center, Vector3 radius, int res)
public static btSoftBody CreateFromTriMesh(btSoftBodyWorldInfo worldInfo, FloatBuffer vertices, IntBuffer triangles, int ntriangles, boolean randomizeConstraints)
public static btSoftBody CreateFromTriMesh(btSoftBodyWorldInfo worldInfo, FloatBuffer vertices, IntBuffer triangles, int ntriangles)
public static btSoftBody CreateFromConvexHull(btSoftBodyWorldInfo worldInfo, btVector3 vertices, int nvertices, boolean randomizeConstraints)
public static btSoftBody CreateFromConvexHull(btSoftBodyWorldInfo worldInfo, btVector3 vertices, int nvertices)
public static btSoftBody CreateFromTetGenData(btSoftBodyWorldInfo worldInfo, String ele, String face, String node, boolean bfacelinks, boolean btetralinks, boolean bfacesfromtetras)
public static void ReoptimizeLinkOrder(btSoftBody psb)
Copyright © 2021. All rights reserved.