@Properties(inherit=BulletCollision.class) public class btMaterialProperties extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
btMaterialProperties()
Default native constructor.
|
btMaterialProperties(long size)
Native array allocator.
|
btMaterialProperties(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
btMaterialProperties |
getPointer(long i) |
BytePointer |
m_materialBase() |
btMaterialProperties |
m_materialBase(BytePointer setter) |
int |
m_materialStride() |
btMaterialProperties |
m_materialStride(int setter) |
int |
m_materialType() |
btMaterialProperties |
m_materialType(int setter) |
int |
m_numMaterials()
m_materialBase ==========> 2 btScalar values make up one material, friction then restitution
|
btMaterialProperties |
m_numMaterials(int setter) |
int |
m_numTriangles()
m_numTriangles <=========== This exists in the btIndexedMesh object for the same subpart, but since we're
padding the structure, it can be reproduced at no real cost
m_triangleMaterials =====> 1 integer value makes up one entry
eg: m_triangleMaterials[1] = 5; // This will set triangle 2 to use material 5
|
btMaterialProperties |
m_numTriangles(int setter) |
BytePointer |
m_triangleMaterialsBase() |
btMaterialProperties |
m_triangleMaterialsBase(BytePointer setter) |
int |
m_triangleMaterialStride() |
btMaterialProperties |
m_triangleMaterialStride(int setter) |
int |
m_triangleType()
m_triangleType <========== Automatically set in addMaterialProperties
|
btMaterialProperties |
m_triangleType(int setter) |
btMaterialProperties |
position(long position) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic btMaterialProperties()
public btMaterialProperties(long size)
Pointer.position(long).public btMaterialProperties(Pointer p)
Pointer(Pointer).public btMaterialProperties position(long position)
public btMaterialProperties getPointer(long i)
getPointer in class Pointerpublic int m_numMaterials()
public btMaterialProperties m_numMaterials(int setter)
@Cast(value="const unsigned char*") public BytePointer m_materialBase()
public btMaterialProperties m_materialBase(BytePointer setter)
public int m_materialStride()
public btMaterialProperties m_materialStride(int setter)
public btMaterialProperties m_materialType(int setter)
public int m_numTriangles()
public btMaterialProperties m_numTriangles(int setter)
@Cast(value="const unsigned char*") public BytePointer m_triangleMaterialsBase()
public btMaterialProperties m_triangleMaterialsBase(BytePointer setter)
public int m_triangleMaterialStride()
public btMaterialProperties m_triangleMaterialStride(int setter)
@Cast(value="PHY_ScalarType") public int m_triangleType()
public btMaterialProperties m_triangleType(int setter)
Copyright © 2024. All rights reserved.