C# Class HoudiniEngineUnity.HEU_ShelfTools

Datei anzeigen Open project: sideeffects/HoudiniEngineForUnity Class Usage Examples

Public Methods

Method Description
AddShelf ( string shelfName, string shelfPath ) : HEU_Shelf
AreShelvesLoaded ( ) : bool
ClearShelves ( ) : void
ExecuteTool ( int toolSlot ) : void
ExecuteToolBatch ( string toolName, string toolPath, Array batchObjects ) : void
ExecuteToolGenerator ( string toolName, string toolPath, Vector3 targetPosition, Quaternion targetRotation, Vector3 targetScale ) : void
ExecuteToolNoInput ( string toolName, string toolPath ) : void
ExecuteToolOperatorMultiple ( string toolName, string toolPath, Array inputObjects ) : void
ExecuteToolOperatorSingle ( string toolName, string toolPath, Array inputObjects ) : void
GetCurrentShelfIndex ( ) : int
GetNumShelves ( ) : int
GetShelf ( int index ) : HEU_Shelf
GetShelf ( string shelfName ) : HEU_Shelf
GetShelfStorageEntry ( string shelfName, string shelfPath ) : string
GetSplitShelfEntry ( string shelfEntry, string &shelfName, string &shelfPath ) : void
GetToolAssetPath ( HoudiniEngineUnity.HEU_ShelfToolData tool, string inPath ) : string
GetToolIconPath ( HoudiniEngineUnity.HEU_ShelfToolData tool, string inPath ) : string
GetToolResourcePath ( HoudiniEngineUnity.HEU_ShelfToolData tool, string inPath, string ext ) : string
IsValidInputHDA ( GameObject gameObject ) : bool
IsValidInputMesh ( GameObject gameObject ) : bool
LoadShelves ( ) : void
LoadToolFromJsonFile ( string jsonFilePath ) : HoudiniEngineUnity.HEU_ShelfToolData
LoadToolFromJsonString ( string json, string jsonFilePath ) : HoudiniEngineUnity.HEU_ShelfToolData
LoadToolsFromDirectory ( string folderPath, List &tools ) : bool
RemoveShelf ( int shelfIndex ) : void
SaveShelf ( ) : void
SetCurrentShelf ( int index ) : void
SetReloadShelves ( ) : void

Private Methods

Method Description
ShouldUseHDA ( Array gameObjectList ) : bool

Method Details

AddShelf() public static method

public static AddShelf ( string shelfName, string shelfPath ) : HEU_Shelf
shelfName string
shelfPath string
return HEU_Shelf

AreShelvesLoaded() public static method

public static AreShelvesLoaded ( ) : bool
return bool

ClearShelves() public static method

public static ClearShelves ( ) : void
return void

ExecuteTool() public static method

public static ExecuteTool ( int toolSlot ) : void
toolSlot int
return void

ExecuteToolBatch() public static method

public static ExecuteToolBatch ( string toolName, string toolPath, Array batchObjects ) : void
toolName string
toolPath string
batchObjects Array
return void

ExecuteToolGenerator() public static method

public static ExecuteToolGenerator ( string toolName, string toolPath, Vector3 targetPosition, Quaternion targetRotation, Vector3 targetScale ) : void
toolName string
toolPath string
targetPosition Vector3
targetRotation Quaternion
targetScale Vector3
return void

ExecuteToolNoInput() public static method

public static ExecuteToolNoInput ( string toolName, string toolPath ) : void
toolName string
toolPath string
return void

ExecuteToolOperatorMultiple() public static method

public static ExecuteToolOperatorMultiple ( string toolName, string toolPath, Array inputObjects ) : void
toolName string
toolPath string
inputObjects Array
return void

ExecuteToolOperatorSingle() public static method

public static ExecuteToolOperatorSingle ( string toolName, string toolPath, Array inputObjects ) : void
toolName string
toolPath string
inputObjects Array
return void

GetCurrentShelfIndex() public static method

public static GetCurrentShelfIndex ( ) : int
return int

GetNumShelves() public static method

public static GetNumShelves ( ) : int
return int

GetShelf() public static method

public static GetShelf ( int index ) : HEU_Shelf
index int
return HEU_Shelf

GetShelf() public static method

public static GetShelf ( string shelfName ) : HEU_Shelf
shelfName string
return HEU_Shelf

GetShelfStorageEntry() public static method

public static GetShelfStorageEntry ( string shelfName, string shelfPath ) : string
shelfName string
shelfPath string
return string

GetSplitShelfEntry() public static method

public static GetSplitShelfEntry ( string shelfEntry, string &shelfName, string &shelfPath ) : void
shelfEntry string
shelfName string
shelfPath string
return void

GetToolAssetPath() public static method

public static GetToolAssetPath ( HoudiniEngineUnity.HEU_ShelfToolData tool, string inPath ) : string
tool HoudiniEngineUnity.HEU_ShelfToolData
inPath string
return string

GetToolIconPath() public static method

public static GetToolIconPath ( HoudiniEngineUnity.HEU_ShelfToolData tool, string inPath ) : string
tool HoudiniEngineUnity.HEU_ShelfToolData
inPath string
return string

GetToolResourcePath() public static method

public static GetToolResourcePath ( HoudiniEngineUnity.HEU_ShelfToolData tool, string inPath, string ext ) : string
tool HoudiniEngineUnity.HEU_ShelfToolData
inPath string
ext string
return string

IsValidInputHDA() public static method

public static IsValidInputHDA ( GameObject gameObject ) : bool
gameObject GameObject
return bool

IsValidInputMesh() public static method

public static IsValidInputMesh ( GameObject gameObject ) : bool
gameObject GameObject
return bool

LoadShelves() public static method

public static LoadShelves ( ) : void
return void

LoadToolFromJsonFile() public static method

public static LoadToolFromJsonFile ( string jsonFilePath ) : HoudiniEngineUnity.HEU_ShelfToolData
jsonFilePath string
return HoudiniEngineUnity.HEU_ShelfToolData

LoadToolFromJsonString() public static method

public static LoadToolFromJsonString ( string json, string jsonFilePath ) : HoudiniEngineUnity.HEU_ShelfToolData
json string
jsonFilePath string
return HoudiniEngineUnity.HEU_ShelfToolData

LoadToolsFromDirectory() public static method

public static LoadToolsFromDirectory ( string folderPath, List &tools ) : bool
folderPath string
tools List
return bool

RemoveShelf() public static method

public static RemoveShelf ( int shelfIndex ) : void
shelfIndex int
return void

SaveShelf() public static method

public static SaveShelf ( ) : void
return void

SetCurrentShelf() public static method

public static SetCurrentShelf ( int index ) : void
index int
return void

SetReloadShelves() public static method

public static SetReloadShelves ( ) : void
return void