java.lang.Object
physx.NativeObject
physx.common.PxBase
physx.common.PxRefCounted
physx.physics.PxBaseMaterial
physx.particles.PxParticleMaterial
physx.particles.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 PxPBDMaterialarrayGet(long baseAddress, int index) floatfloatfloatgetDrag()floatgetLift()floatfloatfloatfloatfloatvoidsetCFLCoefficient(float coefficient) voidsetCohesion(float cohesion) voidsetDrag(float drag) voidsetLift(float lift) voidsetParticleAdhesionScale(float adhesion) voidsetParticleFrictionScale(float scale) voidsetSurfaceTension(float surfaceTension) voidsetViscosity(float viscosity) voidsetVorticityConfinement(float vorticityConfinement) static PxPBDMaterialwrapPointer(long address) Methods inherited from class physx.particles.PxParticleMaterial
getAdhesion, getAdhesionRadiusScale, getDamping, getFriction, getGravityScale, setAdhesion, setAdhesionRadiusScale, setDamping, setFriction, setGravityScaleMethods inherited from class physx.physics.PxBaseMaterial
destroyMethods inherited from class physx.common.PxRefCounted
acquireReference, getReferenceCountMethods inherited from class physx.common.PxBase
getBaseFlags, getConcreteType, 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
-
PxPBDMaterial
protected PxPBDMaterial() -
PxPBDMaterial
protected PxPBDMaterial(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
setViscosity
public void setViscosity(float viscosity) - Parameters:
viscosity- WebIDL type: float
-
getViscosity
public float getViscosity()- Returns:
- WebIDL type: float
-
setVorticityConfinement
public void setVorticityConfinement(float vorticityConfinement) - Parameters:
vorticityConfinement- WebIDL type: float
-
getVorticityConfinement
public float getVorticityConfinement()- Returns:
- WebIDL type: float
-
setSurfaceTension
public void setSurfaceTension(float surfaceTension) - Parameters:
surfaceTension- WebIDL type: float
-
getSurfaceTension
public float getSurfaceTension()- Returns:
- WebIDL type: float
-
setCohesion
public void setCohesion(float cohesion) - Parameters:
cohesion- WebIDL type: float
-
getCohesion
public float getCohesion()- Returns:
- WebIDL type: float
-
setLift
public void setLift(float lift) - Parameters:
lift- WebIDL type: float
-
getLift
public float getLift()- Returns:
- WebIDL type: float
-
setDrag
public void setDrag(float drag) - Parameters:
drag- WebIDL type: float
-
getDrag
public float getDrag()- Returns:
- WebIDL type: float
-
setCFLCoefficient
public void setCFLCoefficient(float coefficient) - Parameters:
coefficient- WebIDL type: float
-
getCFLCoefficient
public float getCFLCoefficient()- Returns:
- WebIDL type: float
-
setParticleFrictionScale
public void setParticleFrictionScale(float scale) - Parameters:
scale- WebIDL type: float
-
getParticleFrictionScale
public float getParticleFrictionScale()- Returns:
- WebIDL type: float
-
setParticleAdhesionScale
public void setParticleAdhesionScale(float adhesion) - Parameters:
adhesion- WebIDL type: float
-
getParticleAdhesionScale
public float getParticleAdhesionScale()- Returns:
- WebIDL type: float
-
getConcreteTypeName
- Overrides:
getConcreteTypeNamein classPxBase- Returns:
- WebIDL type: DOMString
-