C# Class HoudiniEngineUnity.HEU_ShelfTools

Afficher le fichier Open project: sideeffects/HoudiniEngineForUnity Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
ShouldUseHDA ( Array gameObjectList ) : bool

Method Details

AddShelf() public static méthode

public static AddShelf ( string shelfName, string shelfPath ) : HEU_Shelf
shelfName string
shelfPath string
Résultat HEU_Shelf

AreShelvesLoaded() public static méthode

public static AreShelvesLoaded ( ) : bool
Résultat bool

ClearShelves() public static méthode

public static ClearShelves ( ) : void
Résultat void

ExecuteTool() public static méthode

public static ExecuteTool ( int toolSlot ) : void
toolSlot int
Résultat void

ExecuteToolBatch() public static méthode

public static ExecuteToolBatch ( string toolName, string toolPath, Array batchObjects ) : void
toolName string
toolPath string
batchObjects Array
Résultat void

ExecuteToolGenerator() public static méthode

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

ExecuteToolNoInput() public static méthode

public static ExecuteToolNoInput ( string toolName, string toolPath ) : void
toolName string
toolPath string
Résultat void

ExecuteToolOperatorMultiple() public static méthode

public static ExecuteToolOperatorMultiple ( string toolName, string toolPath, Array inputObjects ) : void
toolName string
toolPath string
inputObjects Array
Résultat void

ExecuteToolOperatorSingle() public static méthode

public static ExecuteToolOperatorSingle ( string toolName, string toolPath, Array inputObjects ) : void
toolName string
toolPath string
inputObjects Array
Résultat void

GetCurrentShelfIndex() public static méthode

public static GetCurrentShelfIndex ( ) : int
Résultat int

GetNumShelves() public static méthode

public static GetNumShelves ( ) : int
Résultat int

GetShelf() public static méthode

public static GetShelf ( int index ) : HEU_Shelf
index int
Résultat HEU_Shelf

GetShelf() public static méthode

public static GetShelf ( string shelfName ) : HEU_Shelf
shelfName string
Résultat HEU_Shelf

GetShelfStorageEntry() public static méthode

public static GetShelfStorageEntry ( string shelfName, string shelfPath ) : string
shelfName string
shelfPath string
Résultat string

GetSplitShelfEntry() public static méthode

public static GetSplitShelfEntry ( string shelfEntry, string &shelfName, string &shelfPath ) : void
shelfEntry string
shelfName string
shelfPath string
Résultat void

GetToolAssetPath() public static méthode

public static GetToolAssetPath ( HoudiniEngineUnity.HEU_ShelfToolData tool, string inPath ) : string
tool HoudiniEngineUnity.HEU_ShelfToolData
inPath string
Résultat string

GetToolIconPath() public static méthode

public static GetToolIconPath ( HoudiniEngineUnity.HEU_ShelfToolData tool, string inPath ) : string
tool HoudiniEngineUnity.HEU_ShelfToolData
inPath string
Résultat string

GetToolResourcePath() public static méthode

public static GetToolResourcePath ( HoudiniEngineUnity.HEU_ShelfToolData tool, string inPath, string ext ) : string
tool HoudiniEngineUnity.HEU_ShelfToolData
inPath string
ext string
Résultat string

IsValidInputHDA() public static méthode

public static IsValidInputHDA ( GameObject gameObject ) : bool
gameObject GameObject
Résultat bool

IsValidInputMesh() public static méthode

public static IsValidInputMesh ( GameObject gameObject ) : bool
gameObject GameObject
Résultat bool

LoadShelves() public static méthode

public static LoadShelves ( ) : void
Résultat void

LoadToolFromJsonFile() public static méthode

public static LoadToolFromJsonFile ( string jsonFilePath ) : HoudiniEngineUnity.HEU_ShelfToolData
jsonFilePath string
Résultat HoudiniEngineUnity.HEU_ShelfToolData

LoadToolFromJsonString() public static méthode

public static LoadToolFromJsonString ( string json, string jsonFilePath ) : HoudiniEngineUnity.HEU_ShelfToolData
json string
jsonFilePath string
Résultat HoudiniEngineUnity.HEU_ShelfToolData

LoadToolsFromDirectory() public static méthode

public static LoadToolsFromDirectory ( string folderPath, List &tools ) : bool
folderPath string
tools List
Résultat bool

RemoveShelf() public static méthode

public static RemoveShelf ( int shelfIndex ) : void
shelfIndex int
Résultat void

SaveShelf() public static méthode

public static SaveShelf ( ) : void
Résultat void

SetCurrentShelf() public static méthode

public static SetCurrentShelf ( int index ) : void
index int
Résultat void

SetReloadShelves() public static méthode

public static SetReloadShelves ( ) : void
Résultat void