Class Raylib.PhysicsBody
java.lang.Object
org.bytedeco.javacpp.Pointer
com.raylib.Raylib.PhysicsBody
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
Raylib
public static class Raylib.PhysicsBody
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
ConstructorsConstructorDescriptionDefault native constructor.PhysicsBody(long size) Native array allocator.PhysicsBody(org.bytedeco.javacpp.Pointer p) Pointer cast constructor. -
Method Summary
Modifier and TypeMethodDescription_position(Raylib.Vector2 setter) floatangularVelocity(float setter) floatdynamicFriction(float setter) booleanenabled()enabled(boolean setter) force()force(Raylib.Vector2 setter) booleanfreezeOrient(boolean setter) getPointer(long i) intid()id(int setter) floatinertia()inertia(float setter) floatinverseInertia(float setter) floatinverseMass(float setter) booleanisGrounded(boolean setter) floatmass()mass(float setter) floatorient()orient(float setter) position(long position) floatrestitution(float setter) shape()shape(Raylib.PhysicsShape setter) floatstaticFriction(float setter) floattorque()torque(float setter) booleanuseGravity(boolean setter) velocity()velocity(Raylib.Vector2 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
-
PhysicsBody
public PhysicsBody()Default native constructor. -
PhysicsBody
public PhysicsBody(long size) Native array allocator. Access withPointer.position(long). -
PhysicsBody
public PhysicsBody(org.bytedeco.javacpp.Pointer p) Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Details
-
position
- Overrides:
positionin classorg.bytedeco.javacpp.Pointer
-
getPointer
- Overrides:
getPointerin classorg.bytedeco.javacpp.Pointer
-
id
@Cast("unsigned int") public int id() -
id
-
enabled
@Cast("bool") public boolean enabled() -
enabled
-
_position
-
_position
-
velocity
-
velocity
-
force
-
force
-
angularVelocity
public float angularVelocity() -
angularVelocity
-
torque
public float torque() -
torque
-
orient
public float orient() -
orient
-
inertia
public float inertia() -
inertia
-
inverseInertia
public float inverseInertia() -
inverseInertia
-
mass
public float mass() -
mass
-
inverseMass
public float inverseMass() -
inverseMass
-
staticFriction
public float staticFriction() -
staticFriction
-
dynamicFriction
public float dynamicFriction() -
dynamicFriction
-
restitution
public float restitution() -
restitution
-
useGravity
@Cast("bool") public boolean useGravity() -
useGravity
-
isGrounded
@Cast("bool") public boolean isGrounded() -
isGrounded
-
freezeOrient
@Cast("bool") public boolean freezeOrient() -
freezeOrient
-
shape
-
shape
-