java.lang.Object
physx.NativeObject
physx.cooking.PxCookingParams
-
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 PxCookingParamsarrayGet(long baseAddress, int index) voiddestroy()floatbooleanbooleanintfloatfloatgetScale()booleanvoidsetAreaTestEpsilon(float value) voidsetBuildGPUData(boolean value) voidsetBuildTriangleAdjacencies(boolean value) voidvoidsetGaussMapLimit(int value) voidvoidsetMeshWeldTolerance(float value) voidsetMidphaseDesc(PxMidphaseDesc value) voidsetPlaneTolerance(float value) voidsetScale(PxTolerancesScale value) voidsetSuppressTriangleMeshRemapTable(boolean value) static PxCookingParamswrapPointer(long address) Methods 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
-
PxCookingParams
protected PxCookingParams() -
PxCookingParams
protected PxCookingParams(long address) -
PxCookingParams
- Parameters:
sc- WebIDL type:PxTolerancesScale[Const, Ref]
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getAreaTestEpsilon
public float getAreaTestEpsilon()- Returns:
- WebIDL type: float
-
setAreaTestEpsilon
public void setAreaTestEpsilon(float value) - Parameters:
value- WebIDL type: float
-
getPlaneTolerance
public float getPlaneTolerance()- Returns:
- WebIDL type: float
-
setPlaneTolerance
public void setPlaneTolerance(float value) - Parameters:
value- WebIDL type: float
-
getConvexMeshCookingType
- Returns:
- WebIDL type:
PxConvexMeshCookingTypeEnum[enum]
-
setConvexMeshCookingType
- Parameters:
value- WebIDL type:PxConvexMeshCookingTypeEnum[enum]
-
getSuppressTriangleMeshRemapTable
public boolean getSuppressTriangleMeshRemapTable()- Returns:
- WebIDL type: boolean
-
setSuppressTriangleMeshRemapTable
public void setSuppressTriangleMeshRemapTable(boolean value) - Parameters:
value- WebIDL type: boolean
-
getBuildTriangleAdjacencies
public boolean getBuildTriangleAdjacencies()- Returns:
- WebIDL type: boolean
-
setBuildTriangleAdjacencies
public void setBuildTriangleAdjacencies(boolean value) - Parameters:
value- WebIDL type: boolean
-
getBuildGPUData
public boolean getBuildGPUData()- Returns:
- WebIDL type: boolean
-
setBuildGPUData
public void setBuildGPUData(boolean value) - Parameters:
value- WebIDL type: boolean
-
getScale
- Returns:
- WebIDL type:
PxTolerancesScale[Value]
-
setScale
- Parameters:
value- WebIDL type:PxTolerancesScale[Value]
-
getMeshPreprocessParams
- Returns:
- WebIDL type:
PxMeshPreprocessingFlags[Value]
-
setMeshPreprocessParams
- Parameters:
value- WebIDL type:PxMeshPreprocessingFlags[Value]
-
getMeshWeldTolerance
public float getMeshWeldTolerance()- Returns:
- WebIDL type: float
-
setMeshWeldTolerance
public void setMeshWeldTolerance(float value) - Parameters:
value- WebIDL type: float
-
getMidphaseDesc
- Returns:
- WebIDL type:
PxMidphaseDesc[Value]
-
setMidphaseDesc
- Parameters:
value- WebIDL type:PxMidphaseDesc[Value]
-
getGaussMapLimit
public int getGaussMapLimit()- Returns:
- WebIDL type: unsigned long
-
setGaussMapLimit
public void setGaussMapLimit(int value) - Parameters:
value- WebIDL type: unsigned long
-