MaterialDescription
Contains a set of typed properties for describing a texture input of a MaterialDescription.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Class
- Namespace: UnityEditor.AssetImporters
- Assembly: UnityEditor.CoreModule
- Implements: IDisposable
public class MaterialDescription : IDisposable
Properties
Property | Description |
|---|---|
| materialName | The name of the material |
Methods
Method | Description |
|---|---|
| GetFloatPropertyNames | Retrieves the property names of type float for this material. |
| GetStringPropertyNames | Retrieves the property names of type string for this material. |
| GetTexturePropertyNames | Retrieves the property names of type TextureDescription for this material. |
| GetVector4PropertyNames | Retrieves the property names of type Vector4 for this material. |
| HasAnimationCurve | Checks if a material property is animated in a any AnimationClip. |
| HasAnimationCurveInClip | Checks if a material property is animated in a specific AnimationClip. |
| TryGetAnimationCurve | Retrieves the AnimationCurve for an animated material property in a specific AnimationClip. |
| TryGetProperty | Retrieves the value of a specified material property. |