Package physx.vehicle
Class PxEngineTorqueLookupTable
- java.lang.Object
-
- physx.NativeObject
-
- physx.vehicle.PxEngineTorqueLookupTable
-
public class PxEngineTorqueLookupTable extends NativeObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isStackAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description PxEngineTorqueLookupTable()protectedPxEngineTorqueLookupTable(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPair(float x, float y)voidclear()voiddestroy()floatgetMDataPairs(int index)intgetMNbDataPairs()intgetNbDataPairs()floatgetX(int i)floatgetY(int i)floatgetYVal(float x)voidsetMDataPairs(int index, float value)voidsetMNbDataPairs(int value)static PxEngineTorqueLookupTablewrapPointer(long address)-
Methods inherited from class physx.NativeObject
getAddress
-
-
-
-
Method Detail
-
wrapPointer
public static PxEngineTorqueLookupTable wrapPointer(long address)
-
destroy
public void destroy()
-
getMDataPairs
public float getMDataPairs(int index)
- Parameters:
index- Array index- Returns:
- float
-
setMDataPairs
public void setMDataPairs(int index, float value)- Parameters:
index- Array indexvalue- float
-
getMNbDataPairs
public int getMNbDataPairs()
- Returns:
- unsigned long
-
setMNbDataPairs
public void setMNbDataPairs(int value)
- Parameters:
value- unsigned long
-
addPair
public void addPair(float x, float y)- Parameters:
x- floaty- float
-
getYVal
public float getYVal(float x)
- Parameters:
x- float- Returns:
- float
-
getNbDataPairs
public int getNbDataPairs()
- Returns:
- unsigned long
-
clear
public void clear()
-
getX
public float getX(int i)
- Parameters:
i- unsigned long- Returns:
- float
-
getY
public float getY(int i)
- Parameters:
i- unsigned long- Returns:
- float
-
-