Struct ShaderDebugPrintInput
Shader constant input parameters.
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 |