Package physx.extensions
Class PxSpring
- java.lang.Object
-
- physx.NativeObject
-
- physx.extensions.PxSpring
-
- Direct Known Subclasses:
PxD6JointDrive
public class PxSpring extends NativeObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isExternallyAllocated
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()floatgetDamping()floatgetStiffness()voidsetDamping(float value)voidsetStiffness(float value)static PxSpringwrapPointer(long address)-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Method Detail
-
wrapPointer
public static PxSpring wrapPointer(long address)
-
destroy
public void destroy()
-
getStiffness
public float getStiffness()
- Returns:
- WebIDL type: float
-
setStiffness
public void setStiffness(float value)
- Parameters:
value- WebIDL type: float
-
getDamping
public float getDamping()
- Returns:
- WebIDL type: float
-
setDamping
public void setDamping(float value)
- Parameters:
value- WebIDL type: float
-
-