public class btMaterial extends BulletBase
className| Constructor and Description |
|---|
btMaterial() |
btMaterial(float fric,
float rest) |
btMaterial(long cPtr,
boolean cMemoryOwn)
Construct a new btMaterial, normally you should not need this constructor it's intended for low-level usage.
|
| Modifier and Type | Method and Description |
|---|---|
static long |
getCPtr(btMaterial obj) |
float |
getFriction() |
int[] |
getPad() |
float |
getRestitution() |
void |
setFriction(float value) |
void |
setPad(int[] value) |
void |
setRestitution(float value) |
dispose, equals, getCPointer, hashCode, hasOwnership, isDisposed, isObtained, obtain, release, releaseOwnership, takeOwnership, toStringpublic btMaterial(long cPtr,
boolean cMemoryOwn)
public btMaterial()
public btMaterial(float fric,
float rest)
public static long getCPtr(btMaterial obj)
public void setFriction(float value)
public float getFriction()
public void setRestitution(float value)
public float getRestitution()
public void setPad(int[] value)
public int[] getPad()
Copyright © 2021. All rights reserved.