public static class AICamera.Buffer extends org.lwjgl.system.StructBuffer<AICamera,AICamera.Buffer> implements org.lwjgl.system.NativeResource
AICamera structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
AICamera.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
float |
mAspect()
Returns the value of the
mAspect field. |
AICamera.Buffer |
mAspect(float value)
Sets the specified value to the
mAspect field. |
float |
mClipPlaneFar()
Returns the value of the
mClipPlaneFar field. |
AICamera.Buffer |
mClipPlaneFar(float value)
Sets the specified value to the
mClipPlaneFar field. |
float |
mClipPlaneNear()
Returns the value of the
mClipPlaneNear field. |
AICamera.Buffer |
mClipPlaneNear(float value)
Sets the specified value to the
mClipPlaneNear field. |
float |
mHorizontalFOV()
Returns the value of the
mHorizontalFOV field. |
AICamera.Buffer |
mHorizontalFOV(float value)
Sets the specified value to the
mHorizontalFOV field. |
AIVector3D |
mLookAt()
Returns a
AIVector3D view of the mLookAt field. |
AICamera.Buffer |
mLookAt(AIVector3D value)
Copies the specified
AIVector3D to the mLookAt field. |
AICamera.Buffer |
mLookAt(java.util.function.Consumer<AIVector3D> consumer)
Passes the
mLookAt field to the specified Consumer. |
AIString |
mName()
Returns a
AIString view of the mName field. |
AICamera.Buffer |
mName(AIString value)
Copies the specified
AIString to the mName field. |
AICamera.Buffer |
mName(java.util.function.Consumer<AIString> consumer)
Passes the
mName field to the specified Consumer. |
AIVector3D |
mPosition()
Returns a
AIVector3D view of the mPosition field. |
AICamera.Buffer |
mPosition(AIVector3D value)
Copies the specified
AIVector3D to the mPosition field. |
AICamera.Buffer |
mPosition(java.util.function.Consumer<AIVector3D> consumer)
Passes the
mPosition field to the specified Consumer. |
AIVector3D |
mUp()
Returns a
AIVector3D view of the mUp field. |
AICamera.Buffer |
mUp(AIVector3D value)
Copies the specified
AIVector3D to the mUp field. |
AICamera.Buffer |
mUp(java.util.function.Consumer<AIVector3D> consumer)
Passes the
mUp field to the specified Consumer. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
AICamera.Buffer instance backed by the specified container.
Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by AICamera.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public AIVector3D mPosition()
AIVector3D view of the mPosition field.public AIVector3D mUp()
AIVector3D view of the mUp field.public AIVector3D mLookAt()
AIVector3D view of the mLookAt field.public float mHorizontalFOV()
mHorizontalFOV field.public float mClipPlaneNear()
mClipPlaneNear field.public float mClipPlaneFar()
mClipPlaneFar field.public float mAspect()
mAspect field.public AICamera.Buffer mName(AIString value)
AIString to the mName field.public AICamera.Buffer mName(java.util.function.Consumer<AIString> consumer)
mName field to the specified Consumer.public AICamera.Buffer mPosition(AIVector3D value)
AIVector3D to the mPosition field.public AICamera.Buffer mPosition(java.util.function.Consumer<AIVector3D> consumer)
mPosition field to the specified Consumer.public AICamera.Buffer mUp(AIVector3D value)
AIVector3D to the mUp field.public AICamera.Buffer mUp(java.util.function.Consumer<AIVector3D> consumer)
mUp field to the specified Consumer.public AICamera.Buffer mLookAt(AIVector3D value)
AIVector3D to the mLookAt field.public AICamera.Buffer mLookAt(java.util.function.Consumer<AIVector3D> consumer)
mLookAt field to the specified Consumer.public AICamera.Buffer mHorizontalFOV(float value)
mHorizontalFOV field.public AICamera.Buffer mClipPlaneNear(float value)
mClipPlaneNear field.public AICamera.Buffer mClipPlaneFar(float value)
mClipPlaneFar field.public AICamera.Buffer mAspect(float value)
mAspect field.Copyright LWJGL. All Rights Reserved. License terms.