| MaterialInstanceCreateInstanceCore Method |
When implemented in a derived class, creates a new instance of the
MaterialInstance derived class.
Namespace: DigitalRune.Graphics.SceneGraphAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax protected virtual MaterialInstance CreateInstanceCore()
Protected Overridable Function CreateInstanceCore As MaterialInstance
protected:
virtual MaterialInstance^ CreateInstanceCore()
abstract CreateInstanceCore : unit -> MaterialInstance
override CreateInstanceCore : unit -> MaterialInstance
Return Value
Type:
MaterialInstanceThe new instance.
Remarks
Do not call this method directly (except when calling base in an implementation). This
method is called internally by the Clone method whenever a new
instance of the MaterialInstance is created.
Notes to Inheritors: Every MaterialInstance derived class
must implement this method. A typical implementation is to simply call the default
constructor and return the result.
See Also