@Properties(inherit=liquidfun.class) public class b2ParticlePair extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
b2ParticlePair()
Default native constructor.
|
b2ParticlePair(long size)
Native array allocator.
|
b2ParticlePair(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
float |
distance()
The initial distance of the particles.
|
b2ParticlePair |
distance(float setter) |
long |
flags()
The logical sum of the particle flags.
|
b2ParticlePair |
flags(long setter) |
b2ParticlePair |
getPointer(long i) |
int |
indexA()
Indices of the respective particles making pair.
|
b2ParticlePair |
indexA(int setter) |
int |
indexB() |
b2ParticlePair |
indexB(int setter) |
b2ParticlePair |
position(long position) |
float |
strength()
The strength of cohesion among the particles.
|
b2ParticlePair |
strength(float setter) |
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, zero
public b2ParticlePair()
public b2ParticlePair(long size)
Pointer.position(long)
.public b2ParticlePair(Pointer p)
Pointer(Pointer)
.public b2ParticlePair position(long position)
public b2ParticlePair getPointer(long i)
getPointer
in class Pointer
public b2ParticlePair indexA(int setter)
public b2ParticlePair indexB(int setter)
@Cast(value="uint32") public long flags()
public b2ParticlePair flags(long setter)
@Cast(value="float32") public float strength()
public b2ParticlePair strength(float setter)
public b2ParticlePair distance(float setter)
Copyright © 2022. All rights reserved.