C# Class HoudiniEngineUnity.HEU_AssetPresetUtility

Helper to serialize and deserialize a HDA's preset data.
Exibir arquivo Open project: sideeffects/HoudiniEngineForUnity Class Usage Examples

Public Properties

Property Type Description
PRESET_IDENTIFIER char[]
PRESET_VERSION int

Public Methods

Method Description
LoadPresetFileIntoAssetAndCook ( HEU_HoudiniAsset asset, string filePath ) : void

Load the preset file at the specified path into the specified asset and cook it.

SaveAssetPresetToFile ( HEU_HoudiniAsset asset, string filePath ) : void

Save the specified asset's preset data to file at specified path.

Method Details

LoadPresetFileIntoAssetAndCook() public static method

Load the preset file at the specified path into the specified asset and cook it.
public static LoadPresetFileIntoAssetAndCook ( HEU_HoudiniAsset asset, string filePath ) : void
asset HEU_HoudiniAsset Asset to load preset into
filePath string Full path to file containing preset. File must have been written out by SaveAssetPresetToFile.
return void

SaveAssetPresetToFile() public static method

Save the specified asset's preset data to file at specified path.
public static SaveAssetPresetToFile ( HEU_HoudiniAsset asset, string filePath ) : void
asset HEU_HoudiniAsset The asset's preset data will be saved
filePath string The file to save to
return void

Property Details

PRESET_IDENTIFIER public_oe static_oe property

public static char[] PRESET_IDENTIFIER
return char[]

PRESET_VERSION public_oe static_oe property

public static int PRESET_VERSION
return int