@Properties(inherit=liquidfun.class) public class b2WorldManifold extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
b2WorldManifold()
Default native constructor.
|
b2WorldManifold(long size)
Native array allocator.
|
b2WorldManifold(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
b2WorldManifold |
getPointer(long i) |
void |
Initialize(b2Manifold manifold,
b2Transform xfA,
float radiusA,
b2Transform xfB,
float radiusB)
Evaluate the manifold with supplied transforms.
|
b2Vec2 |
normal()
world vector pointing from A to B
|
b2WorldManifold |
normal(b2Vec2 setter) |
b2Vec2 |
points() |
b2Vec2 |
points(int i)
world contact point (point of intersection)
|
b2WorldManifold |
points(int i,
b2Vec2 setter) |
b2WorldManifold |
position(long position) |
FloatPointer |
separations() |
float |
separations(int i)
a negative value indicates overlap, in meters
|
b2WorldManifold |
separations(int i,
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 b2WorldManifold()
public b2WorldManifold(long size)
Pointer.position(long)
.public b2WorldManifold(Pointer p)
Pointer(Pointer)
.public b2WorldManifold position(long position)
public b2WorldManifold getPointer(long i)
getPointer
in class Pointer
public void Initialize(@Const b2Manifold manifold, @Const @ByRef b2Transform xfA, @Cast(value="float32") float radiusA, @Const @ByRef b2Transform xfB, @Cast(value="float32") float radiusB)
public b2WorldManifold normal(b2Vec2 setter)
public b2WorldManifold points(int i, b2Vec2 setter)
@MemberGetter public b2Vec2 points()
@Cast(value="float32") public float separations(int i)
public b2WorldManifold separations(int i, float setter)
@MemberGetter @Cast(value="float32*") public FloatPointer separations()
Copyright © 2022. All rights reserved.