C# Класс HoudiniEngineUnity.HEU_AssetPresetUtility

Helper to serialize and deserialize a HDA's preset data.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
PRESET_IDENTIFIER char[]
PRESET_VERSION int

Открытые методы

Метод Описание
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.

Описание методов

LoadPresetFileIntoAssetAndCook() публичный статический Метод

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.
Результат void

SaveAssetPresetToFile() публичный статический Метод

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
Результат void

Описание свойств

PRESET_IDENTIFIER публичное статическое свойство

public static char[] PRESET_IDENTIFIER
Результат char[]

PRESET_VERSION публичное статическое свойство

public static int PRESET_VERSION
Результат int