KROYSDOCS
HomeWhat's newv0.1.0
PLUGIN SDK / UI / DrawArgs

DrawArgs

Size and timing of a draw callback.

Kindrecord struct
NamespaceKroys.Plugins
Members4
SourceTypes.cs
DECLARATION

Declaration

Namespace Kroys.Plugins, assembly KroysPlugins.Sdk.dll.

Declaration
public readonly record struct DrawArgs(float DeltaSeconds, float Width, float Height)
REFERENCE

Members

Constructors
#public DrawArgs(float DeltaSeconds, float Width, float Height)
Size and timing of a draw callback.
DeltaSeconds
Time since the previous frame.
Width
Content region width in pixels.
Height
Content region height in pixels.
constructor
Properties
#public float DeltaSeconds { get; init; }
Time since the previous frame.
property
#public float Width { get; init; }
Content region width in pixels.
property
#public float Height { get; init; }
Content region height in pixels.
property
Signatures
public DrawArgs(float DeltaSeconds, float Width, float Height)
public float DeltaSeconds { get; init; }
public float Width { get; init; }
public float Height { get; init; }

KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.