public final class VertexData extends java.lang.Object implements IData<VertexData>, IDestroyable
| Modifier and Type | Field and Description |
|---|---|
VecByteArray |
colors
Colors
|
boolean |
customAnimated
Custom animated
|
MorphData |
morph
Morphing
|
MorphTargets |
morphTargets |
Vec3Array |
normals
Normals
|
boolean |
physic
Controlled by physic ?
|
Vec3Array |
positions
Positions
|
HwData |
rendererData |
SkinData |
skin
Skinning
|
Vec3Array |
tangents
Tangents
|
Vec2Array |
texCoords
Texture Coordinates
|
Vec2Array |
texCoords2 |
| Constructor and Description |
|---|
VertexData() |
| Modifier and Type | Method and Description |
|---|---|
VertexData |
clone() |
void |
destroy(IGLApi glApi) |
Vec3Array |
getBindPoseNrm() |
Vec3Array |
getBindPosePos() |
Vec3Array |
getBindPoseTan() |
int |
getNumVertices() |
boolean |
hasColors() |
boolean |
hasMorphing() |
boolean |
hasMorphTargets() |
boolean |
hasNormals() |
boolean |
hasSkinning() |
boolean |
hasTangents() |
boolean |
hasTexCoords() |
boolean |
hasTexCoords2() |
VertexData |
interpolate(VertexData current,
VertexData next,
float t)
Interpolate
current and next and store result in this. |
boolean |
isStatic() |
VertexData |
mapIndices(int[] oldToNewIndex,
int newNumIndices) |
boolean |
multiply(Mat4x4 matrix) |
VertexData |
set(VertexData from) |
void |
subtract(VertexData vertexData) |
public Vec3Array positions
public Vec2Array texCoords
public Vec2Array texCoords2
public VecByteArray colors
public Vec3Array normals
public Vec3Array tangents
public SkinData skin
public MorphData morph
public MorphTargets morphTargets
public boolean physic
public boolean customAnimated
public HwData rendererData
public final VertexData set(VertexData from)
set in interface IValueCopy<VertexData>public final VertexData clone()
clone in interface IData<VertexData>clone in interface IValueCopy<VertexData>clone in class java.lang.Objectpublic final VertexData mapIndices(int[] oldToNewIndex, int newNumIndices)
public void destroy(IGLApi glApi)
destroy in interface IDestroyablepublic final boolean hasTexCoords()
public final boolean hasTexCoords2()
public final boolean hasColors()
public final boolean hasNormals()
public final boolean hasTangents()
public final boolean hasMorphing()
public final boolean hasMorphTargets()
public final boolean hasSkinning()
public final boolean isStatic()
public final int getNumVertices()
public VertexData interpolate(VertexData current, VertexData next, float t)
IInterpolablecurrent and next and store result in this.interpolate in interface IInterpolable<VertexData>interpolate in interface IData<VertexData>next - must be different to thiscurrent - current valuet - interpolation percent in range [0;1]public final boolean multiply(Mat4x4 matrix)
public final void subtract(VertexData vertexData)
public final Vec3Array getBindPosePos()
public final Vec3Array getBindPoseNrm()
public final Vec3Array getBindPoseTan()
Bonzai Engine 1.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com