Field OnResolveTexture
A callback that allows custom texture resolution logic.
Namespace: Unity.Formats.USD
Assembly: solution.dll
Syntax
public static MaterialImporter.TextureResolver OnResolveTexture
Returns
Type | Description |
---|---|
MaterialImporter.TextureResolver |
Remarks
Note that this method is only called when texture import is enabled. If this event is wired up, it must return a value, returning null will cause the texture to be skipped. The same texture may be resolved multiple times as needed.