MaterialOverride
csharp
public class MaterialOverride : PlatformOverrideBaseNamespace NodeWorld.SDK.PlatformSwitch.
Material: shader, main colour and GPU instancing per platform. After a shader swap, the URP surface settings are rebuilt from the material's values.
Fields
Shader
csharp
public PlatformShader ShaderThe shader.
MainColor
csharp
public PlatformColor MainColorThe main colour (_Color or _BaseColor), when the shader has one.
GPUInstancing
csharp
public PlatformBool GPUInstancingGPU instancing on or off.
Properties
Label
csharp
public override string Label { get; }Same as the member it overrides or implements.
TargetType
csharp
public override Type TargetType { get; }Same as the member it overrides or implements.
Methods
Setup
csharp
public override void Setup(Object target)Same as the member it overrides or implements.
Apply
csharp
public override void Apply(Object target, NWPlatform platform)Same as the member it overrides or implements.
