java.lang.Object
physx.NativeObject
physx.extensions.PxSpring
physx.extensions.PxD6JointDrive
-
Nested Class Summary
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T> -
Field Summary
FieldsFields inherited from class physx.NativeObject
address, isExternallyAllocated, SIZEOF_BYTE, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_POINTER, SIZEOF_SHORT -
Constructor Summary
ConstructorsModifierConstructorDescriptionPxD6JointDrive(float driveStiffness, float driveDamping, float driveForceLimit) PxD6JointDrive(float driveStiffness, float driveDamping, float driveForceLimit, boolean isAcceleration) protectedPxD6JointDrive(long address) -
Method Summary
Modifier and TypeMethodDescriptionstatic PxD6JointDrivearrayGet(long baseAddress, int index) voiddestroy()getFlags()floatvoidsetFlags(PxD6JointDriveFlags value) voidsetForceLimit(float value) static PxD6JointDrivewrapPointer(long address) Methods inherited from class physx.extensions.PxSpring
getDamping, getStiffness, setDamping, setStiffnessMethods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
Field Details
-
SIZEOF
public static final int SIZEOF -
ALIGNOF
public static final int ALIGNOF- See Also:
-
-
Constructor Details
-
PxD6JointDrive
protected PxD6JointDrive(long address) -
PxD6JointDrive
public PxD6JointDrive() -
PxD6JointDrive
public PxD6JointDrive(float driveStiffness, float driveDamping, float driveForceLimit) - Parameters:
driveStiffness- WebIDL type: floatdriveDamping- WebIDL type: floatdriveForceLimit- WebIDL type: float
-
PxD6JointDrive
public PxD6JointDrive(float driveStiffness, float driveDamping, float driveForceLimit, boolean isAcceleration) - Parameters:
driveStiffness- WebIDL type: floatdriveDamping- WebIDL type: floatdriveForceLimit- WebIDL type: floatisAcceleration- WebIDL type: boolean
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getForceLimit
public float getForceLimit()- Returns:
- WebIDL type: float
-
setForceLimit
public void setForceLimit(float value) - Parameters:
value- WebIDL type: float
-
getFlags
- Returns:
- WebIDL type:
PxD6JointDriveFlags[Value]
-
setFlags
- Parameters:
value- WebIDL type:PxD6JointDriveFlags[Value]
-