Show / Hide Table of Contents

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.

Inheritance
object
EventArgs
UpdatingEventArgs
Inherited Members
EventArgs.Empty
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: RGB.NET.Core
Assembly: RGB.NET.Core.dll
Syntax
public class UpdatingEventArgs : EventArgs

Constructors

| Edit this page View Source

UpdatingEventArgs(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 Source

CustomData

Gets the custom-data provided by the trigger for this update.

Declaration
public ICustomUpdateData CustomData { get; }
Property Value
Type Description
ICustomUpdateData
| Edit this page View Source

DeltaTime

Gets the elapsed time (in seconds) since the last update.

Declaration
public double DeltaTime { get; }
Property Value
Type Description
double
| Edit this page View Source

Trigger

Gets the trigger causing this update.

Declaration
public IUpdateTrigger? Trigger { get; }
Property Value
Type Description
IUpdateTrigger
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX