@Properties(inherit=liquidfun.class) public class b2ParticleTriad extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
b2ParticleTriad()
Default native constructor.
|
b2ParticleTriad(long size)
Native array allocator.
|
b2ParticleTriad(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
flags()
The logical sum of the particle flags.
|
b2ParticleTriad |
flags(long setter) |
b2ParticleTriad |
getPointer(long i) |
int |
indexA()
Indices of the respective particles making triad.
|
b2ParticleTriad |
indexA(int setter) |
int |
indexB() |
b2ParticleTriad |
indexB(int setter) |
int |
indexC() |
b2ParticleTriad |
indexC(int setter) |
float |
ka() |
b2ParticleTriad |
ka(float setter) |
float |
kb() |
b2ParticleTriad |
kb(float setter) |
float |
kc() |
b2ParticleTriad |
kc(float setter) |
b2Vec2 |
pa()
Values used for calculation.
|
b2ParticleTriad |
pa(b2Vec2 setter) |
b2Vec2 |
pb() |
b2ParticleTriad |
pb(b2Vec2 setter) |
b2Vec2 |
pc() |
b2ParticleTriad |
pc(b2Vec2 setter) |
b2ParticleTriad |
position(long position) |
float |
s() |
b2ParticleTriad |
s(float setter) |
float |
strength()
The strength of cohesion among the particles.
|
b2ParticleTriad |
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 b2ParticleTriad()
public b2ParticleTriad(long size)
Pointer.position(long)
.public b2ParticleTriad(Pointer p)
Pointer(Pointer)
.public b2ParticleTriad position(long position)
public b2ParticleTriad getPointer(long i)
getPointer
in class Pointer
public b2ParticleTriad indexA(int setter)
public b2ParticleTriad indexB(int setter)
public b2ParticleTriad indexC(int setter)
@Cast(value="uint32") public long flags()
public b2ParticleTriad flags(long setter)
@Cast(value="float32") public float strength()
public b2ParticleTriad strength(float setter)
public b2ParticleTriad pa(b2Vec2 setter)
public b2ParticleTriad pb(b2Vec2 setter)
public b2ParticleTriad pc(b2Vec2 setter)
public b2ParticleTriad ka(float setter)
public b2ParticleTriad kb(float setter)
public b2ParticleTriad kc(float setter)
public b2ParticleTriad s(float setter)
Copyright © 2022. All rights reserved.