Class UpdatingEventArgs
Represents the base class for classes that contain event data, and provides a value to use for events that do not include event data.
Inherited Members
Namespace: RGB.NET.Core
Assembly: RGB.NET.Core.dll
Syntax
public class UpdatingEventArgs : EventArgsConstructors
| Edit this page View SourceUpdatingEventArgs(double, IUpdateTrigger?, ICustomUpdateData)
Initializes a new instance of the UpdatingEventArgs class.
Declaration
public UpdatingEventArgs(double deltaTime, IUpdateTrigger? trigger, ICustomUpdateData customData)Parameters
| Type | Name | Description | 
|---|---|---|
| double | deltaTime | The elapsed time (in seconds) since the last update. | 
| IUpdateTrigger | trigger | The trigger causing this update. | 
| ICustomUpdateData | customData | The custom-data provided by the trigger for this update. | 
Properties
| Edit this page View SourceCustomData
Gets the custom-data provided by the trigger for this update.
Declaration
public ICustomUpdateData CustomData { get; }Property Value
| Type | Description | 
|---|---|
| ICustomUpdateData | 
DeltaTime
Gets the elapsed time (in seconds) since the last update.
Declaration
public double DeltaTime { get; }Property Value
| Type | Description | 
|---|---|
| double | 
Trigger
Gets the trigger causing this update.
Declaration
public IUpdateTrigger? Trigger { get; }Property Value
| Type | Description | 
|---|---|
| IUpdateTrigger |