C# Class TressFXLib.Formats.UTFXFormat

The unity tressfx format was implemented in order to create an own format for the unity tressfx implementation and add some additional parameters to the rendering and simulation.
Inheritance: TFXBFormat
显示文件 Open project: kennux/TressFXUnity

Public Methods

Method Description
Export ( BinaryWriter writer, string path, Hair hair ) : void
Import ( BinaryReader reader, string path, Hair hair, HairImportSettings importSettings ) : HairMesh[]

Method Details

Export() public method

public Export ( BinaryWriter writer, string path, Hair hair ) : void
writer System.IO.BinaryWriter
path string
hair Hair
return void

Import() public method

public Import ( BinaryReader reader, string path, Hair hair, HairImportSettings importSettings ) : HairMesh[]
reader System.IO.BinaryReader
path string
hair Hair
importSettings HairImportSettings
return HairMesh[]