API ReferenceSandbox
MaterialGroupBuilderclass
object→MaterialGroupBuilder
Methods3
Showing 3 methods
public Sandbox.MaterialGroupBuilder AddMaterial(Sandbox.Material material)
Add a material to the group.
| Parameter | Type | Description |
|---|---|---|
| material | Material | — |
public Sandbox.MaterialGroupBuilder AddMaterials(System.Span`1<Sandbox.Material> materials)
| Parameter | Type | Description |
|---|---|---|
| materials | Span<Material> | — |
public Sandbox.MaterialGroupBuilder WithName(string name)
| Parameter | Type | Description |
|---|---|---|
| name | string | — |
No results match this filter.
Properties1
Showing 1 properties
public string Sandbox.MaterialGroupBuilder.Name { get; set; }
The name of the material group.
Returns:
string—No results match this filter.