Class MaterialComponent<T>
- Namespace
- Lime
- Assembly
- Lime.dll
Replace owner material with specified material
public class MaterialComponent<T> : MaterialComponent, IDisposable, IAnimable where T : IMaterial, new()
Type Parameters
T
- Inheritance
-
MaterialComponent<T>
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
MaterialComponent()
public MaterialComponent()
Properties
CustomMaterial
protected T CustomMaterial { get; }
Property Value
- T
Methods
OnOwnerChanged(Node)
protected override void OnOwnerChanged(Node oldOwner)
Parameters
oldOwner
Node