C# Class Ohana3DS_Transfigured.Ohana.Models.GenericFormats.DAE

ファイルを表示 Open project: Quibilia/Ohana3DS-Transfigured

Public Methods

Method Description
export ( RenderBase model, string fileName, int modelIndex, int skeletalAnimationIndex = -1 ) : void

Exports a Model to the Collada format. See: https://www.khronos.org/files/collada_spec_1_4.pdf for more information.

Private Methods

Method Description
transformSkeleton ( List skeleton, int index, RenderBase &target ) : void

Transforms a Skeleton from relative to absolute positions.

writeSkeleton ( List skeleton, int index, List &nodes ) : void

Writes the skeleton hierarchy to the DAE.

Method Details

export() public static method

Exports a Model to the Collada format. See: https://www.khronos.org/files/collada_spec_1_4.pdf for more information.
public static export ( RenderBase model, string fileName, int modelIndex, int skeletalAnimationIndex = -1 ) : void
model RenderBase The Model that will be exported
fileName string The output File Name
modelIndex int Index of the model to be exported
skeletalAnimationIndex int (Optional) Index of the skeletal animation
return void