Class ImporterBase
Basic functionality shared among Importers.
Inherited Members
Namespace: Unity.Formats.USD
Assembly: solution.dll
Syntax
public static class ImporterBase
Methods
Name | Description |
---|---|
ApproximatelyEqual(Matrix4x4, Matrix4x4) | Compare two 4x4 matrices for approximate equality. |
GetOrAddComponent<T>(GameObject, bool) | Get a typed component from the gameobject or add it if it doesn't already exist. |
MakeRelativePath(string, string) | Creates a relative path from one file or folder to another. |
MoveComponentFirst(Component) | Moves the given component to be first in the list on the GameObject. If not in editor, this function is a no-op. |
MoveComponentLast(Component) | Moves the given component to be last in the list on the GameObject. If not in editor, this function is a no-op. |