public interface IMaterialParameterOne value a material sets, by the name a shader knows it under.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
An interface with a [DataContract] name per implementation, which is how the rest of the engine does polymorphism in a file: the contract name is the YAML tag, so - !Colour selects the type and nothing keeps a registration table in sync. It is the same shape ISceneRendererAsset and a scene's component list already have.
⚠ Five kinds rather than one with a type field. A single parameter type carrying a Vector4, an AssetId and a Kind saying which of them is real would put four dead fields in every line of every material file, and would give the inspector one editor to draw for five different things. The tag is the discriminator the format already has.
Fields and properties (1)
string NameWhat the shader calls it.
Used by (12)
- ColourParameterVixen.Editor.AssetEditors
- FlagParameterVixen.Editor.AssetEditors
- MaterialAssetVixen.Editor.AssetEditors
- MaterialDocumentVixen.Editor.AssetEditors
- MaterialParameterCommandVixen.Editor.AssetEditors
- MaterialTestsVixen.Editor.AssetEditors.Tests
- MaterialViewVixen.Editor.AssetEditors
- ScalarParameterVixen.Editor.AssetEditors
- TextureParameterVixen.Editor.AssetEditors
- TypeRegistrationVixen.Editor.AssetEditors
- VectorParameterVixen.Editor.AssetEditors
- Vixen_Editor_AssetEditors_Materials_MaterialAssetSerializerVixen.Editor.AssetEditors