public class PxSpring extends NativeObject
NativeObject.Allocator<T>address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
protected |
PxSpring() |
|
PxSpring(float stiffness,
float damping) |
protected |
PxSpring(long address) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
float |
getDamping() |
float |
getStiffness() |
void |
setDamping(float value) |
void |
setStiffness(float value) |
static PxSpring |
wrapPointer(long address) |
checkNotNull, equals, getAddress, hashCodeprotected PxSpring()
protected PxSpring(long address)
public PxSpring(float stiffness,
float damping)
stiffness - WebIDL type: floatdamping - WebIDL type: floatpublic static PxSpring wrapPointer(long address)
public void destroy()
public float getStiffness()
public void setStiffness(float value)
value - WebIDL type: floatpublic float getDamping()
public void setDamping(float value)
value - WebIDL type: float