Свойство | Тип | Описание | |
---|---|---|---|
bothEndsImmovable | bool |
Метод | Описание | |
---|---|---|
ExportAsTFX ( String path, int followHairPerGuideHair, float maxRadiusAroundGuideHair ) : void |
Exports this hair mesh as tressfx plaintext file.
|
|
PrepareSimulationParameters ( int &hairIndexCounter ) : void |
This function will get used by importers for example if there were only strand vertex positions available. It will calculate everything inside of the HairStrand and HairStrandVertex based off the vertex positions. This function assumes that hair strands always have atleast 2 vertices! and atleast 2 strands. NOTE: This is currently non-functional, it seems like somewhere some rounding issues happen that will make the output of this unusable. The logic was taken from AMD's AssetConverter. I already spent some days of debugging on this but there is something really weird going on here. My best guess is that C++ floats are more precise than C# floats for this calculations.
|
public ExportAsTFX ( String path, int followHairPerGuideHair, float maxRadiusAroundGuideHair ) : void | ||
path | String | |
followHairPerGuideHair | int | |
maxRadiusAroundGuideHair | float | |
Результат | void |
public PrepareSimulationParameters ( int &hairIndexCounter ) : void | ||
hairIndexCounter | int | |
Результат | void |