Package org.lwjgl.assimp
Class AICamera.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<AICamera,AICamera.Buffer>
-
- org.lwjgl.assimp.AICamera.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<AICamera>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- AICamera
public static class AICamera.Buffer extends org.lwjgl.system.StructBuffer<AICamera,AICamera.Buffer> implements org.lwjgl.system.NativeResource
An array ofAICamerastructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatmAspect()AICamera.BuffermAspect(float value)Sets the specified value to theAICamera.mAspect()field.floatmClipPlaneFar()AICamera.BuffermClipPlaneFar(float value)Sets the specified value to theAICamera.mClipPlaneFar()field.floatmClipPlaneNear()AICamera.BuffermClipPlaneNear(float value)Sets the specified value to theAICamera.mClipPlaneNear()field.floatmHorizontalFOV()AICamera.BuffermHorizontalFOV(float value)Sets the specified value to theAICamera.mHorizontalFOV()field.AIVector3DmLookAt()AICamera.BuffermLookAt(java.util.function.Consumer<AIVector3D> consumer)Passes theAICamera.mLookAt()field to the specifiedConsumer.AICamera.BuffermLookAt(AIVector3D value)Copies the specifiedAIVector3Dto theAICamera.mLookAt()field.AIStringmName()AICamera.BuffermName(java.util.function.Consumer<AIString> consumer)Passes theAICamera.mName()field to the specifiedConsumer.AICamera.BuffermName(AIString value)Copies the specifiedAIStringto theAICamera.mName()field.floatmOrthographicWidth()AICamera.BuffermOrthographicWidth(float value)Sets the specified value to theAICamera.mOrthographicWidth()field.AIVector3DmPosition()AICamera.BuffermPosition(java.util.function.Consumer<AIVector3D> consumer)Passes theAICamera.mPosition()field to the specifiedConsumer.AICamera.BuffermPosition(AIVector3D value)Copies the specifiedAIVector3Dto theAICamera.mPosition()field.AIVector3DmUp()AICamera.BuffermUp(java.util.function.Consumer<AIVector3D> consumer)Passes theAICamera.mUp()field to the specifiedConsumer.AICamera.BuffermUp(AIVector3D value)Copies the specifiedAIVector3Dto theAICamera.mUp()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newAICamera.Bufferinstance 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 byAICamera.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
mName
public AIString mName()
- Returns:
- a
AIStringview of theAICamera.mName()field.
-
mPosition
public AIVector3D mPosition()
- Returns:
- a
AIVector3Dview of theAICamera.mPosition()field.
-
mUp
public AIVector3D mUp()
- Returns:
- a
AIVector3Dview of theAICamera.mUp()field.
-
mLookAt
public AIVector3D mLookAt()
- Returns:
- a
AIVector3Dview of theAICamera.mLookAt()field.
-
mHorizontalFOV
public float mHorizontalFOV()
- Returns:
- the value of the
AICamera.mHorizontalFOV()field.
-
mClipPlaneNear
public float mClipPlaneNear()
- Returns:
- the value of the
AICamera.mClipPlaneNear()field.
-
mClipPlaneFar
public float mClipPlaneFar()
- Returns:
- the value of the
AICamera.mClipPlaneFar()field.
-
mAspect
public float mAspect()
- Returns:
- the value of the
AICamera.mAspect()field.
-
mOrthographicWidth
public float mOrthographicWidth()
- Returns:
- the value of the
AICamera.mOrthographicWidth()field.
-
mName
public AICamera.Buffer mName(AIString value)
Copies the specifiedAIStringto theAICamera.mName()field.
-
mName
public AICamera.Buffer mName(java.util.function.Consumer<AIString> consumer)
Passes theAICamera.mName()field to the specifiedConsumer.
-
mPosition
public AICamera.Buffer mPosition(AIVector3D value)
Copies the specifiedAIVector3Dto theAICamera.mPosition()field.
-
mPosition
public AICamera.Buffer mPosition(java.util.function.Consumer<AIVector3D> consumer)
Passes theAICamera.mPosition()field to the specifiedConsumer.
-
mUp
public AICamera.Buffer mUp(AIVector3D value)
Copies the specifiedAIVector3Dto theAICamera.mUp()field.
-
mUp
public AICamera.Buffer mUp(java.util.function.Consumer<AIVector3D> consumer)
Passes theAICamera.mUp()field to the specifiedConsumer.
-
mLookAt
public AICamera.Buffer mLookAt(AIVector3D value)
Copies the specifiedAIVector3Dto theAICamera.mLookAt()field.
-
mLookAt
public AICamera.Buffer mLookAt(java.util.function.Consumer<AIVector3D> consumer)
Passes theAICamera.mLookAt()field to the specifiedConsumer.
-
mHorizontalFOV
public AICamera.Buffer mHorizontalFOV(float value)
Sets the specified value to theAICamera.mHorizontalFOV()field.
-
mClipPlaneNear
public AICamera.Buffer mClipPlaneNear(float value)
Sets the specified value to theAICamera.mClipPlaneNear()field.
-
mClipPlaneFar
public AICamera.Buffer mClipPlaneFar(float value)
Sets the specified value to theAICamera.mClipPlaneFar()field.
-
mAspect
public AICamera.Buffer mAspect(float value)
Sets the specified value to theAICamera.mAspect()field.
-
mOrthographicWidth
public AICamera.Buffer mOrthographicWidth(float value)
Sets the specified value to theAICamera.mOrthographicWidth()field.
-
-