MaterialSelectorBase.Apply


Declaration

public abstract void Apply(MaterialStyle style, MaterialPattern pattern)

Description

Applies the selected style and pattern to the renderer.

Parameters

styleThe style to apply.
patternThe pattern to apply.

Overload

Declaration

public void Apply(MaterialStyle.Preset stylePreset, MaterialPattern.Preset patternPreset)

Description

Applies the preset style and pattern to the object.

Parameters

stylePresetThe style preset to apply.
patternPresetThe pattern preset to apply.

Overload

Declaration

public void Apply()

Description

Applies the current style and pattern to the object.