PLUGIN SDK / UI / DrawArgs
DrawArgs
Size and timing of a draw callback.
Kindrecord struct
NamespaceKroys.Plugins
Members4
Source
Types.csDECLARATION
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.
Properties
#public float DeltaSeconds { get; init; }Time since the previous frame.
#public float Width { get; init; }Content region width in pixels.
#public float Height { get; init; }Content region height in pixels.
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.