Package org.lwjgl.assimp
Class AILight.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<AILight,AILight.Buffer>
-
- org.lwjgl.assimp.AILight.Buffer
-
- All Implemented Interfaces:
java.lang.Iterable<AILight>,org.lwjgl.system.Pointer
- Enclosing class:
- AILight
public static class AILight.Buffer extends org.lwjgl.system.StructBuffer<AILight,AILight.Buffer>
An array ofAILightstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatmAngleInnerCone()Returns the value of themAngleInnerConefield.floatmAngleOuterCone()Returns the value of themAngleOuterConefield.floatmAttenuationConstant()Returns the value of themAttenuationConstantfield.floatmAttenuationLinear()Returns the value of themAttenuationLinearfield.floatmAttenuationQuadratic()Returns the value of themAttenuationQuadraticfield.AIColor3DmColorAmbient()Returns aAIColor3Dview of themColorAmbientfield.AIColor3DmColorDiffuse()Returns aAIColor3Dview of themColorDiffusefield.AIColor3DmColorSpecular()Returns aAIColor3Dview of themColorSpecularfield.AIVector3DmDirection()Returns aAIVector3Dview of themDirectionfield.AIStringmName()Returns aAIStringview of themNamefield.AIVector3DmPosition()Returns aAIVector3Dview of themPositionfield.AIVector2DmSize()Returns aAIVector2Dview of themSizefield.intmType()Returns the value of themTypefield.AIVector3DmUp()Returns aAIVector3Dview of themUpfield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newAILight.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 byAILight.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
-
mType
public int mType()
Returns the value of themTypefield.
-
mPosition
public AIVector3D mPosition()
Returns aAIVector3Dview of themPositionfield.
-
mDirection
public AIVector3D mDirection()
Returns aAIVector3Dview of themDirectionfield.
-
mUp
public AIVector3D mUp()
Returns aAIVector3Dview of themUpfield.
-
mAttenuationConstant
public float mAttenuationConstant()
Returns the value of themAttenuationConstantfield.
-
mAttenuationLinear
public float mAttenuationLinear()
Returns the value of themAttenuationLinearfield.
-
mAttenuationQuadratic
public float mAttenuationQuadratic()
Returns the value of themAttenuationQuadraticfield.
-
mColorSpecular
public AIColor3D mColorSpecular()
Returns aAIColor3Dview of themColorSpecularfield.
-
mAngleInnerCone
public float mAngleInnerCone()
Returns the value of themAngleInnerConefield.
-
mAngleOuterCone
public float mAngleOuterCone()
Returns the value of themAngleOuterConefield.
-
mSize
public AIVector2D mSize()
Returns aAIVector2Dview of themSizefield.
-
-