createInstance
Create a new MaterialInstance from this material.
Instances inherit all material properties but can override parameters for per-object customization. Multiple instances can be created from a single material. Always destroy instances with Engine.destroy() when no longer needed.
Return
A new MaterialInstance with default parameters.
Create a new MaterialInstance with an optional debug name.
The name can be used for debugging/profiling purposes.
Return
A new MaterialInstance with the given name.
Parameters
Debug name for this instance (if empty, inherits material name).
Create a new MaterialInstance from this material.
Instances inherit all material properties but can override parameters for per-object customization. Multiple instances can be created from a single material. Always destroy instances with Engine.destroy() when no longer needed.
Return
A new MaterialInstance with default parameters.
Create a new MaterialInstance with an optional debug name.
The name can be used for debugging/profiling purposes.
Return
A new MaterialInstance with the given name.
Parameters
Debug name for this instance (if empty, inherits material name).
Create a new MaterialInstance from this material.
Instances inherit all material properties but can override parameters for per-object customization. Multiple instances can be created from a single material. Always destroy instances with Engine.destroy() when no longer needed.
Return
A new MaterialInstance with default parameters.
Create a new MaterialInstance with an optional debug name.
The name can be used for debugging/profiling purposes.
Return
A new MaterialInstance with the given name.
Parameters
Debug name for this instance (if empty, inherits material name).
Create a new MaterialInstance from this material.
Instances inherit all material properties but can override parameters for per-object customization. Multiple instances can be created from a single material. Always destroy instances with Engine.destroy() when no longer needed.
Return
A new MaterialInstance with default parameters.
Create a new MaterialInstance with an optional debug name.
The name can be used for debugging/profiling purposes.
Return
A new MaterialInstance with the given name.
Parameters
Debug name for this instance (if empty, inherits material name).
Create a new MaterialInstance from this material.
Instances inherit all material properties but can override parameters for per-object customization. Multiple instances can be created from a single material. Always destroy instances with Engine.destroy() when no longer needed.
Return
A new MaterialInstance with default parameters.
Create a new MaterialInstance with an optional debug name.
The name can be used for debugging/profiling purposes.
Return
A new MaterialInstance with the given name.
Parameters
Debug name for this instance (if empty, inherits material name).