Class AvatarProcessor
This class is the main entry point for triggering NDMF processing of an avatar.
public static class AvatarProcessor
- Inheritance
-
AvatarProcessor
- Inherited Members
Methods
CanProcessObject(GameObject)
Returns true if the given GameObject appears to be an avatar that can be processed.
public static bool CanProcessObject(GameObject avatar)
Parameters
avatar
GameObject
Returns
CleanTemporaryAssets()
Deletes all temporary assets after a build.
public static void CleanTemporaryAssets()
ProcessAvatar(GameObject)
Processes an avatar as part of an automated process. The resulting assets will be saved in a temporary location.
public static void ProcessAvatar(GameObject root)
Parameters
root
GameObject
ProcessAvatarUI(GameObject)
Process an avatar on request by the user. The resulting assets will be saved in a persistent directory that will not be cleaned up by CleanTemporaryAssets.
public static GameObject ProcessAvatarUI(GameObject obj)
Parameters
obj
GameObject
Returns
- GameObject