Inspect Material is a VAM plugin that shows a list of...
It is provided "as it is" without any code cleanup and guarantees that it will not blow up and burn down your house.
I originally made this to help me debug custom shaders for SallySoundFX 3. Some users knew I made this because I talked about it on Discord scripting channel a long time ago and two requested it.
It became indeed very useful to inspect other content to, for example, find out what texture or shader is used.
- Material properties
- Shader properties
- Texture properties + actual texture
It is provided "as it is" without any code cleanup and guarantees that it will not blow up and burn down your house.
I originally made this to help me debug custom shaders for SallySoundFX 3. Some users knew I made this because I talked about it on Discord scripting channel a long time ago and two requested it.
It became indeed very useful to inspect other content to, for example, find out what texture or shader is used.
- IMPORTANT TO UNDERSTAND: It's technically impossible for this plugin to list all properties. Custom shaders can use custom property names. You have to know their names. There is no function from VAM or Unity that returns a list of valid property names. It is only possible to check "blindly" for commonly used ones. If something is returned, the property exists.
- Use the "Reload"-button in the plugin window to refresh everything. The plugin does not "live update" anything. ALL the info is collected during plugin initialization.
- Other less frequently used object types may or may not work, like terrain. It depends on whether these would use a "Renderer"-object or something different.