docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ShaderDebugPrintInput

    Shader constant input parameters.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public struct ShaderDebugPrintInput

    Properties

    leftDown

    Left mouse button is pressed.

    Declaration
    public bool leftDown { readonly get; set; }
    Property Value
    Type Description
    bool

    middleDown

    Middle mouse button is pressed.

    Declaration
    public bool middleDown { readonly get; set; }
    Property Value
    Type Description
    bool

    pos

    Mouse position. GameView bottom-left == (0,0) top-right == (surface.width, surface.height) where surface == game display surface/rendertarget For screen pixel coordinates, game-view should be set to "Free Aspect". Works only in PlayMode.

    Declaration
    public Vector2 pos { readonly get; set; }
    Property Value
    Type Description
    Vector2

    rightDown

    Right mouse button is pressed.

    Declaration
    public bool rightDown { readonly get; set; }
    Property Value
    Type Description
    bool

    Methods

    String()

    Pretty print parameters for debug purposes.

    Declaration
    public string String()
    Returns
    Type Description
    string

    A string containing debug information

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)