| Modifier and Type | Field and Description |
|---|---|
| private final Vector2 | |
| private final Vector2 | |
| private final float[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public float | |
| public float | |
| public float | |
| public Vector2 | |
| public Vector2 | |
| private native float | |
| private native float | |
| private native float | |
| private native void | |
| private native void | |
| private native void | |
| private native void | |
| private native void | |
| public void | |
| public void | |
| public void |
| localAnchorA | back to summary |
|---|---|
| private final Vector2 localAnchorA | |
| localAnchorB | back to summary |
|---|---|
| private final Vector2 localAnchorB | |
| tmp | back to summary |
|---|---|
| private final float[] tmp | |
| DistanceJoint | back to summary |
|---|---|
| public DistanceJoint(World world, long addr) | |
| getDampingRatio | back to summary |
|---|---|
| public float getDampingRatio() Set/get damping ratio. | |
| getFrequency | back to summary |
|---|---|
| public float getFrequency() Set/get frequency in Hz. | |
| getLength | back to summary |
|---|---|
| public float getLength() Set/get the natural length. Manipulating the length can lead to non-physical behavior when the frequency is zero. | |
| getLocalAnchorA | back to summary |
|---|---|
| public Vector2 getLocalAnchorA() | |
| getLocalAnchorB | back to summary |
|---|---|
| public Vector2 getLocalAnchorB() | |
| jniGetDampingRatio | back to summary |
|---|---|
| private native float jniGetDampingRatio(long addr) | |
| jniGetFrequency | back to summary |
|---|---|
| private native float jniGetFrequency(long addr) | |
| jniGetLength | back to summary |
|---|---|
| private native float jniGetLength(long addr) | |
| jniGetLocalAnchorA | back to summary |
|---|---|
| private native void jniGetLocalAnchorA(long addr, float[] anchor) | |
| jniGetLocalAnchorB | back to summary |
|---|---|
| private native void jniGetLocalAnchorB(long addr, float[] anchor) | |
| jniSetDampingRatio | back to summary |
|---|---|
| private native void jniSetDampingRatio(long addr, float ratio) | |
| jniSetFrequency | back to summary |
|---|---|
| private native void jniSetFrequency(long addr, float hz) | |
| jniSetLength | back to summary |
|---|---|
| private native void jniSetLength(long addr, float length) | |
| setDampingRatio | back to summary |
|---|---|
| public void setDampingRatio(float ratio) Set/get damping ratio. | |
| setFrequency | back to summary |
|---|---|
| public void setFrequency(float hz) Set/get frequency in Hz. | |
| setLength | back to summary |
|---|---|
| public void setLength(float length) Set/get the natural length. Manipulating the length can lead to non-physical behavior when the frequency is zero. | |