Package gaia.cu9.ari.gaiaorbit.util.gdx
Class IntMeshPartBuilder.VertexInfo
- java.lang.Object
-
- gaia.cu9.ari.gaiaorbit.util.gdx.IntMeshPartBuilder.VertexInfo
-
- All Implemented Interfaces:
com.badlogic.gdx.utils.Pool.Poolable
- Enclosing interface:
- IntMeshPartBuilder
public static class IntMeshPartBuilder.VertexInfo extends java.lang.Object implements com.badlogic.gdx.utils.Pool.Poolable
Class that contains all vertex information the builder can use.
-
-
Field Summary
Fields Modifier and Type Field Description com.badlogic.gdx.math.Vector3
binormal
com.badlogic.gdx.graphics.Color
color
boolean
hasBinormal
boolean
hasColor
boolean
hasNormal
boolean
hasPosition
boolean
hasTangent
boolean
hasUV
com.badlogic.gdx.math.Vector3
normal
com.badlogic.gdx.math.Vector3
position
com.badlogic.gdx.math.Vector3
tangent
com.badlogic.gdx.math.Vector2
uv
-
Constructor Summary
Constructors Constructor Description VertexInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntMeshPartBuilder.VertexInfo
lerp(IntMeshPartBuilder.VertexInfo target, float alpha)
void
reset()
IntMeshPartBuilder.VertexInfo
set(com.badlogic.gdx.math.Vector3 pos, com.badlogic.gdx.math.Vector3 nor, com.badlogic.gdx.graphics.Color col, com.badlogic.gdx.math.Vector2 uv)
IntMeshPartBuilder.VertexInfo
set(com.badlogic.gdx.math.Vector3 pos, com.badlogic.gdx.math.Vector3 nor, com.badlogic.gdx.math.Vector3 tan, com.badlogic.gdx.math.Vector3 bin, com.badlogic.gdx.graphics.Color col, com.badlogic.gdx.math.Vector2 uv)
IntMeshPartBuilder.VertexInfo
set(IntMeshPartBuilder.VertexInfo other)
IntMeshPartBuilder.VertexInfo
setBin(float x, float y, float z)
IntMeshPartBuilder.VertexInfo
setBin(com.badlogic.gdx.math.Vector3 bin)
IntMeshPartBuilder.VertexInfo
setCol(float r, float g, float b, float a)
IntMeshPartBuilder.VertexInfo
setCol(com.badlogic.gdx.graphics.Color col)
IntMeshPartBuilder.VertexInfo
setNor(float x, float y, float z)
IntMeshPartBuilder.VertexInfo
setNor(com.badlogic.gdx.math.Vector3 nor)
IntMeshPartBuilder.VertexInfo
setPos(float x, float y, float z)
IntMeshPartBuilder.VertexInfo
setPos(com.badlogic.gdx.math.Vector3 pos)
IntMeshPartBuilder.VertexInfo
setTan(float x, float y, float z)
IntMeshPartBuilder.VertexInfo
setTan(com.badlogic.gdx.math.Vector3 tan)
IntMeshPartBuilder.VertexInfo
setUV(float u, float v)
IntMeshPartBuilder.VertexInfo
setUV(com.badlogic.gdx.math.Vector2 uv)
-
-
-
Field Detail
-
position
public final com.badlogic.gdx.math.Vector3 position
-
hasPosition
public boolean hasPosition
-
normal
public final com.badlogic.gdx.math.Vector3 normal
-
hasNormal
public boolean hasNormal
-
tangent
public final com.badlogic.gdx.math.Vector3 tangent
-
hasTangent
public boolean hasTangent
-
binormal
public final com.badlogic.gdx.math.Vector3 binormal
-
hasBinormal
public boolean hasBinormal
-
color
public final com.badlogic.gdx.graphics.Color color
-
hasColor
public boolean hasColor
-
uv
public final com.badlogic.gdx.math.Vector2 uv
-
hasUV
public boolean hasUV
-
-
Method Detail
-
reset
public void reset()
- Specified by:
reset
in interfacecom.badlogic.gdx.utils.Pool.Poolable
-
set
public IntMeshPartBuilder.VertexInfo set(com.badlogic.gdx.math.Vector3 pos, com.badlogic.gdx.math.Vector3 nor, com.badlogic.gdx.graphics.Color col, com.badlogic.gdx.math.Vector2 uv)
-
set
public IntMeshPartBuilder.VertexInfo set(com.badlogic.gdx.math.Vector3 pos, com.badlogic.gdx.math.Vector3 nor, com.badlogic.gdx.math.Vector3 tan, com.badlogic.gdx.math.Vector3 bin, com.badlogic.gdx.graphics.Color col, com.badlogic.gdx.math.Vector2 uv)
-
set
public IntMeshPartBuilder.VertexInfo set(IntMeshPartBuilder.VertexInfo other)
-
setPos
public IntMeshPartBuilder.VertexInfo setPos(float x, float y, float z)
-
setPos
public IntMeshPartBuilder.VertexInfo setPos(com.badlogic.gdx.math.Vector3 pos)
-
setNor
public IntMeshPartBuilder.VertexInfo setNor(float x, float y, float z)
-
setNor
public IntMeshPartBuilder.VertexInfo setNor(com.badlogic.gdx.math.Vector3 nor)
-
setTan
public IntMeshPartBuilder.VertexInfo setTan(float x, float y, float z)
-
setTan
public IntMeshPartBuilder.VertexInfo setTan(com.badlogic.gdx.math.Vector3 tan)
-
setBin
public IntMeshPartBuilder.VertexInfo setBin(float x, float y, float z)
-
setBin
public IntMeshPartBuilder.VertexInfo setBin(com.badlogic.gdx.math.Vector3 bin)
-
setCol
public IntMeshPartBuilder.VertexInfo setCol(float r, float g, float b, float a)
-
setCol
public IntMeshPartBuilder.VertexInfo setCol(com.badlogic.gdx.graphics.Color col)
-
setUV
public IntMeshPartBuilder.VertexInfo setUV(float u, float v)
-
setUV
public IntMeshPartBuilder.VertexInfo setUV(com.badlogic.gdx.math.Vector2 uv)
-
lerp
public IntMeshPartBuilder.VertexInfo lerp(IntMeshPartBuilder.VertexInfo target, float alpha)
-
-