@NoOffset @Properties(inherit=liquidfun.class) public class b2DistanceProxy extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
b2DistanceProxy() |
b2DistanceProxy(long size)
Native array allocator.
|
b2DistanceProxy(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
b2DistanceProxy |
getPointer(long i) |
int |
GetSupport(b2Vec2 d)
Get the supporting vertex index in the given direction.
|
b2Vec2 |
GetSupportVertex(b2Vec2 d)
Get the supporting vertex in the given direction.
|
b2Vec2 |
GetVertex(int index)
Get a vertex by index.
|
int |
GetVertexCount()
Get the vertex count.
|
b2Vec2 |
m_buffer() |
b2Vec2 |
m_buffer(int i) |
b2DistanceProxy |
m_buffer(int i,
b2Vec2 setter) |
int |
m_count() |
b2DistanceProxy |
m_count(int setter) |
float |
m_radius() |
b2DistanceProxy |
m_radius(float setter) |
b2Vec2 |
m_vertices() |
b2DistanceProxy |
m_vertices(b2Vec2 setter) |
b2DistanceProxy |
position(long position) |
void |
Set(b2Shape shape,
int index)
Initialize the proxy using the given shape.
|
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 b2DistanceProxy(Pointer p)
Pointer(Pointer)
.public b2DistanceProxy(long size)
Pointer.position(long)
.public b2DistanceProxy()
public b2DistanceProxy position(long position)
public b2DistanceProxy getPointer(long i)
getPointer
in class Pointer
public void Set(@Const b2Shape shape, @Cast(value="int32") int index)
@Cast(value="int32") public int GetSupport(@Const @ByRef b2Vec2 d)
@Const @ByRef public b2Vec2 GetSupportVertex(@Const @ByRef b2Vec2 d)
@Const @ByRef public b2Vec2 GetVertex(@Cast(value="int32") int index)
public b2DistanceProxy m_buffer(int i, b2Vec2 setter)
@MemberGetter public b2Vec2 m_buffer()
public b2DistanceProxy m_vertices(b2Vec2 setter)
public b2DistanceProxy m_count(int setter)
public b2DistanceProxy m_radius(float setter)
Copyright © 2022. All rights reserved.