docs.unity.cn
    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.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: UnityEngine.Rendering
    Syntax
    public struct ShaderDebugPrintInput

    Properties

    leftDown

    Left mouse button is pressed.

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

    middleDown

    Middle mouse button is pressed.

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

    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 { get; set; }
    Property Value
    Type Description
    Vector2

    rightDown

    Right mouse button is pressed.

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

    Methods

    String()

    Pretty print parameters for debug purposes.

    Declaration
    public string String()
    Returns
    Type Description
    String

    A string containing debug information

    Extension Methods

    AnalyticsUtils.ToNestedColumn<T>(T, Boolean)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, Boolean)
    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023