Skip to main content
←API Reference ←NianticSpatial.NSDK.AR.Common ←ConditionalRenderer

OnInitializeMaterial


Declaration​

protected virtual void OnInitializeMaterial(Material mat)

Summary​

Invoked when the material state needs to be reset or initialized with
default values. This usually occurs when the material is first created.

Parameters​

NameTypeSummary
matMaterial
-