Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    MaterialSubsurfaceScatteringScatteringProfileCustom Class

    Namespace: Stride.Rendering.Materials
    Assembly: Stride.Rendering.dll

    Calculates a custom scattering profile, which is applied during the forward pass using the subsurface scattering shading model.

    ATTENTION: This class is subject to change because it does not yet give you full control over generating scattering kernels and profiles.

    System.Object → MaterialSubsurfaceScatteringScatteringProfileCustom
    Derived from MaterialSubsurfaceScatteringScatteringProfileCustom:

    [Display("Custom (Skin based)", null)]
    [DataContract("MaterialSubsurfaceScatteringScatteringProfileCustom")]
    public class MaterialSubsurfaceScatteringScatteringProfileCustom : IMaterialSubsurfaceScatteringScatteringProfile
    Name Description
    Constructors
    MaterialSubsurfaceScatteringScatteringProfileCustom()
    Properties
    FalloffMap

    This parameter defines the per-channel falloff of the gradients produced by the subsurface scattering events. It can be used to fine tune the color of the gradients.

    Methods
    Equals(MaterialSubsurfaceScatteringScatteringProfileCustom)
    Equals(Object)
    Generate(MaterialGeneratorContext)
    GetHashCode()
    | Improve this Doc View Source

    Constructors


    MaterialSubsurfaceScatteringScatteringProfileCustom()

    public MaterialSubsurfaceScatteringScatteringProfileCustom()
    | Improve this Doc View Source

    Properties


    FalloffMap

    This parameter defines the per-channel falloff of the gradients produced by the subsurface scattering events. It can be used to fine tune the color of the gradients.

    [DataMember(10)]
    [Display("Falloff map", null)]
    public IComputeColor FalloffMap { get; set; }
    Property Value
    Type Description
    IComputeColor
    | Improve this Doc View Source

    Methods


    Equals(MaterialSubsurfaceScatteringScatteringProfileCustom)

    protected bool Equals(MaterialSubsurfaceScatteringScatteringProfileCustom other)
    Parameters
    Type Name Description
    MaterialSubsurfaceScatteringScatteringProfileCustom other
    Returns
    Type Description
    System.Boolean

    Equals(Object)

    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)

    Generate(MaterialGeneratorContext)

    public ShaderSource Generate(MaterialGeneratorContext context)
    Parameters
    Type Name Description
    MaterialGeneratorContext context
    Returns
    Type Description
    ShaderSource

    GetHashCode()

    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation