Struct FractalTypeDescriptor | Terrain Tools | 3.0.2-preview.3
docs.unity3d.com
    Show / Hide Table of Contents

    Struct FractalTypeDescriptor

    Struct that provides a definition for a FractalType implementation. Information in this struct is used during Shader generation and used to determine NoiseType and FractalType compatibilities.

    Namespace: UnityEditor.Experimental.TerrainAPI
    Syntax
    public struct FractalTypeDescriptor

    Fields

    additionalIncludePaths

    Additional include paths to be included in the generated Shader. You can add them to this list or hardcode them somewhere in the Shader itself.

    Declaration
    public List<string> additionalIncludePaths
    Field Value
    Type Description
    List<String>

    inputStructDefinition

    List of HlslInput structures defining the HLSL function parameter list for this FractalType

    Declaration
    public List<HlslInput> inputStructDefinition
    Field Value
    Type Description
    List<HlslInput>

    name

    The name to be used for the FractalType

    Declaration
    public string name
    Field Value
    Type Description
    String

    supportedDimensions

    A flag definition the supported number of dimensions that this FractalType implements. This currently is unused.

    Declaration
    public NoiseDimensionFlags supportedDimensions
    Field Value
    Type Description
    NoiseDimensionFlags

    templatePath

    The Asset path to the .noisehlsltemplate file to be used when generating shaders for this FractalType variant

    Declaration
    public string templatePath
    Field Value
    Type Description
    String
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023