Class UniversalRPMaterialGenerator
Inheritance
UniversalRPMaterialGenerator
Syntax
public class UniversalRPMaterialGenerator : ShaderGraphMaterialGenerator, IMaterialGenerator
Constructors
UniversalRPMaterialGenerator(UniversalRenderPipelineAsset)
Declaration
public UniversalRPMaterialGenerator(UniversalRenderPipelineAsset renderPipelineAsset)
Parameters
Type |
Name |
Description |
UniversalRenderPipelineAsset |
renderPipelineAsset |
|
Methods
ApplyTransmission(ref Color, IGltfReadable, Transmission, Material, Nullable<RenderQueue>)
Declaration
protected override RenderQueue? ApplyTransmission(ref Color baseColorLinear, IGltfReadable gltf, Transmission transmission, Material material, RenderQueue? renderQueue)
Parameters
Returns
Overrides
ApplyTransmissionShaderFeatures(Material)
Declaration
protected override ShaderGraphMaterialGenerator.ShaderMode? ApplyTransmissionShaderFeatures(Material gltfMaterial)
Parameters
Type |
Name |
Description |
Material |
gltfMaterial |
|
Returns
Overrides
SetAlphaModeMask(Material, Material)
Declaration
protected override void SetAlphaModeMask(Material gltfMaterial, Material material)
Parameters
Overrides
SetDoubleSided(Material, Material)
Declaration
protected override void SetDoubleSided(Material gltfMaterial, Material material)
Parameters
Overrides
SetShaderModeBlend(Material, Material)
Declaration
protected override void SetShaderModeBlend(Material gltfMaterial, Material material)
Parameters
Overrides