Method ExportNormalTextureInfo
ExportNormalTextureInfo(Texture, Material, IGltfWritable, int)
Export a normal texture from Unity to glTF.
Declaration
protected static NormalTextureInfo ExportNormalTextureInfo(Texture texture, Material material, IGltfWritable gltf, int normalScalePropId)
Parameters
| Type | Name | Description |
|---|---|---|
| Texture | texture | Normal texture to export |
| Material | material | Material the normal is used on |
| IGltfWritable | gltf | Context glTF to export to |
| int | normalScalePropId | Normal scale property ID |
Returns
| Type | Description |
|---|---|
| NormalTextureInfo | glTF texture info |