Table of Contents

Class MaterialExtensions

Namespace
Stride.CommunityToolkit.Rendering
Assembly
Stride.CommunityToolkit.dll

Extension methods for Material.

public static class MaterialExtensions
Inheritance
MaterialExtensions

Methods

Clone(Material)

Clone the Material.

public static Material Clone(this Material material)

Parameters

material Material

The material to clone.

Returns

Material

The cloned material.

Exceptions

ArgumentNullException

If material is null.