Class FlowGenerationUtility | Bolt Visual Scripting | 1.4.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class FlowGenerationUtility

    Inheritance
    Object
    FlowGenerationUtility
    Namespace: Ludiq.Bolt
    Syntax
    public static class FlowGenerationUtility

    Methods

    CodeName(IUnitPort)

    Declaration
    public static string CodeName(this IUnitPort port)
    Parameters
    Type Name Description
    IUnitPort port
    Returns
    Type Description
    String

    DeclareLocal(IMethodBaseGeneration, CodeTypeReference, IUnitPort, CodeExpression)

    Declaration
    public static CodeVariableDeclarationStatement DeclareLocal(this IMethodBaseGeneration method, CodeTypeReference type, IUnitPort port, CodeExpression initExpression = null)
    Parameters
    Type Name Description
    IMethodBaseGeneration method
    CodeTypeReference type
    IUnitPort port
    CodeExpression initExpression
    Returns
    Type Description
    CodeVariableDeclarationStatement

    ErrorName(IUnitPort)

    Declaration
    public static string ErrorName(this IUnitPort port)
    Parameters
    Type Name Description
    IUnitPort port
    Returns
    Type Description
    String

    GenerateExpression(ValueInput, MethodGeneration)

    Declaration
    public static CodeExpression GenerateExpression(this ValueInput valueInput, MethodGeneration method)
    Parameters
    Type Name Description
    ValueInput valueInput
    MethodGeneration method
    Returns
    Type Description
    CodeExpression

    GenerateExpression(ValueInput, MethodGeneration, HybridType)

    Declaration
    public static CodeExpression GenerateExpression(this ValueInput valueInput, MethodGeneration method, HybridType destinationType)
    Parameters
    Type Name Description
    ValueInput valueInput
    MethodGeneration method
    HybridType destinationType
    Returns
    Type Description
    CodeExpression

    GenerateScopedStatements(ControlOutput, MethodGeneration)

    Declaration
    public static IEnumerable<CodeStatement> GenerateScopedStatements(this ControlOutput controlOutput, MethodGeneration method)
    Parameters
    Type Name Description
    ControlOutput controlOutput
    MethodGeneration method
    Returns
    Type Description
    IEnumerable<CodeStatement>

    GenerateSourceExpression(ValueInput, MethodGeneration)

    Declaration
    public static CodeExpression GenerateSourceExpression(this ValueInput valueInput, MethodGeneration method)
    Parameters
    Type Name Description
    ValueInput valueInput
    MethodGeneration method
    Returns
    Type Description
    CodeExpression

    GenerateStatements(ControlInput, MethodGeneration)

    Declaration
    public static IEnumerable<CodeStatement> GenerateStatements(this ControlInput controlInput, MethodGeneration method)
    Parameters
    Type Name Description
    ControlInput controlInput
    MethodGeneration method
    Returns
    Type Description
    IEnumerable<CodeStatement>

    GenerateStatements(ControlOutput, MethodGeneration)

    Declaration
    public static IEnumerable<CodeStatement> GenerateStatements(this ControlOutput controlOutput, MethodGeneration method)
    Parameters
    Type Name Description
    ControlOutput controlOutput
    MethodGeneration method
    Returns
    Type Description
    IEnumerable<CodeStatement>

    GenerateTargetExpression(MethodGeneration, BoltType, ValueInput)

    Declaration
    public static CodeExpression GenerateTargetExpression(MethodGeneration method, BoltType targetType, ValueInput target)
    Parameters
    Type Name Description
    MethodGeneration method
    BoltType targetType
    ValueInput target
    Returns
    Type Description
    CodeExpression

    GenerateUnconvertedExpression(ValueInput, MethodGeneration)

    Declaration
    public static CodeExpression GenerateUnconvertedExpression(this ValueInput valueInput, MethodGeneration method)
    Parameters
    Type Name Description
    ValueInput valueInput
    MethodGeneration method
    Returns
    Type Description
    CodeExpression

    GenerateValueInputDependencies(IUnitPort, MethodGeneration)

    Declaration
    public static IEnumerable<CodeStatement> GenerateValueInputDependencies(this IUnitPort destination, MethodGeneration method)
    Parameters
    Type Name Description
    IUnitPort destination
    MethodGeneration method
    Returns
    Type Description
    IEnumerable<CodeStatement>

    GetSourceType(ValueInput, MethodGeneration)

    Declaration
    public static HybridType GetSourceType(this ValueInput valueInput, MethodGeneration method)
    Parameters
    Type Name Description
    ValueInput valueInput
    MethodGeneration method
    Returns
    Type Description
    HybridType
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX