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