coneneko.nanami



class NanamiFile: std.zip.ZipArchive;


this(char[] fileName);


bool hasSkeletonRelations();


ubyte[] expandSkeletonRelations();


bool hasVertexBuffer(uint x, uint y);


bool hasTexture(uint x, uint y);


float[] expandVertexBuffer(uint x, uint y, out uint vertexSize, out uint vertexLength);


uint[] expandTexture(uint indexX, uint indexY, out uint width, out uint height);


bool hasMotionMatrix(uint index);


void[] expandMotionMatrix(uint index);


this();


this(void[] data);


void add(char[] name, void[] data);


void addVertexBuffer(uint x, uint y, uint vertexSize, uint vertexLength, float[] buffer);


void addTexture(uint indexX, uint indexY, uint width, uint height, uint[] pixels);


class MotionMatrix;


this(uint boneLength, uint frameLength);


void setLrt(uint boneIndex, uint frameIndex, Matrix lookAt, Matrix rotation, Matrix translation);


Matrix getLookAt(uint t, uint boneIndex);


Matrix getRotation(uint t, uint boneIndex);


Matrix getTranslation(uint t, uint boneIndex);


uint boneLength();


uint frameLength();


void[] toData();


this(void[] data, bool logging = false);


MemoryStream log;


class SkeletonRelations;


this(ubyte[] pairs);
(first, second) (first, second) ...

Matrix [] getMatrixArray(MotionMatrix motionMatrix, uint t);



Page generated by Ddoc.