Package physx.geomutils
Class PxHeightFieldGeometry
- java.lang.Object
-
- physx.NativeObject
-
- physx.geomutils.PxGeometry
-
- physx.geomutils.PxHeightFieldGeometry
-
public class PxHeightFieldGeometry extends PxGeometry
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isExternallyAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description PxHeightFieldGeometry()protectedPxHeightFieldGeometry(long address)PxHeightFieldGeometry(PxHeightField hf, PxMeshGeometryFlags flags, float heightScale, float rowScale, float columnScale)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()floatgetColumnScale()PxHeightFieldgetHeightField()PxMeshGeometryFlagsgetHeightFieldFlags()floatgetHeightScale()floatgetRowScale()booleanisValid()voidsetColumnScale(float value)voidsetHeightField(PxHeightField value)voidsetHeightFieldFlags(PxMeshGeometryFlags value)voidsetHeightScale(float value)voidsetRowScale(float value)static PxHeightFieldGeometrywrapPointer(long address)-
Methods inherited from class physx.geomutils.PxGeometry
getType
-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Constructor Detail
-
PxHeightFieldGeometry
protected PxHeightFieldGeometry(long address)
-
PxHeightFieldGeometry
public PxHeightFieldGeometry()
-
PxHeightFieldGeometry
public PxHeightFieldGeometry(PxHeightField hf, PxMeshGeometryFlags flags, float heightScale, float rowScale, float columnScale)
- Parameters:
hf- WebIDL type:PxHeightFieldflags- WebIDL type:PxMeshGeometryFlags[Ref]heightScale- WebIDL type: floatrowScale- WebIDL type: floatcolumnScale- WebIDL type: float
-
-
Method Detail
-
wrapPointer
public static PxHeightFieldGeometry wrapPointer(long address)
-
destroy
public void destroy()
- Overrides:
destroyin classPxGeometry
-
getHeightField
public PxHeightField getHeightField()
- Returns:
- WebIDL type:
PxHeightField
-
setHeightField
public void setHeightField(PxHeightField value)
- Parameters:
value- WebIDL type:PxHeightField
-
getHeightScale
public float getHeightScale()
- Returns:
- WebIDL type: float
-
setHeightScale
public void setHeightScale(float value)
- Parameters:
value- WebIDL type: float
-
getRowScale
public float getRowScale()
- Returns:
- WebIDL type: float
-
setRowScale
public void setRowScale(float value)
- Parameters:
value- WebIDL type: float
-
getColumnScale
public float getColumnScale()
- Returns:
- WebIDL type: float
-
setColumnScale
public void setColumnScale(float value)
- Parameters:
value- WebIDL type: float
-
getHeightFieldFlags
public PxMeshGeometryFlags getHeightFieldFlags()
- Returns:
- WebIDL type:
PxMeshGeometryFlags[Value]
-
setHeightFieldFlags
public void setHeightFieldFlags(PxMeshGeometryFlags value)
- Parameters:
value- WebIDL type:PxMeshGeometryFlags[Value]
-
isValid
public boolean isValid()
- Returns:
- WebIDL type: boolean
-
-