Class Raylib.PhysicsShape
java.lang.Object
org.bytedeco.javacpp.Pointer
com.raylib.Raylib.PhysicsShape
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
Raylib
public static class Raylib.PhysicsShape
extends org.bytedeco.javacpp.Pointer
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer
org.bytedeco.javacpp.Pointer.CustomDeallocator, org.bytedeco.javacpp.Pointer.Deallocator, org.bytedeco.javacpp.Pointer.NativeDeallocator, org.bytedeco.javacpp.Pointer.ReferenceCounter
-
Field Summary
Fields inherited from class org.bytedeco.javacpp.Pointer
address, capacity, limit, position
-
Constructor Summary
ConstructorDescriptionDefault native constructor.PhysicsShape
(long size) Native array allocator.PhysicsShape
(org.bytedeco.javacpp.Pointer p) Pointer cast constructor. -
Method Summary
Modifier and TypeMethodDescriptionbody()
body
(Raylib.PhysicsBody setter) getPointer
(long i) position
(long position) float
radius()
radius
(float setter) transform
(Raylib.Matrix2x2 setter) int
type()
type
(int setter) vertexData
(Raylib.PhysicsVertexData setter) Methods inherited from class org.bytedeco.javacpp.Pointer
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
-
Constructor Details
-
PhysicsShape
public PhysicsShape()Default native constructor. -
PhysicsShape
public PhysicsShape(long size) Native array allocator. Access withPointer.position(long)
. -
PhysicsShape
public PhysicsShape(org.bytedeco.javacpp.Pointer p) Pointer cast constructor. InvokesPointer(Pointer)
.
-
-
Method Details
-
position
- Overrides:
position
in classorg.bytedeco.javacpp.Pointer
-
getPointer
- Overrides:
getPointer
in classorg.bytedeco.javacpp.Pointer
-
type
@Cast("PhysicsShapeType") public int type() -
type
-
body
-
body
-
vertexData
-
vertexData
-
radius
public float radius() -
radius
-
transform
-
transform
-