C# 클래스 TressFXLib.Formats.WavefrontObjFormat

Wavefront OBJ importer Important Note: The Wavefront obj File Format does not specify hairsimulation parameters, so after importing the ase data the simulation parameters must get prepared manually in order to do a correct import! TODO: Re-implement! (ATM just Quick'n'Dirty code)
상속: IHairFormat
파일 보기 프로젝트 열기: kennux/TressFXUnity

공개 메소드들

메소드 설명
Export ( BinaryWriter writer, string path, Hair hair ) : void
Import ( BinaryReader reader, string path, Hair hair, HairImportSettings importSettings ) : HairMesh[]

비공개 메소드들

메소드 설명
SafeParse ( string input ) : float

Safe float parsing that accepts . and ,.

메소드 상세

Export() 공개 메소드

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

Import() 공개 메소드

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