Parses a material file and loads the very first material found in the script file.
| C# |
public Material LoadFirstMaterial( IResource resource, LoaderParameters parameters )
- resource (IResource)
- Resource pointing to the material script.
- parameters (LoaderParameters)
- Loader parameters
A material
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)