java.lang.Object
physx.NativeObject
physx.common.PxBase
physx.common.PxRefCounted
physx.physics.PxBaseMaterial
physx.particles.PxParticleMaterial
- Direct Known Subclasses:
PxPBDMaterial
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PxParticleMaterialarrayGet(long baseAddress, int index) floatfloatfloatfloatfloatvoidsetAdhesion(float adhesion) voidsetAdhesionRadiusScale(float scale) voidsetDamping(float damping) voidsetFriction(float friction) voidsetGravityScale(float scale) static PxParticleMaterialwrapPointer(long address) Methods inherited from class physx.physics.PxBaseMaterial
destroyMethods inherited from class physx.common.PxRefCounted
acquireReference, getReferenceCountMethods inherited from class physx.common.PxBase
getBaseFlags, getConcreteType, getConcreteTypeName, isReleasable, release, setBaseFlag, setBaseFlagsMethods 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
-
PxParticleMaterial
protected PxParticleMaterial() -
PxParticleMaterial
protected PxParticleMaterial(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
setFriction
public void setFriction(float friction) - Parameters:
friction- WebIDL type: float
-
getFriction
public float getFriction()- Returns:
- WebIDL type: float
-
setDamping
public void setDamping(float damping) - Parameters:
damping- WebIDL type: float
-
getDamping
public float getDamping()- Returns:
- WebIDL type: float
-
setAdhesion
public void setAdhesion(float adhesion) - Parameters:
adhesion- WebIDL type: float
-
getAdhesion
public float getAdhesion()- Returns:
- WebIDL type: float
-
setGravityScale
public void setGravityScale(float scale) - Parameters:
scale- WebIDL type: float
-
getGravityScale
public float getGravityScale()- Returns:
- WebIDL type: float
-
setAdhesionRadiusScale
public void setAdhesionRadiusScale(float scale) - Parameters:
scale- WebIDL type: float
-
getAdhesionRadiusScale
public float getAdhesionRadiusScale()- Returns:
- WebIDL type: float
-