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 ofAICamera
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
mAspect()
AICamera.Buffer
mAspect(float value)
Sets the specified value to theAICamera.mAspect()
field.float
mClipPlaneFar()
AICamera.Buffer
mClipPlaneFar(float value)
Sets the specified value to theAICamera.mClipPlaneFar()
field.float
mClipPlaneNear()
AICamera.Buffer
mClipPlaneNear(float value)
Sets the specified value to theAICamera.mClipPlaneNear()
field.float
mHorizontalFOV()
AICamera.Buffer
mHorizontalFOV(float value)
Sets the specified value to theAICamera.mHorizontalFOV()
field.AIVector3D
mLookAt()
AICamera.Buffer
mLookAt(java.util.function.Consumer<AIVector3D> consumer)
Passes theAICamera.mLookAt()
field to the specifiedConsumer
.AICamera.Buffer
mLookAt(AIVector3D value)
Copies the specifiedAIVector3D
to theAICamera.mLookAt()
field.AIString
mName()
AICamera.Buffer
mName(java.util.function.Consumer<AIString> consumer)
Passes theAICamera.mName()
field to the specifiedConsumer
.AICamera.Buffer
mName(AIString value)
Copies the specifiedAIString
to theAICamera.mName()
field.float
mOrthographicWidth()
AICamera.Buffer
mOrthographicWidth(float value)
Sets the specified value to theAICamera.mOrthographicWidth()
field.AIVector3D
mPosition()
AICamera.Buffer
mPosition(java.util.function.Consumer<AIVector3D> consumer)
Passes theAICamera.mPosition()
field to the specifiedConsumer
.AICamera.Buffer
mPosition(AIVector3D value)
Copies the specifiedAIVector3D
to theAICamera.mPosition()
field.AIVector3D
mUp()
AICamera.Buffer
mUp(java.util.function.Consumer<AIVector3D> consumer)
Passes theAICamera.mUp()
field to the specifiedConsumer
.AICamera.Buffer
mUp(AIVector3D value)
Copies the specifiedAIVector3D
to theAICamera.mUp()
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newAICamera.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 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
AIString
view of theAICamera.mName()
field.
-
mPosition
public AIVector3D mPosition()
- Returns:
- a
AIVector3D
view of theAICamera.mPosition()
field.
-
mUp
public AIVector3D mUp()
- Returns:
- a
AIVector3D
view of theAICamera.mUp()
field.
-
mLookAt
public AIVector3D mLookAt()
- Returns:
- a
AIVector3D
view 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 specifiedAIString
to 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 specifiedAIVector3D
to 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 specifiedAIVector3D
to 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 specifiedAIVector3D
to 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.
-
-