Package org.lwjgl.assimp
Class AICamera.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<AICamera>
,NativeResource
,Pointer
- Enclosing class:
AICamera
public static class AICamera.Buffer
extends StructBuffer<AICamera,AICamera.Buffer>
implements NativeResource
An array of
AICamera
structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(long address, int cap) Buffer
(ByteBuffer container) Creates a newAICamera.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionfloat
mAspect()
mAspect
(float value) Sets the specified value to themAspect
field.float
mClipPlaneFar
(float value) Sets the specified value to themClipPlaneFar
field.float
mClipPlaneNear
(float value) Sets the specified value to themClipPlaneNear
field.float
mHorizontalFOV
(float value) Sets the specified value to themHorizontalFOV
field.mLookAt()
mLookAt
(Consumer<AIVector3D> consumer) Passes themLookAt
field to the specifiedConsumer
.mLookAt
(AIVector3D value) Copies the specifiedAIVector3D
to themLookAt
field.mName()
Passes themName
field to the specifiedConsumer
.Copies the specifiedAIString
to themName
field.float
mOrthographicWidth
(float value) Sets the specified value to themOrthographicWidth
field.mPosition
(Consumer<AIVector3D> consumer) Passes themPosition
field to the specifiedConsumer
.mPosition
(AIVector3D value) Copies the specifiedAIVector3D
to themPosition
field.mUp()
mUp
(Consumer<AIVector3D> consumer) Passes themUp
field to the specifiedConsumer
.mUp
(AIVector3D value) Copies the specifiedAIVector3D
to themUp
field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
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 by
AICamera.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 Details
-
mName
- Returns:
- a
AIString
view of themName
field.
-
mPosition
- Returns:
- a
AIVector3D
view of themPosition
field.
-
mUp
- Returns:
- a
AIVector3D
view of themUp
field.
-
mLookAt
- Returns:
- a
AIVector3D
view of themLookAt
field.
-
mHorizontalFOV
public float mHorizontalFOV()- Returns:
- the value of the
mHorizontalFOV
field.
-
mClipPlaneNear
public float mClipPlaneNear()- Returns:
- the value of the
mClipPlaneNear
field.
-
mClipPlaneFar
public float mClipPlaneFar()- Returns:
- the value of the
mClipPlaneFar
field.
-
mAspect
public float mAspect()- Returns:
- the value of the
mAspect
field.
-
mOrthographicWidth
public float mOrthographicWidth()- Returns:
- the value of the
mOrthographicWidth
field.
-
mName
Copies the specifiedAIString
to themName
field. -
mName
Passes themName
field to the specifiedConsumer
. -
mPosition
Copies the specifiedAIVector3D
to themPosition
field. -
mPosition
Passes themPosition
field to the specifiedConsumer
. -
mUp
Copies the specifiedAIVector3D
to themUp
field. -
mUp
Passes themUp
field to the specifiedConsumer
. -
mLookAt
Copies the specifiedAIVector3D
to themLookAt
field. -
mLookAt
Passes themLookAt
field to the specifiedConsumer
. -
mHorizontalFOV
Sets the specified value to themHorizontalFOV
field. -
mClipPlaneNear
Sets the specified value to themClipPlaneNear
field. -
mClipPlaneFar
Sets the specified value to themClipPlaneFar
field. -
mAspect
Sets the specified value to themAspect
field. -
mOrthographicWidth
Sets the specified value to themOrthographicWidth
field.
-