Class GLTFTypes
java.lang.Object
gaiasky.util.gdx.model.gltf.loaders.shared.GLTFTypes
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intaccessorComponentTypeSize(GLTFAccessor accessor) static intaccessorSize(GLTFAccessor accessor) static intaccessorStrideSize(GLTFAccessor accessor) static intaccessorTypeSize(GLTFAccessor accessor) static booleanisMipMapFilter(GLTFSampler sampler) static com.badlogic.gdx.math.Quaternionmap(com.badlogic.gdx.math.Quaternion q, float[] fv) static com.badlogic.gdx.math.Quaternionmap(com.badlogic.gdx.math.Quaternion q, float[] fv, int offset) static com.badlogic.gdx.math.Vector3map(com.badlogic.gdx.math.Vector3 v, float[] fv) static com.badlogic.gdx.math.Vector3map(com.badlogic.gdx.math.Vector3 v, float[] fv, int offset) static com.badlogic.gdx.graphics.Cameramap(GLTFCamera glCamera) static CubicQuaternionmap(CubicQuaternion v, float[] fv, int offset) static CubicVector3map(CubicVector3 v, float[] fv, int offset) static CubicWeightVectormap(CubicWeightVector w, float[] outputData, int offset) https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#animations end of chapter : When used with CUBICSPLINE interpolation, tangents (ak, bk) and values (vk) are grouped within keyframes: a1,a2,...an,v1,v2,...vn,b1,b2,...bnstatic WeightVectormap(WeightVector w, float[] outputData, int offset) static com.badlogic.gdx.graphics.ColormapColor(float[] c, com.badlogic.gdx.graphics.Color defaultColor) static InterpolationmapInterpolation(String type) static intmapPrimitiveMode(Integer glMode) https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#primitivemodestatic com.badlogic.gdx.graphics.Texture.TextureFiltermapTextureMagFilter(Integer filter) static com.badlogic.gdx.graphics.Texture.TextureFiltermapTextureMinFilter(Integer filter) static voidmapTextureSampler(com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter textureParameter) static voidmapTextureSampler(com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter textureParameter, GLTFSampler glSampler) static voidmapTextureSampler(com.badlogic.gdx.graphics.g3d.utils.TextureDescriptor<com.badlogic.gdx.graphics.Texture> textureDescriptor, GLTFSampler glSampler)
-
Field Details
-
TYPE_SCALAR
- See Also:
-
TYPE_VEC2
- See Also:
-
TYPE_VEC3
- See Also:
-
TYPE_VEC4
- See Also:
-
TYPE_MAT2
- See Also:
-
TYPE_MAT3
- See Also:
-
TYPE_MAT4
- See Also:
-
C_BYTE
public static final int C_BYTE- See Also:
-
C_UBYTE
public static final int C_UBYTE- See Also:
-
C_SHORT
public static final int C_SHORT- See Also:
-
C_USHORT
public static final int C_USHORT- See Also:
-
C_UINT
public static final int C_UINT- See Also:
-
C_FLOAT
public static final int C_FLOAT- See Also:
-
-
Constructor Details
-
GLTFTypes
public GLTFTypes()
-
-
Method Details
-
mapPrimitiveMode
https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#primitivemode -
mapColor
public static com.badlogic.gdx.graphics.Color mapColor(float[] c, com.badlogic.gdx.graphics.Color defaultColor) -
map
public static com.badlogic.gdx.math.Quaternion map(com.badlogic.gdx.math.Quaternion q, float[] fv) -
map
public static com.badlogic.gdx.math.Quaternion map(com.badlogic.gdx.math.Quaternion q, float[] fv, int offset) -
map
public static com.badlogic.gdx.math.Vector3 map(com.badlogic.gdx.math.Vector3 v, float[] fv) -
map
public static com.badlogic.gdx.math.Vector3 map(com.badlogic.gdx.math.Vector3 v, float[] fv, int offset) -
map
-
map
-
map
-
map
https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#animations end of chapter : When used with CUBICSPLINE interpolation, tangents (ak, bk) and values (vk) are grouped within keyframes: a1,a2,...an,v1,v2,...vn,b1,b2,...bn -
accessorTypeSize
-
accessorComponentTypeSize
-
accessorStrideSize
-
accessorSize
-
map
-
mapTextureSampler
public static void mapTextureSampler(com.badlogic.gdx.graphics.g3d.utils.TextureDescriptor<com.badlogic.gdx.graphics.Texture> textureDescriptor, GLTFSampler glSampler) -
mapTextureSampler
public static void mapTextureSampler(com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter textureParameter, GLTFSampler glSampler) -
mapTextureSampler
public static void mapTextureSampler(com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter textureParameter) -
mapTextureMagFilter
-
mapTextureMinFilter
-
isMipMapFilter
-
mapInterpolation
-