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()Returns the value of themAspectfield.AICamera.BuffermAspect(float value)Sets the specified value to themAspectfield.floatmClipPlaneFar()Returns the value of themClipPlaneFarfield.AICamera.BuffermClipPlaneFar(float value)Sets the specified value to themClipPlaneFarfield.floatmClipPlaneNear()Returns the value of themClipPlaneNearfield.AICamera.BuffermClipPlaneNear(float value)Sets the specified value to themClipPlaneNearfield.floatmHorizontalFOV()Returns the value of themHorizontalFOVfield.AICamera.BuffermHorizontalFOV(float value)Sets the specified value to themHorizontalFOVfield.AIVector3DmLookAt()Returns aAIVector3Dview of themLookAtfield.AICamera.BuffermLookAt(java.util.function.Consumer<AIVector3D> consumer)Passes themLookAtfield to the specifiedConsumer.AICamera.BuffermLookAt(AIVector3D value)Copies the specifiedAIVector3Dto themLookAtfield.AIStringmName()Returns aAIStringview of themNamefield.AICamera.BuffermName(java.util.function.Consumer<AIString> consumer)Passes themNamefield to the specifiedConsumer.AICamera.BuffermName(AIString value)Copies the specifiedAIStringto themNamefield.AIVector3DmPosition()Returns aAIVector3Dview of themPositionfield.AICamera.BuffermPosition(java.util.function.Consumer<AIVector3D> consumer)Passes themPositionfield to the specifiedConsumer.AICamera.BuffermPosition(AIVector3D value)Copies the specifiedAIVector3Dto themPositionfield.AIVector3DmUp()Returns aAIVector3Dview of themUpfield.AICamera.BuffermUp(java.util.function.Consumer<AIVector3D> consumer)Passes themUpfield to the specifiedConsumer.AICamera.BuffermUp(AIVector3D value)Copies the specifiedAIVector3Dto themUpfield.
-
-
-
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
-
mPosition
public AIVector3D mPosition()
Returns aAIVector3Dview of themPositionfield.
-
mUp
public AIVector3D mUp()
Returns aAIVector3Dview of themUpfield.
-
mLookAt
public AIVector3D mLookAt()
Returns aAIVector3Dview of themLookAtfield.
-
mHorizontalFOV
public float mHorizontalFOV()
Returns the value of themHorizontalFOVfield.
-
mClipPlaneNear
public float mClipPlaneNear()
Returns the value of themClipPlaneNearfield.
-
mClipPlaneFar
public float mClipPlaneFar()
Returns the value of themClipPlaneFarfield.
-
mAspect
public float mAspect()
Returns the value of themAspectfield.
-
mName
public AICamera.Buffer mName(AIString value)
Copies the specifiedAIStringto themNamefield.
-
mName
public AICamera.Buffer mName(java.util.function.Consumer<AIString> consumer)
Passes themNamefield to the specifiedConsumer.
-
mPosition
public AICamera.Buffer mPosition(AIVector3D value)
Copies the specifiedAIVector3Dto themPositionfield.
-
mPosition
public AICamera.Buffer mPosition(java.util.function.Consumer<AIVector3D> consumer)
Passes themPositionfield to the specifiedConsumer.
-
mUp
public AICamera.Buffer mUp(AIVector3D value)
Copies the specifiedAIVector3Dto themUpfield.
-
mUp
public AICamera.Buffer mUp(java.util.function.Consumer<AIVector3D> consumer)
Passes themUpfield to the specifiedConsumer.
-
mLookAt
public AICamera.Buffer mLookAt(AIVector3D value)
Copies the specifiedAIVector3Dto themLookAtfield.
-
mLookAt
public AICamera.Buffer mLookAt(java.util.function.Consumer<AIVector3D> consumer)
Passes themLookAtfield to the specifiedConsumer.
-
mHorizontalFOV
public AICamera.Buffer mHorizontalFOV(float value)
Sets the specified value to themHorizontalFOVfield.
-
mClipPlaneNear
public AICamera.Buffer mClipPlaneNear(float value)
Sets the specified value to themClipPlaneNearfield.
-
mClipPlaneFar
public AICamera.Buffer mClipPlaneFar(float value)
Sets the specified value to themClipPlaneFarfield.
-
mAspect
public AICamera.Buffer mAspect(float value)
Sets the specified value to themAspectfield.
-
-